{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.supasaju.com/schemas/healthBalance.json",
  "title": "healthBalance 모듈 응답",
  "description": "실제 엔진 출력에서 생성된 스키마입니다.",
  "type": "object",
  "properties": {
    "disclaimer": {
      "type": "string"
    },
    "systems": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "element": {
            "type": "string",
            "examples": [
              "wood",
              "fire"
            ]
          },
          "ko": {
            "type": "string",
            "examples": [
              "목",
              "화"
            ]
          },
          "han": {
            "type": "string",
            "examples": [
              "木",
              "火"
            ]
          },
          "organs": {
            "type": "object",
            "properties": {
              "yin": {
                "type": "string"
              },
              "yang": {
                "type": "string"
              }
            },
            "required": [
              "yang",
              "yin"
            ]
          },
          "count": {
            "type": "integer",
            "examples": [
              2,
              1
            ]
          },
          "status": {
            "type": "string",
            "examples": [
              "보통",
              "과다"
            ]
          },
          "signals": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "meaning": {
            "type": "string",
            "examples": [
              "오행이 알맞게 있는 계통은 균형의 신호가 두드러지지 않는 상태로 읽는다."
            ]
          }
        },
        "required": [
          "count",
          "element",
          "han",
          "ko",
          "organs",
          "signals",
          "status"
        ]
      }
    },
    "vulnerabilities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "element": {
            "type": "string",
            "examples": [
              "earth",
              "metal"
            ]
          },
          "ko": {
            "type": "string",
            "examples": [
              "토",
              "금"
            ]
          },
          "han": {
            "type": "string",
            "examples": [
              "土",
              "金"
            ]
          },
          "organs": {
            "type": "object",
            "properties": {
              "yin": {
                "type": "string"
              },
              "yang": {
                "type": "string"
              }
            },
            "required": [
              "yang",
              "yin"
            ]
          },
          "factors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string"
                },
                "kindKo": {
                  "type": "string"
                },
                "value": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "basis": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "kind",
                "kindKo",
                "value"
              ]
            }
          }
        },
        "required": [
          "element",
          "factors",
          "han",
          "ko",
          "organs"
        ]
      }
    },
    "fortuneEffect": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "examples": [
              "대운 계미(癸未)",
              "세운 2026"
            ]
          },
          "position": {
            "type": "string",
            "examples": [
              "year",
              "day"
            ]
          },
          "positionKo": {
            "type": "string",
            "examples": [
              "연주",
              "일주"
            ]
          },
          "branch": {
            "type": "object",
            "properties": {
              "index": {
                "type": "integer"
              },
              "han": {
                "type": "string"
              },
              "ko": {
                "type": "string"
              },
              "element": {
                "type": "string"
              },
              "elementKo": {
                "type": "string"
              },
              "elementHan": {
                "type": "string"
              },
              "polarity": {
                "type": "string"
              },
              "polarityKo": {
                "type": "string"
              },
              "animalKo": {
                "type": "string"
              },
              "sipseong": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "ko": {
                    "type": "string"
                  },
                  "han": {
                    "type": "string"
                  },
                  "group": {
                    "type": "string"
                  },
                  "groupKo": {
                    "type": "string"
                  }
                },
                "required": [
                  "group",
                  "groupKo",
                  "han",
                  "id",
                  "ko"
                ]
              },
              "hiddenStems": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "stem": {
                      "type": "object",
                      "properties": {
                        "index": {
                          "type": "integer"
                        },
                        "han": {
                          "type": "string"
                        },
                        "ko": {
                          "type": "string"
                        },
                        "element": {
                          "type": "string"
                        },
                        "elementKo": {
                          "type": "string"
                        },
                        "elementHan": {
                          "type": "string"
                        },
                        "polarity": {
                          "type": "string"
                        },
                        "polarityKo": {
                          "type": "string"
                        },
                        "sipseong": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "ko": {
                              "type": "string"
                            },
                            "han": {
                              "type": "string"
                            },
                            "group": {
                              "type": "string"
                            },
                            "groupKo": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "group",
                            "groupKo",
                            "han",
                            "id",
                            "ko"
                          ]
                        }
                      },
                      "required": [
                        "element",
                        "elementHan",
                        "elementKo",
                        "han",
                        "index",
                        "ko",
                        "polarity",
                        "polarityKo",
                        "sipseong"
                      ]
                    },
                    "role": {
                      "type": "string"
                    },
                    "roleKo": {
                      "type": "string"
                    },
                    "roleHan": {
                      "type": "string"
                    },
                    "days": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "days",
                    "role",
                    "roleHan",
                    "roleKo",
                    "stem"
                  ]
                }
              }
            },
            "required": [
              "animalKo",
              "element",
              "elementHan",
              "elementKo",
              "han",
              "hiddenStems",
              "index",
              "ko",
              "polarity",
              "polarityKo",
              "sipseong"
            ]
          },
          "effect": {
            "type": "string",
            "examples": [
              "묶임(합)",
              "흔들림(충)"
            ]
          },
          "element": {
            "type": "string",
            "examples": [
              "fire",
              "earth"
            ]
          },
          "elementKo": {
            "type": "string",
            "examples": [
              "화",
              "토"
            ]
          },
          "reasoning": {
            "type": "string"
          }
        },
        "required": [
          "branch",
          "effect",
          "element",
          "elementKo",
          "position",
          "positionKo",
          "source"
        ]
      }
    },
    "absentArrivals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "examples": [
              "대운 계미(癸未)",
              "대운 정축(丁丑)"
            ]
          },
          "via": {
            "type": "string",
            "examples": [
              "stem",
              "branch"
            ]
          },
          "glyph": {
            "type": "string",
            "examples": [
              "계",
              "축"
            ]
          },
          "glyphHan": {
            "type": "string",
            "examples": [
              "癸",
              "丑"
            ]
          },
          "element": {
            "type": "string",
            "examples": [
              "water",
              "earth"
            ]
          },
          "ko": {
            "type": "string",
            "examples": [
              "수",
              "토"
            ]
          },
          "han": {
            "type": "string",
            "examples": [
              "水",
              "土"
            ]
          },
          "reasoning": {
            "type": "string"
          }
        },
        "required": [
          "element",
          "glyph",
          "glyphHan",
          "han",
          "ko",
          "source",
          "via"
        ]
      }
    },
    "meaning": {
      "type": "string"
    },
    "basis": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "absentArrivals",
    "disclaimer",
    "fortuneEffect",
    "systems",
    "vulnerabilities"
  ]
}