{
  "type": "object",
  "properties": {
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule_type": {"type": "string", "description": "규칙 유형 (possession, transformation, ghost, time_period, costume, technology 등)"},
          "description": {"type": "string", "description": "규칙 설명"},
          "visual_guideline": {"type": "string", "description": "시각적 표현 가이드라인"}
        },
        "required": ["rule_type", "description", "visual_guideline"],
        "additionalProperties": false
      }
    },
    "director_notes": {
      "type": "array",
      "items": {"type": "string"},
      "description": "씬 감독이 물리적 존재 여부를 판단할 때 참고할 구체적 가이드 (예: A가 B의 몸을 소울라이드 중이면 A는 물리적 존재가 아님)"
    },
    "era": {"type": "string", "description": "시대 배경"},
    "region": {"type": "string", "description": "지역/국가 배경"},
    "t2i_context": {"type": "string", "description": "T2I 프롬프트용 시각 컨텍스트 요약 (영어 2~3문장, 기본 국적/인종 + 배경 룩앤필 + 장르 톤. 지명과 간판은 한국어 유지)"}
  },
  "required": ["rules", "director_notes", "era", "region", "t2i_context"],
  "additionalProperties": false
}
