{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentline-cloud/json-schema/agentline-cloud-contact-update-schema.json",
  "title": "ContactUpdate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentline-cloud-contacts-api-openapi.yml#/components/schemas/ContactUpdate",
  "properties": {
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "Replacement name for the contact, e.g. 'Dr. Patel'. Omit to keep the current name."
    },
    "phone_number": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Phone Number",
      "description": "Replacement phone number with a leading + and country code, e.g. '+12125551234'; formatting characters are removed. Omit to keep the current number."
    },
    "label": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Label",
      "description": "Replacement purpose or relationship, e.g. 'dentist'. Send null or an empty string to remove the label; omit to keep it."
    }
  },
  "additionalProperties": false,
  "type": "object"
}