MCP Control
Обзор  ›  CRM
CRM · Изменение

CRM · Воронки · Изменение

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

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

Подготовить
  1. Вы указываетеId объекта
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «CRM / Воронки / Изменение». Для изменения нужны изменяемые поля, ID объекта. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
values
Изменяемые поля
resourceId
Id объекта
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «CRM / Воронки / Изменение» с параметром values.name = Осенняя коллекция. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
values.name
Осенняя коллекция
resourceId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «CRM / Воронки / Изменение» по исходному ответу. Покажи ID объекта, версия записи. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.

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

Update one CRM pipeline configuration using its real embedded FlutterFlow data structure. Only supplied fields change; references, tenant, location and expected revision are checked. This does not run workflows, send messages, charge payments or alter MCP permission grants. Retry with the same requestId after a network error.

Параметры запроса
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string · до символов 128
values
Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · object
resourceId
Canonical CRM pipeline configuration document identifier from an existing search or edit_context. обязательно по схеме · string · до символов 160
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
Что вернёт команда
resourceId
Canonical CRM pipeline configuration document identifier in the connected company. обязательно по схеме · string
revision
Exact server revision for optimistic concurrency. Copy it unchanged into update requests. обязательно по схеме · string
fieldErrors
Present only when editable fields have incompatible stored values. Those entire fields are omitted from values, not reset. Use this revision and an explicit valid patch to repair them; all other fields remain unchanged. необязательно · array · до элементов 100
values
Typed editable CRM pipeline configuration fields. Credentials and service-owned identifiers are excluded; omitted fields were not present. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа crm_pipeline_update
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Unique operation retry identifier. Reuse only for exactly the same structure and field values."
    },
    "values": {
      "type": "object",
      "properties": {
        "name": {
          "description": "Native CRM pipeline configuration.name. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "Language": {
                "description": "Native Namesjson.Language.",
                "type": "string",
                "maxLength": 2000
              },
              "Text": {
                "description": "Native Namesjson.Text.",
                "type": "string",
                "maxLength": 12000
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.name."
          }
        },
        "description": {
          "description": "Native CRM pipeline configuration.description.",
          "type": "string",
          "maxLength": 2000
        },
        "type": {
          "description": "Native CRM pipeline configuration.type.",
          "type": "string",
          "maxLength": 2000
        },
        "mode": {
          "description": "Native CRM pipeline configuration.mode.",
          "type": "string",
          "maxLength": 2000
        },
        "dateStart": {
          "description": "Native CRM pipeline configuration.dateStart. ISO 8601 with timezone; stored as a timestamp.",
          "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)))$"
        },
        "stages": {
          "description": "Replace the editable stages with unique IDs. Existing protected Flow bindings stay attached to the same ID and cannot be removed here. Omission preserves all stages.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 160,
                "pattern": "^[A-Za-z0-9_~:@+.-]+$",
                "description": "Stable unique native stage identifier. Retain it when editing or reordering an existing stage."
              },
              "name": {
                "description": "Native pipeline_status.name. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native pipeline_status.name."
                }
              },
              "comment": {
                "description": "Native pipeline_status.comment. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native pipeline_status.comment."
                }
              },
              "color": {
                "description": "Native pipeline_status.color.",
                "type": "string",
                "maxLength": 2000
              },
              "colorText": {
                "description": "Native pipeline_status.colorText.",
                "type": "string",
                "maxLength": 12000
              },
              "type": {
                "description": "Native pipeline_status.type.",
                "type": "string",
                "maxLength": 2000
              },
              "scripts": {
                "description": "Native pipeline_status.scripts. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Native script.id.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "sort": {
                      "description": "Native script.sort.",
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "title": {
                      "description": "Native script.title. Supplied array replaces the whole array.",
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "Language": {
                            "description": "Native Namesjson.Language.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "Text": {
                            "description": "Native Namesjson.Text.",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "additionalProperties": false,
                        "description": "Native script.title."
                      }
                    },
                    "description": {
                      "description": "Native script.description. Supplied array replaces the whole array.",
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "Language": {
                            "description": "Native Namesjson.Language.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "Text": {
                            "description": "Native Namesjson.Text.",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "additionalProperties": false,
                        "description": "Native script.description."
                      }
                    },
                    "goal": {
                      "description": "Native script.goal. Supplied array replaces the whole array.",
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "Language": {
                            "description": "Native Namesjson.Language.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "Text": {
                            "description": "Native Namesjson.Text.",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "additionalProperties": false,
                        "description": "Native script.goal."
                      }
                    },
                    "options": {
                      "description": "Native script.options. Supplied array replaces the whole array.",
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "Native script_question.id.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "title": {
                            "$ref": "#/$defs/_mcp1"
                          },
                          "description": {
                            "$ref": "#/$defs/_mcp3"
                          },
                          "color": {
                            "description": "Native script_question.color.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "isRequired": {
                            "description": "Native script_question.isRequired.",
                            "type": "boolean"
                          },
                          "mode": {
                            "description": "Native script_question.mode.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "question_option": {
                            "$ref": "#/$defs/_mcp9"
                          },
                          "objections": {
                            "$ref": "#/$defs/_mcp17"
                          },
                          "childs": {
                            "description": "Native script_question.childs. Supplied array replaces the whole array.",
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "description": "Native script_question.id.",
                                  "type": "string",
                                  "maxLength": 2000
                                },
                                "title": {
                                  "$ref": "#/$defs/_mcp1"
                                },
                                "description": {
                                  "$ref": "#/$defs/_mcp3"
                                },
                                "color": {
                                  "description": "Native script_question.color.",
                                  "type": "string",
                                  "maxLength": 2000
                                },
                                "isRequired": {
                                  "description": "Native script_question.isRequired.",
                                  "type": "boolean"
                                },
                                "mode": {
                                  "description": "Native script_question.mode.",
                                  "type": "string",
                                  "maxLength": 2000
                                },
                                "question_option": {
                                  "$ref": "#/$defs/_mcp9"
                                },
                                "objections": {
                                  "$ref": "#/$defs/_mcp17"
                                },
                                "childs": {
                                  "description": "Native script_question.childs. Supplied array replaces the whole array.",
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "description": "Native script_question.id.",
                                        "type": "string",
                                        "maxLength": 2000
                                      },
                                      "title": {
                                        "$ref": "#/$defs/_mcp1"
                                      },
                                      "description": {
                                        "$ref": "#/$defs/_mcp3"
                                      },
                                      "color": {
                                        "description": "Native script_question.color.",
                                        "type": "string",
                                        "maxLength": 2000
                                      },
                                      "isRequired": {
                                        "description": "Native script_question.isRequired.",
                                        "type": "boolean"
                                      },
                                      "mode": {
                                        "description": "Native script_question.mode.",
                                        "type": "string",
                                        "maxLength": 2000
                                      },
                                      "question_option": {
                                        "$ref": "#/$defs/_mcp9"
                                      },
                                      "objections": {
                                        "$ref": "#/$defs/_mcp17"
                                      },
                                      "childs": {
                                        "description": "Native script_question.childs. Supplied array replaces the whole array.",
                                        "maxItems": 100,
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {},
                                          "additionalProperties": false,
                                          "description": "Native script_question.childs."
                                        }
                                      },
                                      "answer_child": {
                                        "description": "Native script_question.answer_child.",
                                        "type": "string",
                                        "maxLength": 2000
                                      }
                                    },
                                    "additionalProperties": false,
                                    "description": "Native script_question.childs."
                                  }
                                },
                                "answer_child": {
                                  "description": "Native script_question.answer_child.",
                                  "type": "string",
                                  "maxLength": 2000
                                }
                              },
                              "additionalProperties": false,
                              "description": "Native script_question.childs."
                            }
                          },
                          "answer_child": {
                            "description": "Native script_question.answer_child.",
                            "type": "string",
                            "maxLength": 2000
                          }
                        },
                        "additionalProperties": false,
                        "description": "Native script.options."
                      }
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native pipeline_status.scripts."
                }
              },
              "checklist": {
                "description": "Native pipeline_status.checklist. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Native data.id.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "name": {
                      "$ref": "#/$defs/_mcp5"
                    },
                    "description": {
                      "$ref": "#/$defs/_mcp7"
                    },
                    "color": {
                      "description": "Native data.color.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "color_text": {
                      "description": "Native data.color_text.",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "next": {
                      "description": "Native data.next.",
                      "type": "string",
                      "maxLength": 2000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native pipeline_status.checklist."
                }
              },
              "dateline_min": {
                "description": "Native pipeline_status.dateline_min.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          }
        },
        "defolt": {
          "description": "Native default stage ID. Must match a resulting stage. Omission preserves it; an explicit empty string leaves a draft without a default.",
          "type": "string",
          "maxLength": 2000
        },
        "status": {
          "description": "Native CRM pipeline configuration.status. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "Number": {
                "description": "Native Status_json.Number.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "Date": {
                "description": "Native Status_json.Date. ISO 8601 with timezone; stored as a timestamp.",
                "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)))$"
              },
              "Name": {
                "description": "Native Status_json.Name.",
                "type": "string",
                "maxLength": 2000
              },
              "Comment": {
                "description": "Native Status_json.Comment.",
                "type": "string",
                "maxLength": 12000
              },
              "user": {
                "description": "Native Status_json.user. Verified workspace ID.",
                "type": "string",
                "maxLength": 2000
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.status."
          }
        },
        "messageTemplates": {
          "description": "Native CRM pipeline configuration.messageTemplates. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "description": "Native message_template.id.",
                "type": "string",
                "maxLength": 2000
              },
              "isActive": {
                "description": "Native message_template.isActive.",
                "type": "boolean"
              },
              "sort": {
                "description": "Native message_template.sort.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "title": {
                "description": "Native message_template.title. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native message_template.title."
                }
              },
              "subject": {
                "description": "Native message_template.subject. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native message_template.subject."
                }
              },
              "body": {
                "description": "Native message_template.body. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native message_template.body."
                }
              },
              "files": {
                "description": "Native message_template.files. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native message_template.files."
                }
              },
              "channel": {
                "description": "Native message_template.channel. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native message_template.channel."
                }
              },
              "stages": {
                "description": "Native message_template.stages. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native message_template.stages."
                }
              },
              "html": {
                "description": "Native message_template.html.",
                "type": "boolean"
              },
              "before": {
                "description": "Native message_template.before.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "locations": {
                "description": "Native message_template.locations. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native message_template.locations."
                }
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.messageTemplates."
          }
        },
        "trainingMaterials": {
          "description": "Native CRM pipeline configuration.trainingMaterials. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "description": "Native training_materials.id.",
                "type": "string",
                "maxLength": 2000
              },
              "sort": {
                "description": "Native training_materials.sort.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "title": {
                "description": "Native training_materials.title. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native training_materials.title."
                }
              },
              "text": {
                "description": "Native training_materials.text. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native training_materials.text."
                }
              },
              "type": {
                "description": "Native training_materials.type.",
                "type": "string",
                "maxLength": 2000
              },
              "url": {
                "description": "Native training_materials.url. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native training_materials.url."
                }
              },
              "tags": {
                "description": "Native training_materials.tags. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native training_materials.tags."
                }
              },
              "stage": {
                "description": "Native training_materials.stage.",
                "type": "string",
                "maxLength": 2000
              },
              "isRequired": {
                "description": "Native training_materials.isRequired.",
                "type": "boolean"
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.trainingMaterials."
          }
        },
        "disqualifyRules": {
          "description": "Native CRM pipeline configuration.disqualifyRules. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "Native Reasons.ID.",
                "type": "string",
                "maxLength": 2000
              },
              "Name": {
                "$ref": "#/$defs/_mcp19"
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.disqualifyRules."
          }
        },
        "lossReasons": {
          "description": "Native CRM pipeline configuration.lossReasons. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "Native Reasons.ID.",
                "type": "string",
                "maxLength": 2000
              },
              "Name": {
                "$ref": "#/$defs/_mcp19"
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.lossReasons."
          }
        },
        "winReasons": {
          "description": "Native CRM pipeline configuration.winReasons. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "Native Reasons.ID.",
                "type": "string",
                "maxLength": 2000
              },
              "Name": {
                "$ref": "#/$defs/_mcp19"
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.winReasons."
          }
        },
        "firstTouchMinutes": {
          "description": "Native CRM pipeline configuration.firstTouchMinutes.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "followUpHours": {
          "description": "Native CRM pipeline configuration.followUpHours.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "staleAfterDays": {
          "description": "Native CRM pipeline configuration.staleAfterDays.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "startTime": {
          "description": "Native CRM pipeline configuration.startTime. ISO 8601 with timezone; stored as a timestamp.",
          "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)))$"
        },
        "endTime": {
          "description": "Native CRM pipeline configuration.endTime. ISO 8601 with timezone; stored as a timestamp.",
          "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)))$"
        },
        "weekdays": {
          "description": "Native CRM pipeline configuration.weekdays. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Native CRM pipeline configuration.weekdays."
          }
        },
        "manager_ids": {
          "description": "Native CRM pipeline configuration.manager_ids. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2000,
            "description": "Native CRM pipeline configuration.manager_ids."
          }
        },
        "target_period": {
          "description": "Native CRM pipeline configuration.target_period.",
          "type": "string",
          "maxLength": 2000
        },
        "target_new_leads": {
          "description": "Native CRM pipeline configuration.target_new_leads.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "target_revenue": {
          "description": "Native CRM pipeline configuration.target_revenue.",
          "type": "number"
        },
        "target_wins": {
          "description": "Native CRM pipeline configuration.target_wins.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "fields": {
          "description": "Native CRM pipeline configuration.fields. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "date": {
                "description": "Native contact.date. ISO 8601 with timezone; stored as a timestamp.",
                "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)))$"
              },
              "name": {
                "description": "Native contact.name.",
                "type": "string",
                "maxLength": 2000
              },
              "value": {
                "description": "Native contact.value.",
                "type": "string",
                "maxLength": 2000
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.fields."
          }
        }
      },
      "additionalProperties": false,
      "description": "Validated native CRM pipeline configuration fields. Omitted fields are preserved on update. Nested objects merge; explicitly supplied arrays replace the array."
    },
    "resourceId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Canonical CRM pipeline configuration document identifier from an existing search or edit_context."
    },
    "expectedRevision": {
      "type": "string",
      "description": "Exact revision returned by edit_context. Updates reject concurrent changes instead of overwriting them."
    }
  },
  "required": [
    "requestId",
    "values",
    "resourceId",
    "expectedRevision"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp1": {
      "description": "Native script_question.title. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp0"
      }
    },
    "_mcp3": {
      "description": "Native script_question.description. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp2"
      }
    },
    "_mcp9": {
      "description": "Native script_question.question_option. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp8"
      }
    },
    "_mcp17": {
      "description": "Native script_question.objections. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp16"
      }
    },
    "_mcp5": {
      "description": "Native data.name. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp4"
      }
    },
    "_mcp7": {
      "description": "Native data.description. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp6"
      }
    },
    "_mcp19": {
      "description": "Native Reasons.Name. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp18"
      }
    },
    "_mcp0": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_question.title."
    },
    "_mcp2": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_question.description."
    },
    "_mcp8": {
      "type": "object",
      "properties": {
        "id": {
          "description": "Native data.id.",
          "type": "string",
          "maxLength": 2000
        },
        "name": {
          "$ref": "#/$defs/_mcp5"
        },
        "description": {
          "$ref": "#/$defs/_mcp7"
        },
        "color": {
          "description": "Native data.color.",
          "type": "string",
          "maxLength": 2000
        },
        "color_text": {
          "description": "Native data.color_text.",
          "type": "string",
          "maxLength": 12000
        },
        "next": {
          "description": "Native data.next.",
          "type": "string",
          "maxLength": 2000
        }
      },
      "additionalProperties": false,
      "description": "Native script_question.question_option."
    },
    "_mcp16": {
      "type": "object",
      "properties": {
        "id": {
          "description": "Native script_objection.id.",
          "type": "string",
          "maxLength": 2000
        },
        "name": {
          "$ref": "#/$defs/_mcp11"
        },
        "answer": {
          "$ref": "#/$defs/_mcp13"
        },
        "proof": {
          "$ref": "#/$defs/_mcp15"
        }
      },
      "additionalProperties": false,
      "description": "Native script_question.objections."
    },
    "_mcp4": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native data.name."
    },
    "_mcp6": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native data.description."
    },
    "_mcp18": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native Reasons.Name."
    },
    "_mcp11": {
      "description": "Native script_objection.name. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp10"
      }
    },
    "_mcp13": {
      "description": "Native script_objection.answer. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp12"
      }
    },
    "_mcp15": {
      "description": "Native script_objection.proof. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp14"
      }
    },
    "_mcp10": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_objection.name."
    },
    "_mcp12": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_objection.answer."
    },
    "_mcp14": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_objection.proof."
    }
  }
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "resourceId": {
      "type": "string",
      "description": "Canonical CRM pipeline configuration document identifier in the connected company."
    },
    "revision": {
      "type": "string",
      "description": "Exact server revision for optimistic concurrency. Copy it unchanged into update requests."
    },
    "fieldErrors": {
      "description": "Present only when editable fields have incompatible stored values. Those entire fields are omitted from values, not reset. Use this revision and an explicit valid patch to repair them; all other fields remain unchanged.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "description": "Native field path requiring an explicit correction; no stored values are returned."
          },
          "expected": {
            "type": "string",
            "description": "Required native type or edit bound."
          },
          "actual": {
            "type": "string",
            "description": "Observed value type, never its content."
          }
        },
        "required": [
          "field",
          "expected",
          "actual"
        ],
        "additionalProperties": false
      }
    },
    "values": {
      "type": "object",
      "properties": {
        "name": {
          "description": "Native CRM pipeline configuration.name. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "Language": {
                "description": "Native Namesjson.Language.",
                "type": "string",
                "maxLength": 2000
              },
              "Text": {
                "description": "Native Namesjson.Text.",
                "type": "string",
                "maxLength": 12000
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.name."
          }
        },
        "description": {
          "description": "Native CRM pipeline configuration.description.",
          "type": "string",
          "maxLength": 2000
        },
        "type": {
          "description": "Native CRM pipeline configuration.type.",
          "type": "string",
          "maxLength": 2000
        },
        "mode": {
          "description": "Native CRM pipeline configuration.mode.",
          "type": "string",
          "maxLength": 2000
        },
        "dateStart": {
          "description": "Native CRM pipeline configuration.dateStart. ISO 8601 with timezone; stored as a timestamp.",
          "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)))$"
        },
        "stages": {
          "description": "Native CRM pipeline configuration.stages. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "description": "Native pipeline_status.id.",
                "type": "string",
                "maxLength": 2000
              },
              "name": {
                "description": "Native pipeline_status.name. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native pipeline_status.name."
                }
              },
              "comment": {
                "description": "Native pipeline_status.comment. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native pipeline_status.comment."
                }
              },
              "color": {
                "description": "Native pipeline_status.color.",
                "type": "string",
                "maxLength": 2000
              },
              "colorText": {
                "description": "Native pipeline_status.colorText.",
                "type": "string",
                "maxLength": 12000
              },
              "type": {
                "description": "Native pipeline_status.type.",
                "type": "string",
                "maxLength": 2000
              },
              "scripts": {
                "description": "Native pipeline_status.scripts. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Native script.id.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "sort": {
                      "description": "Native script.sort.",
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "title": {
                      "description": "Native script.title. Supplied array replaces the whole array.",
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "Language": {
                            "description": "Native Namesjson.Language.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "Text": {
                            "description": "Native Namesjson.Text.",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "additionalProperties": false,
                        "description": "Native script.title."
                      }
                    },
                    "description": {
                      "description": "Native script.description. Supplied array replaces the whole array.",
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "Language": {
                            "description": "Native Namesjson.Language.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "Text": {
                            "description": "Native Namesjson.Text.",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "additionalProperties": false,
                        "description": "Native script.description."
                      }
                    },
                    "goal": {
                      "description": "Native script.goal. Supplied array replaces the whole array.",
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "Language": {
                            "description": "Native Namesjson.Language.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "Text": {
                            "description": "Native Namesjson.Text.",
                            "type": "string",
                            "maxLength": 12000
                          }
                        },
                        "additionalProperties": false,
                        "description": "Native script.goal."
                      }
                    },
                    "options": {
                      "description": "Native script.options. Supplied array replaces the whole array.",
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "Native script_question.id.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "title": {
                            "$ref": "#/$defs/_mcp1"
                          },
                          "description": {
                            "$ref": "#/$defs/_mcp3"
                          },
                          "color": {
                            "description": "Native script_question.color.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "isRequired": {
                            "description": "Native script_question.isRequired.",
                            "type": "boolean"
                          },
                          "mode": {
                            "description": "Native script_question.mode.",
                            "type": "string",
                            "maxLength": 2000
                          },
                          "question_option": {
                            "$ref": "#/$defs/_mcp9"
                          },
                          "objections": {
                            "$ref": "#/$defs/_mcp17"
                          },
                          "childs": {
                            "description": "Native script_question.childs. Supplied array replaces the whole array.",
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "description": "Native script_question.id.",
                                  "type": "string",
                                  "maxLength": 2000
                                },
                                "title": {
                                  "$ref": "#/$defs/_mcp1"
                                },
                                "description": {
                                  "$ref": "#/$defs/_mcp3"
                                },
                                "color": {
                                  "description": "Native script_question.color.",
                                  "type": "string",
                                  "maxLength": 2000
                                },
                                "isRequired": {
                                  "description": "Native script_question.isRequired.",
                                  "type": "boolean"
                                },
                                "mode": {
                                  "description": "Native script_question.mode.",
                                  "type": "string",
                                  "maxLength": 2000
                                },
                                "question_option": {
                                  "$ref": "#/$defs/_mcp9"
                                },
                                "objections": {
                                  "$ref": "#/$defs/_mcp17"
                                },
                                "childs": {
                                  "description": "Native script_question.childs. Supplied array replaces the whole array.",
                                  "maxItems": 100,
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "description": "Native script_question.id.",
                                        "type": "string",
                                        "maxLength": 2000
                                      },
                                      "title": {
                                        "$ref": "#/$defs/_mcp1"
                                      },
                                      "description": {
                                        "$ref": "#/$defs/_mcp3"
                                      },
                                      "color": {
                                        "description": "Native script_question.color.",
                                        "type": "string",
                                        "maxLength": 2000
                                      },
                                      "isRequired": {
                                        "description": "Native script_question.isRequired.",
                                        "type": "boolean"
                                      },
                                      "mode": {
                                        "description": "Native script_question.mode.",
                                        "type": "string",
                                        "maxLength": 2000
                                      },
                                      "question_option": {
                                        "$ref": "#/$defs/_mcp9"
                                      },
                                      "objections": {
                                        "$ref": "#/$defs/_mcp17"
                                      },
                                      "childs": {
                                        "description": "Native script_question.childs. Supplied array replaces the whole array.",
                                        "maxItems": 100,
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {},
                                          "additionalProperties": false,
                                          "description": "Native script_question.childs."
                                        }
                                      },
                                      "answer_child": {
                                        "description": "Native script_question.answer_child.",
                                        "type": "string",
                                        "maxLength": 2000
                                      }
                                    },
                                    "additionalProperties": false,
                                    "description": "Native script_question.childs."
                                  }
                                },
                                "answer_child": {
                                  "description": "Native script_question.answer_child.",
                                  "type": "string",
                                  "maxLength": 2000
                                }
                              },
                              "additionalProperties": false,
                              "description": "Native script_question.childs."
                            }
                          },
                          "answer_child": {
                            "description": "Native script_question.answer_child.",
                            "type": "string",
                            "maxLength": 2000
                          }
                        },
                        "additionalProperties": false,
                        "description": "Native script.options."
                      }
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native pipeline_status.scripts."
                }
              },
              "checklist": {
                "description": "Native pipeline_status.checklist. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Native data.id.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "name": {
                      "$ref": "#/$defs/_mcp5"
                    },
                    "description": {
                      "$ref": "#/$defs/_mcp7"
                    },
                    "color": {
                      "description": "Native data.color.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "color_text": {
                      "description": "Native data.color_text.",
                      "type": "string",
                      "maxLength": 12000
                    },
                    "next": {
                      "description": "Native data.next.",
                      "type": "string",
                      "maxLength": 2000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native pipeline_status.checklist."
                }
              },
              "dateline_min": {
                "description": "Native pipeline_status.dateline_min.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.stages."
          }
        },
        "defolt": {
          "description": "Native CRM pipeline configuration.defolt.",
          "type": "string",
          "maxLength": 2000
        },
        "status": {
          "description": "Native CRM pipeline configuration.status. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "Number": {
                "description": "Native Status_json.Number.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "Date": {
                "description": "Native Status_json.Date. ISO 8601 with timezone; stored as a timestamp.",
                "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)))$"
              },
              "Name": {
                "description": "Native Status_json.Name.",
                "type": "string",
                "maxLength": 2000
              },
              "Comment": {
                "description": "Native Status_json.Comment.",
                "type": "string",
                "maxLength": 12000
              },
              "user": {
                "description": "Native Status_json.user. Verified workspace ID.",
                "type": "string",
                "maxLength": 2000
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.status."
          }
        },
        "messageTemplates": {
          "description": "Native CRM pipeline configuration.messageTemplates. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "description": "Native message_template.id.",
                "type": "string",
                "maxLength": 2000
              },
              "isActive": {
                "description": "Native message_template.isActive.",
                "type": "boolean"
              },
              "sort": {
                "description": "Native message_template.sort.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "title": {
                "description": "Native message_template.title. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native message_template.title."
                }
              },
              "subject": {
                "description": "Native message_template.subject. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native message_template.subject."
                }
              },
              "body": {
                "description": "Native message_template.body. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native message_template.body."
                }
              },
              "files": {
                "description": "Native message_template.files. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native message_template.files."
                }
              },
              "channel": {
                "description": "Native message_template.channel. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native message_template.channel."
                }
              },
              "stages": {
                "description": "Native message_template.stages. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native message_template.stages."
                }
              },
              "html": {
                "description": "Native message_template.html.",
                "type": "boolean"
              },
              "before": {
                "description": "Native message_template.before.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "locations": {
                "description": "Native message_template.locations. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native message_template.locations."
                }
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.messageTemplates."
          }
        },
        "trainingMaterials": {
          "description": "Native CRM pipeline configuration.trainingMaterials. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "description": "Native training_materials.id.",
                "type": "string",
                "maxLength": 2000
              },
              "sort": {
                "description": "Native training_materials.sort.",
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "title": {
                "description": "Native training_materials.title. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native training_materials.title."
                }
              },
              "text": {
                "description": "Native training_materials.text. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native training_materials.text."
                }
              },
              "type": {
                "description": "Native training_materials.type.",
                "type": "string",
                "maxLength": 2000
              },
              "url": {
                "description": "Native training_materials.url. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "Language": {
                      "description": "Native Namesjson.Language.",
                      "type": "string",
                      "maxLength": 2000
                    },
                    "Text": {
                      "description": "Native Namesjson.Text.",
                      "type": "string",
                      "maxLength": 12000
                    }
                  },
                  "additionalProperties": false,
                  "description": "Native training_materials.url."
                }
              },
              "tags": {
                "description": "Native training_materials.tags. Supplied array replaces the whole array.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 2000,
                  "description": "Native training_materials.tags."
                }
              },
              "stage": {
                "description": "Native training_materials.stage.",
                "type": "string",
                "maxLength": 2000
              },
              "isRequired": {
                "description": "Native training_materials.isRequired.",
                "type": "boolean"
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.trainingMaterials."
          }
        },
        "disqualifyRules": {
          "description": "Native CRM pipeline configuration.disqualifyRules. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "Native Reasons.ID.",
                "type": "string",
                "maxLength": 2000
              },
              "Name": {
                "$ref": "#/$defs/_mcp19"
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.disqualifyRules."
          }
        },
        "lossReasons": {
          "description": "Native CRM pipeline configuration.lossReasons. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "Native Reasons.ID.",
                "type": "string",
                "maxLength": 2000
              },
              "Name": {
                "$ref": "#/$defs/_mcp19"
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.lossReasons."
          }
        },
        "winReasons": {
          "description": "Native CRM pipeline configuration.winReasons. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "ID": {
                "description": "Native Reasons.ID.",
                "type": "string",
                "maxLength": 2000
              },
              "Name": {
                "$ref": "#/$defs/_mcp19"
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.winReasons."
          }
        },
        "firstTouchMinutes": {
          "description": "Native CRM pipeline configuration.firstTouchMinutes.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "followUpHours": {
          "description": "Native CRM pipeline configuration.followUpHours.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "staleAfterDays": {
          "description": "Native CRM pipeline configuration.staleAfterDays.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "startTime": {
          "description": "Native CRM pipeline configuration.startTime. ISO 8601 with timezone; stored as a timestamp.",
          "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)))$"
        },
        "endTime": {
          "description": "Native CRM pipeline configuration.endTime. ISO 8601 with timezone; stored as a timestamp.",
          "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)))$"
        },
        "weekdays": {
          "description": "Native CRM pipeline configuration.weekdays. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Native CRM pipeline configuration.weekdays."
          }
        },
        "manager_ids": {
          "description": "Native CRM pipeline configuration.manager_ids. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 2000,
            "description": "Native CRM pipeline configuration.manager_ids."
          }
        },
        "target_period": {
          "description": "Native CRM pipeline configuration.target_period.",
          "type": "string",
          "maxLength": 2000
        },
        "target_new_leads": {
          "description": "Native CRM pipeline configuration.target_new_leads.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "target_revenue": {
          "description": "Native CRM pipeline configuration.target_revenue.",
          "type": "number"
        },
        "target_wins": {
          "description": "Native CRM pipeline configuration.target_wins.",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "fields": {
          "description": "Native CRM pipeline configuration.fields. Supplied array replaces the whole array.",
          "maxItems": 100,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "date": {
                "description": "Native contact.date. ISO 8601 with timezone; stored as a timestamp.",
                "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)))$"
              },
              "name": {
                "description": "Native contact.name.",
                "type": "string",
                "maxLength": 2000
              },
              "value": {
                "description": "Native contact.value.",
                "type": "string",
                "maxLength": 2000
              }
            },
            "additionalProperties": false,
            "description": "Native CRM pipeline configuration.fields."
          }
        }
      },
      "additionalProperties": false,
      "description": "Typed editable CRM pipeline configuration fields. Credentials and service-owned identifiers are excluded; omitted fields were not present."
    }
  },
  "required": [
    "resourceId",
    "revision",
    "values"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp1": {
      "description": "Native script_question.title. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp0"
      }
    },
    "_mcp3": {
      "description": "Native script_question.description. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp2"
      }
    },
    "_mcp9": {
      "description": "Native script_question.question_option. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp8"
      }
    },
    "_mcp17": {
      "description": "Native script_question.objections. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp16"
      }
    },
    "_mcp5": {
      "description": "Native data.name. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp4"
      }
    },
    "_mcp7": {
      "description": "Native data.description. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp6"
      }
    },
    "_mcp19": {
      "description": "Native Reasons.Name. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp18"
      }
    },
    "_mcp0": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_question.title."
    },
    "_mcp2": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_question.description."
    },
    "_mcp8": {
      "type": "object",
      "properties": {
        "id": {
          "description": "Native data.id.",
          "type": "string",
          "maxLength": 2000
        },
        "name": {
          "$ref": "#/$defs/_mcp5"
        },
        "description": {
          "$ref": "#/$defs/_mcp7"
        },
        "color": {
          "description": "Native data.color.",
          "type": "string",
          "maxLength": 2000
        },
        "color_text": {
          "description": "Native data.color_text.",
          "type": "string",
          "maxLength": 12000
        },
        "next": {
          "description": "Native data.next.",
          "type": "string",
          "maxLength": 2000
        }
      },
      "additionalProperties": false,
      "description": "Native script_question.question_option."
    },
    "_mcp16": {
      "type": "object",
      "properties": {
        "id": {
          "description": "Native script_objection.id.",
          "type": "string",
          "maxLength": 2000
        },
        "name": {
          "$ref": "#/$defs/_mcp11"
        },
        "answer": {
          "$ref": "#/$defs/_mcp13"
        },
        "proof": {
          "$ref": "#/$defs/_mcp15"
        }
      },
      "additionalProperties": false,
      "description": "Native script_question.objections."
    },
    "_mcp4": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native data.name."
    },
    "_mcp6": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native data.description."
    },
    "_mcp18": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native Reasons.Name."
    },
    "_mcp11": {
      "description": "Native script_objection.name. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp10"
      }
    },
    "_mcp13": {
      "description": "Native script_objection.answer. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp12"
      }
    },
    "_mcp15": {
      "description": "Native script_objection.proof. Supplied array replaces the whole array.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp14"
      }
    },
    "_mcp10": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_objection.name."
    },
    "_mcp12": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_objection.answer."
    },
    "_mcp14": {
      "type": "object",
      "properties": {
        "Language": {
          "description": "Native Namesjson.Language.",
          "type": "string",
          "maxLength": 2000
        },
        "Text": {
          "description": "Native Namesjson.Text.",
          "type": "string",
          "maxLength": 12000
        }
      },
      "additionalProperties": false,
      "description": "Native script_objection.proof."
    }
  }
}