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

Source: <https://telegafirst.com/docs/schema-d8445e0bcb48fece5537f716ffea9ba6a96a0acc10dc06cbab2081268501ed28>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: 7fb798ca80a6884eda661584e16fcbbbfaefa73a6441d59bcb87f7e9af7257c8
Version: 2

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

| Поле | Значение |
| - | - |
| additionalProperties | false |
| properties.active\_slug.type | \["string","null"] |
| properties.billing.additionalProperties | false |
| properties.billing.properties.auto\_renew\.type | "boolean" |
| properties.billing.properties.grace\_until.format | "date-time" |
| properties.billing.properties.grace\_until.type | "string" |
| properties.billing.properties.next\_charge\_at.format | "date-time" |
| properties.billing.properties.next\_charge\_at.type | \["string","null"] |
| properties.billing.properties.period\_end.format | "date-time" |
| properties.billing.properties.period\_end.type | \["string","null"] |
| properties.billing.properties.plan.type | "string" |
| properties.billing.properties.status.enum | \["free","trial","active","grace","expired","cancelled"] |
| properties.billing.properties.status.type | "string" |
| properties.billing.properties.trial\_ends\_at.format | "date-time" |
| properties.billing.properties.trial\_ends\_at.type | \["string","null"] |
| properties.billing.properties.trial\_started\_at.format | "date-time" |
| properties.billing.properties.trial\_started\_at.type | \["string","null"] |
| properties.billing.required | \["plan","period\_end","auto\_renew","next\_charge\_at"] |
| properties.billing.type | "object" |
| properties.body.additionalProperties | false |
| properties.body.properties.auto\_renew\.type | "boolean" |
| properties.body.properties.grace\_until.format | "date-time" |
| properties.body.properties.grace\_until.type | "string" |
| properties.body.properties.next\_charge\_at.format | "date-time" |
| properties.body.properties.next\_charge\_at.type | \["string","null"] |
| properties.body.properties.period\_end.format | "date-time" |
| properties.body.properties.period\_end.type | \["string","null"] |
| properties.body.properties.plan.type | "string" |
| properties.body.properties.status.enum | \["free","trial","active","grace","expired","cancelled"] |
| properties.body.properties.status.type | "string" |
| properties.body.properties.trial\_ends\_at.format | "date-time" |
| properties.body.properties.trial\_ends\_at.type | \["string","null"] |
| properties.body.properties.trial\_started\_at.format | "date-time" |
| properties.body.properties.trial\_started\_at.type | \["string","null"] |
| properties.body.required | \["plan","period\_end","auto\_renew","next\_charge\_at"] |
| properties.body.type | "object" |
| properties.journey.additionalProperties | false |
| properties.journey.properties.ai\_preferences.additionalProperties | false |
| properties.journey.properties.ai\_preferences.properties.app.enum | \["claude","chatgpt","codex","claude-code","other"] |
| properties.journey.properties.ai\_preferences.properties.app.type | "string" |
| properties.journey.properties.ai\_preferences.properties.confirmed\_at.format | "date-time" |
| properties.journey.properties.ai\_preferences.properties.confirmed\_at.type | "string" |
| properties.journey.properties.ai\_preferences.properties.device.enum | \["desktop","web","phone"] |
| properties.journey.properties.ai\_preferences.properties.device.type | "string" |
| properties.journey.properties.ai\_preferences.properties.other\_app.maxLength | 80 |
| properties.journey.properties.ai\_preferences.properties.other\_app.minLength | 1 |
| properties.journey.properties.ai\_preferences.properties.other\_app.type | "string" |
| properties.journey.properties.ai\_preferences.properties.questions\_revision.enum | \[1] |
| properties.journey.properties.ai\_preferences.properties.questions\_revision.type | "number" |
| properties.journey.properties.ai\_preferences.properties.subscription.enum | \["paid","free"] |
| properties.journey.properties.ai\_preferences.properties.subscription.type | "string" |
| properties.journey.properties.ai\_preferences.required | \["device","app","subscription","questions\_revision","confirmed\_at"] |
| properties.journey.properties.ai\_preferences.type | \["object","null"] |
| properties.journey.properties.bonus\_state.enum | \["not\_eligible","pending","settled"] |
| properties.journey.properties.bonus\_state.type | "string" |
| properties.journey.properties.completed.type | "boolean" |
| properties.journey.properties.completed\_at.format | "date-time" |
| properties.journey.properties.completed\_at.type | \["string","null"] |
| properties.journey.properties.decisions.additionalProperties | false |
| properties.journey.properties.decisions.properties.first\_payment\_deferred\_at.format | "date-time" |
| properties.journey.properties.decisions.properties.first\_payment\_deferred\_at.type | \["string","null"] |
| properties.journey.properties.decisions.properties.tariff\_deferred\_at.format | "date-time" |
| properties.journey.properties.decisions.properties.tariff\_deferred\_at.type | \["string","null"] |
| properties.journey.properties.decisions.required | \["first\_payment\_deferred\_at","tariff\_deferred\_at"] |
| properties.journey.properties.decisions.type | "object" |
| properties.journey.properties.first\_payment.additionalProperties | false |
| properties.journey.properties.first\_payment.properties.amount.maxLength | 32 |
| properties.journey.properties.first\_payment.properties.amount.pattern | "^\\\d+(?:\\\\.\\\d{1,8})?$" |
| properties.journey.properties.first\_payment.properties.amount.type | "string" |
| properties.journey.properties.first\_payment.properties.currency.maxLength | 16 |
| properties.journey.properties.first\_payment.properties.currency.minLength | 1 |
| properties.journey.properties.first\_payment.properties.currency.type | "string" |
| properties.journey.properties.first\_payment.properties.is\_active.enum | \[true] |
| properties.journey.properties.first\_payment.properties.is\_active.type | "boolean" |
| properties.journey.properties.first\_payment.properties.payload\_hash.pattern | "^\[a-f0-9]{64}$" |
| properties.journey.properties.first\_payment.properties.payload\_hash.type | "string" |
| properties.journey.properties.first\_payment.properties.phase.enum | \["accepted","price\_committed","card\_pending","sent"] |
| properties.journey.properties.first\_payment.properties.phase.type | "string" |
| properties.journey.properties.first\_payment.properties.preparation\_id.maxLength | 128 |
| properties.journey.properties.first\_payment.properties.preparation\_id.minLength | 1 |
| properties.journey.properties.first\_payment.properties.preparation\_id.type | "string" |
| properties.journey.properties.first\_payment.properties.product\_seq\_num.exclusiveMinimum | 0 |
| properties.journey.properties.first\_payment.properties.product\_seq\_num.type | "integer" |
| properties.journey.properties.first\_payment.properties.provider.enum | \["robokassa","yookassa","stars","cryptobot","stripe","paypal","paddle","tinkoff","prodamus"] |
| properties.journey.properties.first\_payment.properties.provider.type | "string" |
| properties.journey.properties.first\_payment.properties.purchase\_zone.enum | \["ru","com"] |
| properties.journey.properties.first\_payment.properties.purchase\_zone.type | "string" |
| properties.journey.properties.first\_payment.properties.title.type | \["string","null"] |
| properties.journey.properties.first\_payment.required | \["phase","product\_seq\_num","title","provider","amount","currency","purchase\_zone","is\_active","preparation\_id","payload\_hash"] |
| properties.journey.properties.first\_payment.type | \["object","null"] |
| properties.journey.properties.infrastructure\_ready.type | "boolean" |
| properties.journey.properties.provider\_readiness.additionalProperties | false |
| properties.journey.properties.provider\_readiness.properties.authentication.enum | \["verified","failed","unknown"] |
| properties.journey.properties.provider\_readiness.properties.authentication.type | "string" |
| properties.journey.properties.provider\_readiness.properties.checked\_at.format | "date-time" |
| properties.journey.properties.provider\_readiness.properties.checked\_at.type | "string" |
| properties.journey.properties.provider\_readiness.properties.checkout\_creation.enum | \["verified","failed","unknown"] |
| properties.journey.properties.provider\_readiness.properties.checkout\_creation.type | "string" |
| properties.journey.properties.provider\_readiness.properties.configuration\_confirmation\_token.pattern | "^\[a-f0-9]{64}$" |
| properties.journey.properties.provider\_readiness.properties.configuration\_confirmation\_token.type | \["string","null"] |
| properties.journey.properties.provider\_readiness.properties.configuration\_fingerprint.pattern | "^\[a-f0-9]{64}$" |
| properties.journey.properties.provider\_readiness.properties.configuration\_fingerprint.type | "string" |
| properties.journey.properties.provider\_readiness.properties.limitations.items.type | "string" |
| properties.journey.properties.provider\_readiness.properties.limitations.type | "array" |
| properties.journey.properties.provider\_readiness.properties.live\_payment.enum | \["verified","failed","unknown"] |
| properties.journey.properties.provider\_readiness.properties.live\_payment.type | "string" |
| properties.journey.properties.provider\_readiness.properties.next\_action.type | \["string","null"] |
| properties.journey.properties.provider\_readiness.properties.production\_environment.enum | \["verified","failed","unknown"] |
| properties.journey.properties.provider\_readiness.properties.production\_environment.type | "string" |
| properties.journey.properties.provider\_readiness.properties.provider.enum | \["robokassa","yookassa","stars","cryptobot","stripe","paypal","paddle","tinkoff","prodamus"] |
| properties.journey.properties.provider\_readiness.properties.provider.type | "string" |
| properties.journey.properties.provider\_readiness.properties.ready.type | "boolean" |
| properties.journey.properties.provider\_readiness.properties.webhook\_configuration.enum | \["verified","failed","unknown"] |
| properties.journey.properties.provider\_readiness.properties.webhook\_configuration.type | "string" |
| properties.journey.properties.provider\_readiness.properties.webhook\_configuration\_assurance.enum | \["provider\_api","signed\_delivery","owner\_attested",null] |
| properties.journey.properties.provider\_readiness.properties.webhook\_configuration\_assurance.type | \["string","null"] |
| properties.journey.properties.provider\_readiness.properties.webhook\_delivery.enum | \["verified","failed","unknown"] |
| properties.journey.properties.provider\_readiness.properties.webhook\_delivery.type | "string" |
| properties.journey.properties.provider\_readiness.required | \["provider","configuration\_fingerprint","checked\_at","ready","authentication","production\_environment","checkout\_creation","webhook\_configuration","webhook\_delivery","live\_payment","limitations","next\_action"] |
| properties.journey.properties.provider\_readiness.type | \["object","null"] |
| properties.journey.properties.revision.enum | \[1] |
| properties.journey.properties.revision.type | "number" |
| properties.journey.properties.rewards.additionalProperties | false |
| properties.journey.properties.rewards.properties.tokens\_granted.minimum | 0 |
| properties.journey.properties.rewards.properties.tokens\_granted.type | "integer" |
| properties.journey.properties.rewards.properties.tokens\_remaining.minimum | 0 |
| properties.journey.properties.rewards.properties.tokens\_remaining.type | "integer" |
| properties.journey.properties.rewards.properties.trial\_days.minimum | 0 |
| properties.journey.properties.rewards.properties.trial\_days.type | "number" |
| properties.journey.properties.rewards.required | \["tokens\_granted","tokens\_remaining","trial\_days"] |
| properties.journey.properties.rewards.type | "object" |
| properties.journey.properties.test\_completed.type | "boolean" |
| properties.journey.properties.test\_required.type | "boolean" |
| properties.journey.required | \["revision","completed","completed\_at","infrastructure\_ready","test\_required","test\_completed","bonus\_state","ai\_preferences","decisions","provider\_readiness"] |
| properties.journey.type | "object" |
| properties.next\_action.additionalProperties | false |
| properties.next\_action.properties.collect.items.additionalProperties | false |
| properties.next\_action.properties.collect.items.properties.field.type | "string" |
| properties.next\_action.properties.collect.items.properties.hint.type | "string" |
| properties.next\_action.properties.collect.items.required | \["field","hint"] |
| properties.next\_action.properties.collect.items.type | "object" |
| properties.next\_action.properties.collect.type | "array" |
| properties.next\_action.properties.execution.additionalProperties | false |
| properties.next\_action.properties.execution.properties.arguments.additionalProperties | {} |
| properties.next\_action.properties.execution.properties.arguments.type | "object" |
| properties.next\_action.properties.execution.properties.business\_slug.type | \["string","null"] |
| properties.next\_action.properties.execution.properties.continue\_with.additionalProperties | false |
| properties.next\_action.properties.execution.properties.continue\_with.properties.arguments.additionalProperties | {} |
| properties.next\_action.properties.execution.properties.continue\_with.properties.arguments.type | "object" |
| properties.next\_action.properties.execution.properties.continue\_with.properties.say\_to\_user.minLength | 1 |
| properties.next\_action.properties.execution.properties.continue\_with.properties.say\_to\_user.type | "string" |
| properties.next\_action.properties.execution.properties.continue\_with.properties.tool.enum | \["get\_onboarding\_state"] |
| properties.next\_action.properties.execution.properties.continue\_with.properties.tool.type | \["string","null"] |
| properties.next\_action.properties.execution.properties.continue\_with.required | \["tool","arguments"] |
| properties.next\_action.properties.execution.properties.continue\_with.type | "object" |
| properties.next\_action.properties.execution.properties.executor.enum | \["agent","owner","server"] |
| properties.next\_action.properties.execution.properties.executor.type | "string" |
| properties.next\_action.properties.execution.properties.prepared\_execute.additionalProperties | false |
| properties.next\_action.properties.execution.properties.prepared\_execute.properties.arguments\_fields.prefixItems.0.enum | \["preparation\_id"] |
| properties.next\_action.properties.execution.properties.prepared\_execute.properties.arguments\_fields.prefixItems.0.type | "string" |
| properties.next\_action.properties.execution.properties.prepared\_execute.properties.arguments\_fields.prefixItems.1.enum | \["payload\_hash"] |
| properties.next\_action.properties.execution.properties.prepared\_execute.properties.arguments\_fields.prefixItems.1.type | "string" |
| properties.next\_action.properties.execution.properties.prepared\_execute.properties.arguments\_fields.type | "array" |
| properties.next\_action.properties.execution.properties.prepared\_execute.properties.requires\_human\_review\.enum | \[true] |
| properties.next\_action.properties.execution.properties.prepared\_execute.properties.requires\_human\_review\.type | "boolean" |
| properties.next\_action.properties.execution.properties.prepared\_execute.properties.tool.enum | \["onboarding\_execute\_first\_payment"] |
| properties.next\_action.properties.execution.properties.prepared\_execute.properties.tool.type | "string" |
| properties.next\_action.properties.execution.properties.prepared\_execute.required | \["tool","requires\_human\_review","arguments\_fields"] |
| properties.next\_action.properties.execution.properties.prepared\_execute.type | "object" |
| properties.next\_action.properties.execution.properties.recovery.additionalProperties | false |
| properties.next\_action.properties.execution.properties.recovery.properties.arguments.additionalProperties | {} |
| properties.next\_action.properties.execution.properties.recovery.properties.arguments.type | "object" |
| properties.next\_action.properties.execution.properties.recovery.properties.say\_to\_user.type | "string" |
| properties.next\_action.properties.execution.properties.recovery.properties.tool.minLength | 1 |
| properties.next\_action.properties.execution.properties.recovery.properties.tool.type | \["string","null"] |
| properties.next\_action.properties.execution.properties.recovery.required | \["tool","arguments","say\_to\_user"] |
| properties.next\_action.properties.execution.properties.recovery.type | \["object","null"] |
| properties.next\_action.properties.execution.properties.requires.items.type | "string" |
| properties.next\_action.properties.execution.properties.requires.type | "array" |
| properties.next\_action.properties.execution.properties.step.minLength | 1 |
| properties.next\_action.properties.execution.properties.step.type | "string" |
| properties.next\_action.properties.execution.properties.success.additionalProperties | false |
| properties.next\_action.properties.execution.properties.success.properties.fact.minLength | 1 |
| properties.next\_action.properties.execution.properties.success.properties.fact.type | "string" |
| properties.next\_action.properties.execution.properties.success.required | \["fact"] |
| properties.next\_action.properties.execution.properties.success.type | "object" |
| properties.next\_action.properties.execution.properties.tool.minLength | 1 |
| properties.next\_action.properties.execution.properties.tool.type | \["string","null"] |
| properties.next\_action.properties.execution.properties.wait.additionalProperties | false |
| properties.next\_action.properties.execution.properties.wait.properties.retry\_after\_seconds.exclusiveMinimum | 0 |
| properties.next\_action.properties.execution.properties.wait.properties.retry\_after\_seconds.type | "integer" |
| properties.next\_action.properties.execution.properties.wait.properties.stop\_when.minLength | 1 |
| properties.next\_action.properties.execution.properties.wait.properties.stop\_when.type | "string" |
| properties.next\_action.properties.execution.properties.wait.required | \["retry\_after\_seconds","stop\_when"] |
| properties.next\_action.properties.execution.properties.wait.type | \["object","null"] |
| properties.next\_action.properties.execution.required | \["business\_slug","step","executor","tool","arguments","requires","success","wait","recovery","continue\_with"] |
| properties.next\_action.properties.execution.type | "object" |
| properties.next\_action.properties.goal.enum | \["address","site","bot","supergroups\_create","supergroups\_admin","supergroups\_confirm","infrastructure","infrastructure\_blocked","infrastructure\_ready","quest\_product\_pending","quest\_product\_ready","quest\_product\_failed","payment\_provider\_alive","payment\_provider\_failed","quest\_product","quest\_purchase","payments","first\_payment","ai\_preferences","finish","completed","tariff","paid","free","address\_new\_business","entry\_choose\_business","entry\_work\_or\_create","infrastructure\_ready\_nth\_bot"] |
| properties.next\_action.properties.goal.type | "string" |
| properties.next\_action.properties.media.additionalProperties | false |
| properties.next\_action.properties.media.properties.kind.enum | \["video","image\_steps"] |
| properties.next\_action.properties.media.properties.kind.type | "string" |
| properties.next\_action.properties.media.properties.url.type | "string" |
| properties.next\_action.properties.media.required | \["kind","url"] |
| properties.next\_action.properties.media.type | "object" |
| properties.next\_action.properties.say\_to\_user.type | "string" |
| properties.next\_action.properties.switch\_to.type | "string" |
| properties.next\_action.properties.wait\_for.additionalProperties | false |
| properties.next\_action.properties.wait\_for.properties.event.type | "string" |
| properties.next\_action.properties.wait\_for.properties.retry\_after\_seconds.minimum | 0 |
| properties.next\_action.properties.wait\_for.properties.retry\_after\_seconds.type | "number" |
| properties.next\_action.properties.wait\_for.required | \["event"] |
| properties.next\_action.properties.wait\_for.type | "object" |
| properties.next\_action.required | \["goal","say\_to\_user","collect"] |
| properties.next\_action.type | "object" |
| properties.owner\_onboardings.items.additionalProperties | false |
| properties.owner\_onboardings.items.properties.slug.type | "string" |
| properties.owner\_onboardings.items.properties.stage.enum | \["address","site","bot","supergroups\_create","supergroups\_admin","supergroups\_confirm","infrastructure","infrastructure\_ready","quest\_1","quest\_2","warmup","quest\_product","quest\_purchase","payments","first\_payment","ai\_preferences","finish","completed","tariff","paid","free"] |
| properties.owner\_onboardings.items.properties.stage.type | "string" |
| properties.owner\_onboardings.items.required | \["slug","stage"] |
| properties.owner\_onboardings.items.type | "object" |
| properties.owner\_onboardings.type | "array" |
| properties.stage.enum | \["address","site","bot","supergroups\_create","supergroups\_admin","supergroups\_confirm","infrastructure","infrastructure\_ready","quest\_1","quest\_2","warmup","quest\_product","quest\_purchase","payments","first\_payment","ai\_preferences","finish","completed","tariff","paid","free"] |
| properties.stage.type | "string" |
| properties.status.enum | \["todo","in\_progress","waiting\_owner","blocked","done"] |
| properties.status.type | "string" |
| properties.tenant.additionalProperties | false |
| properties.tenant.properties.bot\_username.type | \["string","null"] |
| properties.tenant.properties.slug.type | \["string","null"] |
| properties.tenant.required | \["slug","bot\_username"] |
| properties.tenant.type | "object" |
| required | \["active\_slug","tenant","owner\_onboardings","stage","status","next\_action","body"] |
| type | "object" |
