{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcmira/json-schema/arcmira-merge-suggestion-change-schema.json",
  "title": "MergeSuggestionChange",
  "description": "For issue_type merge_suggestion (and duplicate_entity): the canonical merge you are proposing. Provide ids when you have them, names otherwise.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcmira-feedback-api-openapi.yml#/components/schemas/MergeSuggestionChange",
  "type": "object",
  "properties": {
    "source_entity_id": {
      "type": "string",
      "description": "Public id (\"ent_{n}\") of the duplicate/variant entity to merge away."
    },
    "target_entity_id": {
      "type": "string",
      "description": "Public id (\"ent_{n}\") of the canonical entity to merge into."
    },
    "source_name": {
      "type": "string",
      "description": "Name of the duplicate entity when you do not have its id."
    },
    "merge_into": {
      "type": "string",
      "description": "Name or public id of the canonical entity when you do not have target_entity_id."
    },
    "scope_type": {
      "type": "string",
      "description": "Scope of the merge rule, e.g. \"global\"."
    }
  },
  "additionalProperties": {}
}