site_update_settingsИзменить настройки сайта
Сохраняет выбранные настройки с проверкой актуальной ревизии.
С изменениямиПримеры промптов
Запрос в чат
Для сайта «Ателье» добавь русский к уже доступным языкам. Сначала прочитай текущий список, сохрани остальные языки и покажи итог.
Что проверить в ответе
Сохраняет выбранные настройки с проверкой актуальной ревизии.
Запрос в чат
Помоги подготовить вызов site_update_settings для задачи «Изменить настройки сайта». Разбери expectedRevision, settings, displayContext и покажи, откуда взять точные значения для выбранного объекта. Остановись на черновике запроса.
Что проверить в ответе
Сверить значения со схемой до вызова.
Запрос в чат
При выполнении «Изменить настройки сайта» связь прервалась после отправки. Для site_update_settings проверь исходный ключ операции и текущее состояние объекта перед решением о повторе.
Что проверить в ответе
Сопоставить результат с исходной операцией.

Как уточнить расплывчатый запрос
Сделай как обычно.
Укажите рабочее пространство, название сайта и что нужно получить.
Для сайта «Ателье» добавь русский к уже доступным языкам. Сначала прочитай текущий список, сохрани остальные языки и покажи итог.
Параметры запроса
siteId- Идентификатор сайта из списка доступных сайтов. строка · обязательно по схеме
expectedRevision- Актуальная ревизия объекта перед изменением. целое число · обязательно по схеме · от 0 · до 9007199254740991
idempotencyKey- Ключ одной операции. При повторе с теми же данными сохраните ключ. строка · обязательно по схеме
settings- по вложенной схеме · обязательно по схеме
displayContext- объект · необязательно
Что вернёт инструмент
site- Карточка сайта с состоянием и ревизией. объект · обязательно по схеме
readiness- объект · обязательно по схеме
Полная схема MCP
Вход
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"siteId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"expectedRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$"
},
"settings": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"shortProductUrls": {
"type": "boolean"
},
"appExperience": {
"type": "object",
"properties": {
"enabled": {
"default": false,
"type": "boolean"
},
"platforms": {
"default": [
"ios",
"android"
],
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"ios",
"android"
]
}
},
"minimumBridgeVersion": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"safeArea": {
"default": true,
"type": "boolean"
},
"languageSource": {
"default": "native",
"type": "string",
"enum": [
"native",
"site"
]
},
"brandingSource": {
"default": "company",
"type": "string",
"enum": [
"company",
"site"
]
},
"paymentResult": {
"default": "custom-with-native-fallback",
"type": "string",
"enum": [
"native",
"custom-with-native-fallback"
]
}
},
"required": [
"enabled",
"platforms",
"minimumBridgeVersion",
"safeArea",
"languageSource",
"brandingSource",
"paymentResult"
],
"additionalProperties": false
},
"displayExperiences": {
"type": "object",
"properties": {
"shared": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
},
"web": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
},
"app": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
},
"ios": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
},
"android": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"presentation": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
},
"showcaseEnabled": {
"type": "boolean"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"purpose": {
"type": "string",
"enum": [
"storefront",
"website"
]
},
"catalogVisibility": {
"type": "object",
"properties": {
"allPublic": {
"default": false,
"type": "boolean"
},
"productIds": {
"default": [],
"maxItems": 1000,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"categoryIds": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"establishmentIds": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"orderTypes": {
"default": [],
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"maxLength": 80
}
},
"checkoutMethods": {
"default": [],
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
}
},
"required": [
"allPublic",
"productIds",
"categoryIds",
"establishmentIds",
"orderTypes",
"checkoutMethods"
],
"additionalProperties": false
},
"capabilities": {
"type": "object",
"properties": {
"catalog": {
"default": true,
"type": "boolean"
},
"leads": {
"default": false,
"type": "boolean"
},
"checkout": {
"default": false,
"type": "boolean"
},
"bookings": {
"default": false,
"type": "boolean"
},
"buyerAuth": {
"default": false,
"type": "boolean"
}
},
"required": [
"catalog",
"leads",
"checkout",
"bookings",
"buyerAuth"
],
"additionalProperties": false
},
"business": {
"type": "object",
"properties": {
"establishmentId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"bookingEmployeeIds": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"bookingTableIds": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"bookingProductIds": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"currencyCodeOverrides": {
"default": {},
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"pattern": "^[A-Z]{3}$"
}
},
"bookingDeposit": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"const": "fixed_per_visit"
},
"amount": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100000
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
}
},
"required": [
"mode",
"amount",
"currency"
],
"additionalProperties": false
},
"customerContactRequired": {
"default": false,
"type": "boolean"
},
"serviceAddressRequired": {
"type": "boolean"
},
"identityVerificationRequired": {
"default": false,
"type": "boolean"
}
},
"required": [
"establishmentId",
"bookingEmployeeIds",
"bookingTableIds",
"bookingProductIds",
"currencyCodeOverrides",
"customerContactRequired",
"identityVerificationRequired"
],
"additionalProperties": false
},
"tableBooking": {
"type": "object",
"properties": {
"tableIds": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
}
},
"required": [
"tableIds"
],
"additionalProperties": false
},
"siteLanguages": {
"maxItems": 12,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
}
},
"publicProductFieldIds": {
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"catalogImageOverrides": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"additionalProperties": {
"type": "string",
"maxLength": 2048,
"format": "uri"
}
},
"analytics": {
"type": "object",
"properties": {
"enabled": {
"default": false,
"type": "boolean"
},
"provider": {
"default": "gtag",
"type": "string",
"enum": [
"gtag",
"dataLayer"
]
}
},
"required": [
"enabled",
"provider"
],
"additionalProperties": false
},
"search": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"actionProtection": {
"type": "object",
"propertyNames": {
"type": "string",
"enum": [
"checkout",
"checkout_quote",
"checkout_session",
"booking",
"booking_quote",
"lead",
"login",
"signup",
"password_reset",
"qr_link",
"promo_validation"
]
},
"additionalProperties": {
"type": "object",
"properties": {
"sitePerMinute": {
"type": "integer",
"minimum": 1,
"maximum": 10000
},
"ipPerMinute": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"visitorPerMinute": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"userPerMinute": {
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"additionalProperties": false
}
},
"mediaUploadLimits": {
"type": "object",
"properties": {
"image": {
"type": "integer",
"minimum": 1048576,
"maximum": 134217728
},
"video": {
"type": "integer",
"minimum": 1048576,
"maximum": 134217728
},
"document": {
"type": "integer",
"minimum": 1048576,
"maximum": 134217728
},
"other": {
"type": "integer",
"minimum": 1048576,
"maximum": 134217728
},
"text": {
"type": "integer",
"minimum": 1024,
"maximum": 8388608
},
"sourceArchive": {
"type": "integer",
"minimum": 1048576,
"maximum": 104857600
}
},
"additionalProperties": false
},
"paymentWidget": {
"type": "object",
"properties": {
"colors": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"surface": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"text": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accentText": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"error": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"success": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
}
},
"additionalProperties": false
},
"radius": {
"type": "integer",
"minimum": 0,
"maximum": 32
},
"borderWidth": {
"type": "integer",
"minimum": 1,
"maximum": 3
},
"font": {
"type": "string",
"enum": [
"system",
"sans",
"serif"
]
},
"density": {
"type": "string",
"enum": [
"comfortable",
"compact"
]
},
"copy": {
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 100
},
"subtitle": {
"type": "string",
"maxLength": 240
},
"note": {
"type": "string",
"maxLength": 500
},
"commentLabel": {
"type": "string",
"maxLength": 100
},
"submitLabel": {
"type": "string",
"maxLength": 100
}
},
"additionalProperties": false
},
"showComment": {
"type": "boolean"
},
"terminal": {
"type": "object",
"properties": {
"enabled": {
"default": true,
"type": "boolean"
},
"activeTheme": {
"default": "sabsus",
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,39}$"
},
"themes": {
"default": {},
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,39}$"
},
"additionalProperties": {
"type": "object",
"properties": {
"preset": {
"default": "sabsus",
"type": "string",
"enum": [
"sabsus",
"neutral"
]
},
"mode": {
"default": "auto",
"type": "string",
"enum": [
"auto",
"light",
"dark"
]
},
"cornerRadius": {
"default": 28,
"type": "integer",
"minimum": 12,
"maximum": 32
},
"light": {
"default": {},
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"surface": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"text": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
}
},
"additionalProperties": false
},
"dark": {
"default": {},
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"surface": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"text": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
}
},
"additionalProperties": false
}
},
"required": [
"preset",
"mode",
"cornerRadius",
"light",
"dark"
],
"additionalProperties": false
}
},
"assignments": {
"default": {},
"type": "object",
"properties": {
"squareReader": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,39}$"
},
"squareTapToPay": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,39}$"
},
"stripeReader": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,39}$"
},
"stripeTapToPay": {
"type": "string",
"pattern": "^[a-z][a-z0-9_-]{0,39}$"
}
},
"additionalProperties": false
}
},
"required": [
"enabled",
"activeTheme",
"themes",
"assignments"
],
"additionalProperties": false
}
},
"additionalProperties": false
},
"trainingCrawlers": {
"type": "boolean"
},
"searchCrawlers": {
"type": "boolean"
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"ticketDelivery": {
"anyOf": [
{
"type": "object",
"properties": {
"feature": {
"type": "string",
"const": "wallet"
},
"enabled": {
"type": "boolean"
},
"expectedFeatureRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"feature",
"enabled",
"expectedFeatureRevision"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"feature": {
"type": "string",
"const": "email"
},
"enabled": {
"type": "boolean",
"const": true
},
"expectedFeatureRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"flowId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"entryId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"ticketPath": {
"type": "string",
"maxLength": 180,
"pattern": "^\\/(?:[a-zA-Z0-9_-]+\\/?)*$"
}
},
"required": [
"feature",
"enabled",
"expectedFeatureRevision",
"flowId",
"entryId",
"ticketPath"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"feature": {
"type": "string",
"const": "email"
},
"enabled": {
"type": "boolean",
"const": false
},
"expectedFeatureRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"feature",
"enabled",
"expectedFeatureRevision"
],
"additionalProperties": false
}
]
}
},
"required": [
"ticketDelivery"
],
"additionalProperties": false
}
]
},
{
"type": "object",
"properties": {
"productRoute": {
"type": "object",
"properties": {
"productId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"language": {
"type": "string",
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
},
"previousSlug": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "Current decoded final segment of item.url."
},
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 96,
"pattern": "^[\\p{L}\\p{N}]+(?:-[\\p{L}\\p{N}]+)*$"
}
},
"required": [
"productId",
"language",
"previousSlug",
"slug"
],
"additionalProperties": false
}
},
"required": [
"productRoute"
],
"additionalProperties": false
}
]
},
"displayContext": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"shared",
"web",
"app"
]
},
"platform": {
"type": "string",
"enum": [
"ios",
"android"
]
}
},
"required": [
"mode"
],
"additionalProperties": false
}
},
"required": [
"siteId",
"expectedRevision",
"idempotencyKey",
"settings"
],
"additionalProperties": false
}Ответ
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"site": {
"type": "object",
"properties": {
"shortProductUrls": {
"type": "boolean"
},
"webVoiceEnabled": {
"type": "boolean"
},
"contentRevision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"catalogReadSource": {
"type": "string",
"enum": [
"native",
"snapshot"
]
},
"appExperience": {
"type": "object",
"properties": {
"enabled": {
"default": false,
"type": "boolean"
},
"platforms": {
"default": [
"ios",
"android"
],
"minItems": 1,
"maxItems": 2,
"type": "array",
"items": {
"type": "string",
"enum": [
"ios",
"android"
]
}
},
"minimumBridgeVersion": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"safeArea": {
"default": true,
"type": "boolean"
},
"languageSource": {
"default": "native",
"type": "string",
"enum": [
"native",
"site"
]
},
"brandingSource": {
"default": "company",
"type": "string",
"enum": [
"company",
"site"
]
},
"paymentResult": {
"default": "custom-with-native-fallback",
"type": "string",
"enum": [
"native",
"custom-with-native-fallback"
]
}
},
"required": [
"enabled",
"platforms",
"minimumBridgeVersion",
"safeArea",
"languageSource",
"brandingSource",
"paymentResult"
],
"additionalProperties": false
},
"displayExperiences": {
"type": "object",
"properties": {
"shared": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
},
"web": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
},
"app": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
},
"ios": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
},
"android": {
"type": "object",
"properties": {
"themeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"navigation": {
"type": "string",
"enum": [
"full",
"compact"
]
},
"styles": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.css$"
}
},
"scripts": {
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"pattern": "^assets\\/[A-Za-z0-9_./-]+\\.js$"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"showcaseEnabled": {
"type": "boolean"
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"companyId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"name": {
"type": "string"
},
"tariffId": {
"type": "string"
},
"systemHostname": {
"type": "string"
},
"purpose": {
"type": "string",
"enum": [
"storefront",
"website"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"active",
"disabled"
]
},
"draftVersionId": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
{
"type": "null"
}
]
},
"publishedVersionId": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
{
"type": "null"
}
]
},
"primaryDomainId": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
{
"type": "null"
}
]
},
"revision": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"cacheEpoch": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"lastCachePurge": {
"$ref": "#/$defs/__schema0"
},
"actionProtection": {
"$ref": "#/$defs/__schema1"
},
"mediaUploadLimits": {
"$ref": "#/$defs/__schema2"
},
"catalogVisibility": {
"$ref": "#/$defs/__schema3"
},
"capabilities": {
"$ref": "#/$defs/__schema4"
},
"business": {
"$ref": "#/$defs/__schema5"
},
"siteLanguages": {
"type": "array",
"items": {
"type": "string"
}
},
"publicProductFieldIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"catalogImageOverrides": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"additionalProperties": {
"type": "string",
"format": "uri"
}
},
"analytics": {
"$ref": "#/$defs/__schema6"
},
"tagManager": {
"anyOf": [
{
"$ref": "#/$defs/__schema7"
},
{
"type": "null"
}
]
},
"search": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
}
},
"required": [
"enabled"
],
"additionalProperties": false
},
"paymentWidget": {
"$ref": "#/$defs/__schema8"
},
"redirects": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"code": {
"anyOf": [
{
"type": "number",
"const": 301
},
{
"type": "number",
"const": 308
}
]
}
},
"required": [
"to",
"code"
],
"additionalProperties": false
}
},
"archivedAt": {
"type": [
"number",
"null"
]
},
"archivedBy": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
{
"type": "null"
}
]
},
"formIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"createdAt": {
"type": "number"
},
"createdBy": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
},
"updatedAt": {
"type": "number"
},
"searchCrawlers": {
"type": "boolean"
},
"trainingCrawlers": {
"type": "boolean"
},
"testMode": {
"type": "boolean"
}
},
"required": [
"id",
"companyId",
"name",
"status",
"draftVersionId",
"publishedVersionId",
"primaryDomainId",
"revision",
"catalogVisibility",
"capabilities",
"formIds",
"createdAt",
"createdBy",
"updatedAt",
"searchCrawlers",
"trainingCrawlers",
"testMode"
],
"additionalProperties": false
},
"readiness": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema9"
}
}
},
"required": [
"site",
"readiness"
],
"additionalProperties": false,
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema0"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
}
}
]
},
"__schema1": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema1"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema1"
}
}
]
},
"__schema2": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema2"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema2"
}
}
]
},
"__schema3": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema3"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema3"
}
}
]
},
"__schema4": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema4"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema4"
}
}
]
},
"__schema5": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema5"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema5"
}
}
]
},
"__schema6": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema6"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema6"
}
}
]
},
"__schema7": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema7"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema7"
}
}
]
},
"__schema8": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema8"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema8"
}
}
]
},
"__schema9": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/__schema9"
}
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema9"
}
}
]
}
}
}Открыть JSON карточки