{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frontapp/json-schema/frontapp-delete-contact-handle-schema.json",
  "title": "DeleteContactHandle",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frontapp-contact-handles-api-openapi.yml#/components/schemas/DeleteContactHandle",
  "allOf": [
    {
      "$ref": "#/$defs/ContactHandle"
    },
    {
      "type": "object",
      "properties": {
        "force": {
          "type": "boolean",
          "description": "Force the deletetion of the contact if the handle is the last one",
          "default": false
        }
      }
    }
  ],
  "$defs": {
    "ContactHandle": {
      "type": "object",
      "required": [
        "handle",
        "source"
      ],
      "properties": {
        "handle": {
          "type": "string",
          "description": "Handle used to reach the contact."
        },
        "source": {
          "type": "string",
          "enum": [
            "twitter",
            "email",
            "phone",
            "facebook",
            "intercom",
            "front_chat",
            "custom"
          ],
          "description": "Source of the handle. Can be `email`, `phone`, `twitter`, `facebook`, `intercom`, `front_chat`, or `custom`."
        }
      }
    }
  }
}