{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frontapp/json-schema/frontapp-merge-contacts-schema.json",
  "title": "MergeContacts",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frontapp-contacts-api-openapi.yml#/components/schemas/MergeContacts",
  "required": [
    "contact_ids"
  ],
  "properties": {
    "target_contact_id": {
      "type": "string",
      "description": "Optional contact ID to merge the other contacts into."
    },
    "contact_ids": {
      "type": "array",
      "description": "Array of all the contact IDs of the contacts to be merged.  If a target contact id is provided and that contact id is not in this array, the length of this array must be between 1 and 49.  If no target contact id is provided or it is contained in this array, the length must be between 2 and 50.",
      "items": {
        "type": "string"
      }
    }
  }
}