2017-07-31 13:57:08 +00:00
|
|
|
type: object
|
|
|
|
required:
|
|
|
|
- id
|
|
|
|
- filename
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
description: Идентификатор файла
|
|
|
|
type: string
|
|
|
|
maxLength: 40
|
2017-11-01 13:11:48 +00:00
|
|
|
minLength: 1
|
2017-07-31 13:57:08 +00:00
|
|
|
filename:
|
|
|
|
description: Имя файла
|
|
|
|
type: string
|
2018-09-24 14:02:20 +00:00
|
|
|
maxLength: 1000
|
2017-11-01 13:11:48 +00:00
|
|
|
minLength: 1
|
2017-07-31 13:57:08 +00:00
|
|
|
signatures:
|
|
|
|
type: object
|
|
|
|
description: Сигнатуры файла
|
|
|
|
required:
|
|
|
|
- md5
|
|
|
|
- sha256
|
|
|
|
properties:
|
|
|
|
md5:
|
|
|
|
description: MD5 содержимого файла
|
|
|
|
type: string
|
|
|
|
maxLength: 32
|
2017-11-01 13:11:48 +00:00
|
|
|
minLength: 32
|
2017-07-31 13:57:08 +00:00
|
|
|
sha256:
|
|
|
|
description: SHA256 содержимого файла
|
|
|
|
type: string
|
|
|
|
maxLength: 64
|
2017-11-01 13:11:48 +00:00
|
|
|
minLength: 64
|