# Схема: media\_request\_upload: outputSchema

Source: <https://telegafirst.com/docs/schema-bcb62890d405cdbae57c757ac9b95cb83f9ce1ffb2abb6296976a04d0ef5cdc4>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: b74241c467d2297ea81387541dc30c7a2c2dd6741479c25b3d656b585ef6e0f7
Version: 3

# Схема: media\_request\_upload: outputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.expires\_at.format | "date-time" |
| properties.expires\_at.pattern | "^(?:(?:\\\d\\\d\[2468]\[048]\|\\\d\\\d\[13579]\[26]\|\\\d\\\d0\[48]\|\[02468]\[048]00\|\[13579]\[26]00)-02-29\|\\\d{4}-(?:(?:0\[13578]\|1\[02])-(?:0\[1-9]\|\[12]\\\d\|3\[01])\|(?:0\[469]\|11)-(?:0\[1-9]\|\[12]\\\d\|30)\|(?:02)-(?:0\[1-9]\|1\\\d\|2\[0-8])))T(?:(?:\[01]\\\d\|2\[0-3]):\[0-5]\\\d:\[0-5]\\\d(?:\\\\.\\\d+)?(?:Z))$" |
| properties.expires\_at.type | "string" |
| properties.upload\_id.maxLength | 128 |
| properties.upload\_id.minLength | 16 |
| properties.upload\_id.type | "string" |
| properties.uploads.items.additionalProperties | false |
| properties.uploads.items.properties.curl.description | "The write-once PUT as a shell command; replace FILE\_PATH with the file's local path." |
| properties.uploads.items.properties.curl.type | "string" |
| properties.uploads.items.properties.kind.enum | \["photo","video","document"] |
| properties.uploads.items.properties.kind.type | "string" |
| properties.uploads.items.properties.put\_url.format | "uri" |
| properties.uploads.items.properties.put\_url.type | "string" |
| properties.uploads.items.properties.ref.minLength | 1 |
| properties.uploads.items.properties.ref.type | "string" |
| properties.uploads.items.properties.required\_headers.additionalProperties.type | "string" |
| properties.uploads.items.properties.required\_headers.propertyNames.type | "string" |
| properties.uploads.items.properties.required\_headers.type | "object" |
| properties.uploads.items.required | \["ref","put\_url","kind","required\_headers","curl"] |
| properties.uploads.items.type | "object" |
| properties.uploads.maxItems | 10 |
| properties.uploads.minItems | 1 |
| properties.uploads.type | "array" |
| required | \["upload\_id","uploads","expires\_at"] |
| type | "object" |
