MCP Control
Обзор  ›  CRM
CRM · Чтение

Клиенты · Предложения · Просмотр · Операция

customer_offers_get_operation
Контактные карточки и телефон

Попробуйте три запроса

Получить данные
  1. Вы указываетеОбъект
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Клиенты / Предложения / Просмотр / Операция» выполни чтение в текущей компании. Выведи кратко: статус, результат.
Что искать в ответе
status
Статус
result
Результат
Задать параметры
  1. Вы указываетеЗадача
  2. ПомощникСхема входа
  3. Вы получаетеУсловия чтения
Запрос в чат
Покажи, как получить «Клиенты / Предложения / Просмотр / Операция» на учебном примере с operation = create. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
operation
create
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Клиенты / Предложения / Просмотр / Операция» объясни статус, результат. Отметь отсутствующие значения.
Поля для проверки
status
Статус
result
Результат
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании.

Описание разработчика

Recover an original personal offer write without replay. Current company customer and protected Position/MCP permissions are rechecked. If no receipt exists, only retry the exact original requestId and arguments; never create a fresh request to bypass uncertainty.

Параметры запроса
operation
Выберите вариант операции из контракта. обязательно по схеме · string · варианты create, update, delete
input
Exact original mutation arguments, including requestId and expectedRevision where supplied. обязательно по схеме · object / object / object
Что вернёт команда
status
Whether the atomic personal offer receipt exists. An absent receipt may still be pending. обязательно по схеме · string · варианты committed, not_committed
result
Original committed result, or null if no business receipt was found. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа customer_offers_get_operation
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "enum": [
        "create",
        "update",
        "delete"
      ],
      "description": "Original personal offer mutation to recover."
    },
    "input": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "customerId": {
              "$ref": "#/$defs/_mcp0"
            },
            "requestId": {
              "$ref": "#/$defs/_mcp1"
            },
            "offer": {
              "type": "object",
              "properties": {
                "type": {
                  "$ref": "#/$defs/_mcp2"
                },
                "productId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160,
                  "pattern": "^[A-Za-z0-9_~:@+.-]+$",
                  "description": "Exactly one existing company product; it cannot be changed after offer creation."
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160,
                  "description": "Human readable offer title."
                },
                "status": {
                  "default": "active",
                  "type": "string",
                  "enum": [
                    "active",
                    "inactive",
                    "expired",
                    "used"
                  ],
                  "description": "Stored lifecycle status. Only active can apply; dates, usage count and remaining quantity are checked separately."
                },
                "itemId": {
                  "default": "",
                  "type": "string",
                  "maxLength": 160,
                  "pattern": "^[A-Za-z0-9_~:@+.-]*$",
                  "description": "Exact optional native item or variant ID; empty means the whole product. It cannot be changed after creation."
                },
                "establishment": {
                  "default": "",
                  "type": "string",
                  "maxLength": 160,
                  "pattern": "^[A-Za-z0-9_~:@+.-]*$",
                  "description": "Existing company establishment restriction; empty means all allowed company locations."
                },
                "description": {
                  "default": "",
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Offer description for CRM and sales UI."
                },
                "price": {
                  "default": null,
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Fixed personal unit price or fallback below the first priceConditions tier; null uses normal price."
                },
                "discountPercent": {
                  "default": null,
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Percent from 0 to 100; 20 means 20%, never 0.2 interpreted as 20%."
                },
                "discountAmount": {
                  "default": null,
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Currency amount subtracted from the normal unit price, never below zero."
                },
                "priceConditions": {
                  "default": [],
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/_mcp4"
                  },
                  "description": "Unordered quantity price tiers. Select greatest from <= requested quantity; below all tiers use price or normal price."
                },
                "startAt": {
                  "default": null,
                  "anyOf": [
                    {
                      "$ref": "#/$defs/_mcp5"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Inclusive beginning of validity; null means no lower date bound."
                },
                "endAt": {
                  "default": null,
                  "anyOf": [
                    {
                      "$ref": "#/$defs/_mcp5"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Inclusive end of validity; null means no upper date bound."
                },
                "usageLimit": {
                  "default": null,
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Positive maximum number of confirmed uses; zero or null means unlimited."
                },
                "orderTypes": {
                  "default": [],
                  "maxItems": 4,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "atplace",
                      "pickup",
                      "delivery",
                      "catering"
                    ]
                  },
                  "description": "Native order types: atplace, pickup, delivery, catering. Empty allows every type."
                },
                "autoApply": {
                  "default": false,
                  "type": "boolean",
                  "description": "True permits automatic selection when otherwise eligible; false requires explicit selection."
                },
                "quantity": {
                  "default": null,
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Total eligible units; positive value is capped, zero or null means unlimited."
                },
                "promocode": {
                  "default": "",
                  "type": "string",
                  "maxLength": 100,
                  "description": "Optional personal activation code. It is a condition, not an offer type; trim and compare case-insensitively for this customer only."
                }
              },
              "required": [
                "type",
                "productId",
                "title",
                "status",
                "itemId",
                "establishment",
                "description",
                "price",
                "discountPercent",
                "discountAmount",
                "priceConditions",
                "startAt",
                "endAt",
                "usageLimit",
                "orderTypes",
                "autoApply",
                "quantity",
                "promocode"
              ],
              "additionalProperties": false,
              "description": "Flat personal offer fields. Server assigns id, usageCount=0, remainingQuantity, createdAt, createdBy and updatedAt. One product/item pair may not have overlapping validity periods."
            }
          },
          "required": [
            "customerId",
            "requestId",
            "offer"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "customerId": {
              "$ref": "#/$defs/_mcp0"
            },
            "offerId": {
              "$ref": "#/$defs/_mcp6"
            },
            "expectedRevision": {
              "$ref": "#/$defs/_mcp7"
            },
            "requestId": {
              "$ref": "#/$defs/_mcp1"
            },
            "patch": {
              "type": "object",
              "properties": {
                "type": {
                  "$ref": "#/$defs/_mcp2"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "inactive",
                    "expired",
                    "used"
                  ],
                  "description": "Stored lifecycle status. Only active can apply; dates, usage count and remaining quantity are checked separately."
                },
                "establishment": {
                  "type": "string",
                  "maxLength": 160,
                  "pattern": "^[A-Za-z0-9_~:@+.-]*$",
                  "description": "Existing company establishment restriction; empty means all allowed company locations."
                },
                "title": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160,
                  "description": "Human readable offer title."
                },
                "description": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Offer description for CRM and sales UI."
                },
                "price": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Fixed personal unit price or fallback below the first priceConditions tier; null uses normal price."
                },
                "discountPercent": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Percent from 0 to 100; 20 means 20%, never 0.2 interpreted as 20%."
                },
                "discountAmount": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Currency amount subtracted from the normal unit price, never below zero."
                },
                "priceConditions": {
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/_mcp4"
                  },
                  "description": "Unordered quantity price tiers. Select greatest from <= requested quantity; below all tiers use price or normal price."
                },
                "startAt": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/_mcp5"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Inclusive beginning of validity; null means no lower date bound."
                },
                "endAt": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/_mcp5"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Inclusive end of validity; null means no upper date bound."
                },
                "usageLimit": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Positive maximum number of confirmed uses; zero or null means unlimited."
                },
                "orderTypes": {
                  "maxItems": 4,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "atplace",
                      "pickup",
                      "delivery",
                      "catering"
                    ]
                  },
                  "description": "Native order types: atplace, pickup, delivery, catering. Empty allows every type."
                },
                "autoApply": {
                  "type": "boolean",
                  "description": "True permits automatic selection when otherwise eligible; false requires explicit selection."
                },
                "quantity": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Total eligible units; positive value is capped, zero or null means unlimited."
                },
                "promocode": {
                  "type": "string",
                  "maxLength": 100,
                  "description": "Optional personal activation code. It is a condition, not an offer type; trim and compare case-insensitively for this customer only."
                }
              },
              "additionalProperties": false,
              "description": "Only supplied fields change. Product/item and server-owned counters, identity and audit fields are immutable. Changing quantity preserves units already consumed."
            }
          },
          "required": [
            "customerId",
            "offerId",
            "expectedRevision",
            "requestId",
            "patch"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "customerId": {
              "$ref": "#/$defs/_mcp0"
            },
            "offerId": {
              "$ref": "#/$defs/_mcp6"
            },
            "expectedRevision": {
              "$ref": "#/$defs/_mcp7"
            },
            "requestId": {
              "$ref": "#/$defs/_mcp1"
            }
          },
          "required": [
            "customerId",
            "offerId",
            "expectedRevision",
            "requestId"
          ],
          "additionalProperties": false
        }
      ],
      "description": "Exact original mutation arguments, including requestId and expectedRevision where supplied."
    }
  },
  "required": [
    "operation",
    "input"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Existing users document ID. The server verifies its company and allowed location."
    },
    "_mcp1": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Stable ID for exactly this mutation and arguments. Retry the same request after uncertainty."
    },
    "_mcp2": {
      "type": "string",
      "enum": [
        "price",
        "discount_percent",
        "discount_amount",
        "free_product",
        "quantity_price"
      ],
      "description": "price: fixed unit price; discount_percent: 20 means 20%; discount_amount: subtract currency amount; free_product: free eligible units; quantity_price: tiered unit price."
    },
    "_mcp4": {
      "type": "object",
      "properties": {
        "from": {
          "$ref": "#/$defs/_mcp3"
        },
        "value": {
          "type": "number",
          "minimum": 0,
          "description": "Personal price per unit at or above from."
        }
      },
      "required": [
        "from",
        "value"
      ],
      "additionalProperties": false
    },
    "_mcp5": {
      "type": "string",
      "format": "date-time",
      "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "_mcp6": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Exact users/{customerId}/offers document ID returned by a create or list action."
    },
    "_mcp7": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact Firestore update revision returned by customer_offers_get or list; concurrent edits conflict."
    },
    "_mcp3": {
      "type": "number",
      "minimum": 0,
      "description": "Minimum requested product quantity at which this unit price applies, including zero for every positive order quantity."
    }
  }
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "committed",
        "not_committed"
      ],
      "description": "Whether the atomic personal offer receipt exists. An absent receipt may still be pending."
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "customerId": {
              "$ref": "#/$defs/_mcp0"
            },
            "offerId": {
              "$ref": "#/$defs/_mcp1"
            },
            "operation": {
              "type": "string",
              "enum": [
                "create",
                "update",
                "delete"
              ],
              "description": "Committed mutation kind."
            },
            "offer": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "customerId": {
                      "$ref": "#/$defs/_mcp0"
                    },
                    "id": {
                      "$ref": "#/$defs/_mcp1"
                    },
                    "revision": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
                          "description": "Exact Firestore update revision returned by customer_offers_get or list; concurrent edits conflict."
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Current document revision on a read; null in atomic mutation receipt until a fresh read."
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "price",
                        "discount_percent",
                        "discount_amount",
                        "free_product",
                        "quantity_price"
                      ],
                      "description": "price: fixed unit price; discount_percent: 20 means 20%; discount_amount: subtract currency amount; free_product: free eligible units; quantity_price: tiered unit price."
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "active",
                        "inactive",
                        "expired",
                        "used"
                      ],
                      "description": "Stored lifecycle status. Only active can apply; dates, usage count and remaining quantity are checked separately."
                    },
                    "productId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160,
                      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
                      "description": "Exactly one existing company product; it cannot be changed after offer creation."
                    },
                    "itemId": {
                      "type": "string",
                      "maxLength": 160,
                      "pattern": "^[A-Za-z0-9_~:@+.-]*$",
                      "description": "Exact optional native item or variant ID; empty means the whole product. It cannot be changed after creation."
                    },
                    "establishment": {
                      "type": "string",
                      "maxLength": 160,
                      "pattern": "^[A-Za-z0-9_~:@+.-]*$",
                      "description": "Existing company establishment restriction; empty means all allowed company locations."
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160,
                      "description": "Human readable offer title."
                    },
                    "description": {
                      "type": "string",
                      "maxLength": 2000,
                      "description": "Offer description for CRM and sales UI."
                    },
                    "price": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Fixed personal unit price or fallback below the first priceConditions tier; null uses normal price."
                    },
                    "discountPercent": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Percent from 0 to 100; 20 means 20%, never 0.2 interpreted as 20%."
                    },
                    "discountAmount": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Currency amount subtracted from the normal unit price, never below zero."
                    },
                    "priceConditions": {
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "from": {
                            "type": "number",
                            "minimum": 0,
                            "description": "Minimum requested product quantity at which this unit price applies, including zero for every positive order quantity."
                          },
                          "value": {
                            "type": "number",
                            "minimum": 0,
                            "description": "Personal price per unit at or above from."
                          }
                        },
                        "required": [
                          "from",
                          "value"
                        ],
                        "additionalProperties": false
                      },
                      "description": "Unordered quantity price tiers. Select greatest from <= requested quantity; below all tiers use price or normal price."
                    },
                    "startAt": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/_mcp2"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Inclusive beginning of validity; null means no lower date bound."
                    },
                    "endAt": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/_mcp2"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Inclusive end of validity; null means no upper date bound."
                    },
                    "usageLimit": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Positive maximum number of confirmed uses; zero or null means unlimited."
                    },
                    "usageCount": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991,
                      "description": "Server maintained integer count of completed customer_offers_record_use events. Created as zero; quotes and failed sales do not increment it. Reversed events decrement it."
                    },
                    "orderTypes": {
                      "maxItems": 4,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "atplace",
                          "pickup",
                          "delivery",
                          "catering"
                        ]
                      },
                      "description": "Native order types: atplace, pickup, delivery, catering. Empty allows every type."
                    },
                    "autoApply": {
                      "type": "boolean",
                      "description": "True permits automatic selection when otherwise eligible; false requires explicit selection."
                    },
                    "quantity": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Total eligible units; positive value is capped, zero or null means unlimited."
                    },
                    "remainingQuantity": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Server maintained eligible units left when quantity > 0; record_use consumes units and reverse_use restores them. Ignored for unlimited quantity."
                    },
                    "promocode": {
                      "type": "string",
                      "maxLength": 100,
                      "description": "Optional personal activation code. It is a condition, not an offer type; trim and compare case-insensitively for this customer only."
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "description": "Server-set creation time in UTC."
                    },
                    "createdBy": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160,
                      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
                      "description": "Verified employee UID that created the offer; callers cannot supply or replace it."
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time",
                      "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "description": "Server-set last mutation time in UTC."
                    }
                  },
                  "required": [
                    "customerId",
                    "id",
                    "revision",
                    "type",
                    "status",
                    "productId",
                    "itemId",
                    "establishment",
                    "title",
                    "description",
                    "price",
                    "discountPercent",
                    "discountAmount",
                    "priceConditions",
                    "startAt",
                    "endAt",
                    "usageLimit",
                    "usageCount",
                    "orderTypes",
                    "autoApply",
                    "quantity",
                    "remainingQuantity",
                    "promocode",
                    "createdAt",
                    "createdBy",
                    "updatedAt"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ],
              "description": "Committed flat offer fields, or null after physical deletion. Fetch the offer again to obtain its current revision."
            }
          },
          "required": [
            "customerId",
            "offerId",
            "operation",
            "offer"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Original committed result, or null if no business receipt was found."
    }
  },
  "required": [
    "status",
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Existing users document ID. The server verifies its company and allowed location."
    },
    "_mcp1": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Exact users/{customerId}/offers document ID returned by a create or list action."
    },
    "_mcp2": {
      "type": "string",
      "format": "date-time",
      "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    }
  }
}