{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dialogbrain-com/json-schema/dialogbrain-com-update-person-response-schema.json",
  "title": "UpdatePersonResponse",
  "description": "Response with updated person details.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dialogbrain-com-contacts-api-openapi.yml#/components/schemas/UpdatePersonResponse",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "display_name": {
      "type": "string",
      "title": "Display Name"
    },
    "birthday_month": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Birthday Month"
    },
    "birthday_day": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Birthday Day"
    },
    "birthday_year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Birthday Year"
    },
    "preferred_channel": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Preferred Channel"
    },
    "staff_role": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Staff Role"
    },
    "capabilities": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Capabilities",
      "default": []
    },
    "notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Notes"
    },
    "preferred_channel_account_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Preferred Channel Account Id"
    }
  },
  "type": "object",
  "required": [
    "id",
    "display_name"
  ]
}