{
  "type": "object",
  "properties": {
    "relations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "base_short_id": {
            "type": "string",
            "description": "Base entity short_id (e.g. C01, P03, L05)"
          },
          "base_name": {
            "type": "string",
            "description": "Base entity name"
          },
          "variant_short_id": {
            "type": "string",
            "description": "Variant entity short_id"
          },
          "variant_name": {
            "type": "string",
            "description": "Variant entity name"
          },
          "entity_type": {
            "type": "string",
            "enum": ["character", "location", "prop"],
            "description": "Entity type"
          },
          "visual_similarity": {
            "type": "boolean",
            "description": "true if the variant should visually resemble the base"
          },
          "reason": {
            "type": "string",
            "description": "Why this is a variant, and why visual_similarity is true/false"
          }
        },
        "required": ["base_short_id", "base_name", "variant_short_id", "variant_name", "entity_type", "visual_similarity", "reason"],
        "additionalProperties": false
      }
    }
  },
  "required": ["relations"],
  "additionalProperties": false
}