# Схема: get\_session\_status: outputSchema

Source: <https://telegafirst.com/docs/schema-7b538f48fe0bc0192d5da3e989614d640a5cb81b1cf43f31dd8da10f6d6e0f40>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: ae842d26b12a53a59e0ed59c99faf212416c3e703b0f53321d23b2316bf315ae
Version: 3

# Схема: get\_session\_status: outputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.approval\_code.maxLength | 64 |
| properties.approval\_code.minLength | 1 |
| properties.approval\_code.type | "string" |
| 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.session\_id.maxLength | 64 |
| properties.session\_id.minLength | 1 |
| properties.session\_id.type | "string" |
| properties.state.enum | \["pending","approved","denied","expired"] |
| properties.state.type | "string" |
| properties.user.anyOf.0.additionalProperties | false |
| properties.user.anyOf.0.properties.id.maximum | 2147483647 |
| properties.user.anyOf.0.properties.id.minimum | 1 |
| properties.user.anyOf.0.properties.id.type | "integer" |
| properties.user.anyOf.0.required | \["id"] |
| properties.user.anyOf.0.type | "object" |
| properties.user.anyOf.1.type | "null" |
| required | \["session\_id","state","expires\_at"] |
| type | "object" |
