{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/numonic-ai/json-schema/numonic-ai-post-api-v1-admin-crm-merges-request-schema.json",
  "title": "PostApiV1AdminCrmMergesRequest",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/numonic-ai-openapi-generated.yml#/components/schemas/PostApiV1AdminCrmMergesRequest",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "description": "enum: merge · unmerge"
    },
    "entity_type": {
      "type": "string",
      "description": "enum: contact · organization"
    },
    "duplicate": {
      "type": "string",
      "description": "Hub hash of the record to retire (or restore)."
    },
    "survivor": {
      "type": "string",
      "description": "Hub hash of the record to keep (required for merge)."
    },
    "reason": {
      "type": "string"
    }
  },
  "required": [
    "action",
    "entity_type",
    "duplicate"
  ]
}