{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "notarius.dnd.entity_reconcile.llm",
  "type": "object",
  "additionalProperties": false,
  "required": ["duplicate_groups"],
  "properties": {
    "duplicate_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["members", "canonical"],
        "properties": {
          "members": {
            "type": "array",
            "items": {"type": "string"}
          },
          "canonical": {"type": "string"}
        }
      }
    }
  }
}
