{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alto-vebra/json-schema/alto-vebra-lead-patch-json-patch-document-schema.json",
  "title": "LeadPatchJsonPatchDocument",
  "description": "Array of operations to perform",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alto-vebra-leads-api-openapi.yml#/components/schemas/LeadPatchJsonPatchDocument",
  "type": "array",
  "items": {
    "$ref": "#/$defs/LeadPatchOperation"
  },
  "$defs": {
    "LeadPatchOperation": {
      "type": "object",
      "properties": {
        "op": {
          "enum": [
            "replace"
          ],
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "path": {
          "enum": [
            "/contactId",
            "/leadStatus"
          ],
          "type": "string"
        }
      }
    }
  }
}