# Схема: get\_entitlements: outputSchema

Source: <https://telegafirst.com/docs/schema-14cb467b400e2c9692769232511a75aba2ab97f59903acbde8ade66e7a2710aa>
Locale: ru
releaseGitSha: fc570c76ffc9cb87e2462d45b14f5c1b52fbaf0d
sourceContentDigest: b05580ef5e7ccdbed87d467675b3c80644da582f0accc67f4068f85582a0d965
Version: 3

# Схема: get\_entitlements: outputSchema

| Поле | Значение |
| - | - |
| $schema | "<https://json-schema.org/draft/2020-12/schema>" |
| additionalProperties | false |
| properties.addons.items.additionalProperties | false |
| properties.addons.items.properties.expires\_at.anyOf.0.format | "date-time" |
| properties.addons.items.properties.expires\_at.anyOf.0.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.addons.items.properties.expires\_at.anyOf.0.type | "string" |
| properties.addons.items.properties.expires\_at.anyOf.1.type | "null" |
| properties.addons.items.properties.quantity.exclusiveMinimum | 0 |
| properties.addons.items.properties.quantity.maximum | 9007199254740991 |
| properties.addons.items.properties.quantity.type | "integer" |
| properties.addons.items.properties.type.type | "string" |
| properties.addons.items.required | \["type","quantity","expires\_at"] |
| properties.addons.items.type | "object" |
| properties.addons.type | "array" |
| properties.external\_user\_id.maxLength | 128 |
| properties.external\_user\_id.minLength | 1 |
| properties.external\_user\_id.type | "string" |
| properties.grace\_ends\_at.format | "date-time" |
| properties.grace\_ends\_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.grace\_ends\_at.type | "string" |
| properties.product\_id.maximum | 2147483647 |
| properties.product\_id.minimum | 1 |
| properties.product\_id.type | "integer" |
| properties.status.enum | \["trial","active","grace","expired","canceled","none"] |
| properties.status.type | "string" |
| properties.subscription\_ends\_at.format | "date-time" |
| properties.subscription\_ends\_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.subscription\_ends\_at.type | "string" |
| properties.trial\_ends\_at.format | "date-time" |
| properties.trial\_ends\_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.trial\_ends\_at.type | "string" |
| properties.updated\_at.format | "date-time" |
| properties.updated\_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.updated\_at.type | "string" |
| required | \["external\_user\_id","status","addons","updated\_at"] |
| type | "object" |
