# Схема: content.application/json.schema

Source: <https://telegafirst.com/docs/schema-3c5cbcfde18e3b0ac55d4e27424ab9fe05d2effaa4c1a5c16be779e47cc51e3d>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: f02b0f9a96e17286ac8c50e428aa38c6e591625e1b48668b8d229041435d8a69
Version: 2

# Схема: content.application/json.schema

| Поле | Значение |
| - | - |
| additionalProperties | false |
| properties.files.description | "Files the AI host attached: a download\_url and a file\_id each. ChatGPT fills this itself." |
| properties.files.items.additionalProperties | false |
| properties.files.items.properties.download\_url.format | "uri" |
| properties.files.items.properties.download\_url.maxLength | 8192 |
| properties.files.items.properties.download\_url.type | "string" |
| properties.files.items.properties.file\_id.maxLength | 1024 |
| properties.files.items.properties.file\_id.minLength | 1 |
| properties.files.items.properties.file\_id.type | "string" |
| properties.files.items.properties.file\_name.maxLength | 1024 |
| properties.files.items.properties.file\_name.minLength | 1 |
| properties.files.items.properties.file\_name.type | "string" |
| properties.files.items.properties.media\_kind.enum | \["voice","audio","video\_note"] |
| properties.files.items.properties.media\_kind.type | "string" |
| properties.files.items.properties.mime\_type.maxLength | 255 |
| properties.files.items.properties.mime\_type.minLength | 1 |
| properties.files.items.properties.mime\_type.type | "string" |
| properties.files.items.required | \["download\_url","file\_id"] |
| properties.files.items.type | "object" |
| properties.files.maxItems | 10 |
| properties.files.type | "array" |
| properties.idempotency\_key.maxLength | 256 |
| properties.idempotency\_key.minLength | 1 |
| properties.idempotency\_key.type | "string" |
| properties.sources.description | "HTTPS addresses of files on the business site or an allowed file host. Up to 10 files and sources together." |
| properties.sources.items.additionalProperties | false |
| properties.sources.items.properties.file\_name.maxLength | 1024 |
| properties.sources.items.properties.file\_name.minLength | 1 |
| properties.sources.items.properties.file\_name.type | "string" |
| properties.sources.items.properties.media\_kind.enum | \["voice","audio","video\_note"] |
| properties.sources.items.properties.media\_kind.type | "string" |
| properties.sources.items.properties.mime\_type.maxLength | 255 |
| properties.sources.items.properties.mime\_type.minLength | 1 |
| properties.sources.items.properties.mime\_type.type | "string" |
| properties.sources.items.properties.url.format | "uri" |
| properties.sources.items.properties.url.maxLength | 8192 |
| properties.sources.items.properties.url.type | "string" |
| properties.sources.items.required | \["url"] |
| properties.sources.items.type | "object" |
| properties.sources.maxItems | 10 |
| properties.sources.type | "array" |
| required | \["idempotency\_key"] |
| type | "object" |
