{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.supasaju.com/schemas/wealth.json",
  "title": "wealth 모듈 응답",
  "description": "실제 엔진 출력에서 생성된 스키마입니다.",
  "type": "object",
  "properties": {
    "jaeElement": {
      "type": "object",
      "properties": {
        "element": {
          "type": "string",
          "examples": [
            "water",
            "wood"
          ]
        },
        "elementKo": {
          "type": "string",
          "examples": [
            "수",
            "목"
          ]
        },
        "elementHan": {
          "type": "string",
          "examples": [
            "水",
            "木"
          ]
        }
      },
      "required": [
        "element",
        "elementHan",
        "elementKo"
      ]
    },
    "natal": {
      "type": "object",
      "properties": {
        "stars": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "position": {
                "type": "string"
              },
              "positionKo": {
                "type": "string"
              },
              "part": {
                "type": "string"
              },
              "glyph": {
                "type": "string"
              },
              "glyphHan": {
                "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": [
              "glyph",
              "glyphHan",
              "part",
              "position",
              "positionKo",
              "sipseong"
            ]
          }
        },
        "hidden": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "position": {
                "type": "string"
              },
              "positionKo": {
                "type": "string"
              },
              "part": {
                "type": "string"
              },
              "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"
                ]
              },
              "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"
                ]
              },
              "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": [
              "branch",
              "part",
              "position",
              "positionKo",
              "sipseong",
              "stem"
            ]
          }
        },
        "siksangSaengjae": {
          "type": "boolean"
        },
        "bigeopTaljae": {
          "type": "object",
          "properties": {
            "risk": {
              "type": "boolean"
            },
            "bigeopCount": {
              "type": "integer",
              "examples": [
                4,
                2
              ]
            },
            "jaeCount": {
              "type": "integer",
              "examples": [
                0,
                3
              ]
            }
          },
          "required": [
            "bigeopCount",
            "jaeCount",
            "risk"
          ]
        },
        "label": {
          "type": "string",
          "examples": [
            "암장",
            "많음"
          ]
        },
        "basis": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "bigeopTaljae",
        "hidden",
        "label",
        "siksangSaengjae",
        "stars"
      ]
    },
    "storehouse": {
      "type": "object",
      "properties": {
        "element": {
          "type": "string",
          "examples": [
            "water",
            "wood"
          ]
        },
        "elementKo": {
          "type": "string",
          "examples": [
            "수",
            "목"
          ]
        },
        "elementHan": {
          "type": "string",
          "examples": [
            "水",
            "木"
          ]
        },
        "branch": {
          "type": "object",
          "properties": {
            "index": {
              "type": "integer",
              "examples": [
                4,
                7
              ]
            },
            "han": {
              "type": "string",
              "examples": [
                "辰",
                "未"
              ]
            },
            "ko": {
              "type": "string",
              "examples": [
                "진",
                "미"
              ]
            },
            "element": {
              "type": "string",
              "examples": [
                "earth"
              ]
            },
            "elementKo": {
              "type": "string",
              "examples": [
                "토"
              ]
            },
            "elementHan": {
              "type": "string",
              "examples": [
                "土"
              ]
            },
            "polarity": {
              "type": "string",
              "examples": [
                "yang",
                "yin"
              ]
            },
            "polarityKo": {
              "type": "string",
              "examples": [
                "양",
                "음"
              ]
            },
            "animalKo": {
              "type": "string",
              "examples": [
                "용",
                "양"
              ]
            },
            "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"
          ]
        },
        "presentAt": {
          "type": "array",
          "items": {
            "type": "string",
            "examples": [
              "year",
              "day"
            ]
          }
        },
        "opened": {
          "type": "boolean"
        },
        "basis": {
          "type": "array",
          "items": {
            "type": "string",
            "examples": [
              "재성 오행 수의 고지(묘)는 진이며 원국에 연주·일주·시주 있음.",
              "재성 오행 목의 고지(묘)는 미며 원국에 일주 있음."
            ]
          }
        }
      },
      "required": [
        "branch",
        "element",
        "elementHan",
        "elementKo",
        "opened",
        "presentAt"
      ]
    },
    "capacity": {
      "type": "object",
      "properties": {
        "level": {
          "type": "string",
          "examples": [
            "여유",
            "부담"
          ]
        },
        "strengthScore": {
          "type": "number",
          "examples": [
            60,
            76
          ]
        },
        "yongsinIsJae": {
          "type": "boolean"
        },
        "meaning": {
          "type": "string"
        },
        "basis": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "level",
        "strengthScore",
        "yongsinIsJae"
      ]
    },
    "fortune": {
      "type": "object",
      "properties": {
        "decade": {
          "type": [
            "null",
            "object"
          ],
          "properties": {
            "label": {
              "type": "string",
              "examples": [
                "대운 4번째",
                "대운 3번째"
              ]
            },
            "ganji": {
              "type": "string",
              "examples": [
                "기미",
                "계미"
              ]
            },
            "ganjiHan": {
              "type": "string",
              "examples": [
                "己未",
                "癸未"
              ]
            },
            "stemSipseong": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "ko": {
                  "type": "string"
                },
                "han": {
                  "type": "string"
                },
                "group": {
                  "type": "string"
                },
                "groupKo": {
                  "type": "string"
                }
              },
              "required": [
                "group",
                "groupKo",
                "han",
                "id",
                "ko"
              ]
            },
            "branchSipseong": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "ko": {
                  "type": "string"
                },
                "han": {
                  "type": "string"
                },
                "group": {
                  "type": "string"
                },
                "groupKo": {
                  "type": "string"
                }
              },
              "required": [
                "group",
                "groupKo",
                "han",
                "id",
                "ko"
              ]
            },
            "jaeOnStem": {
              "type": "boolean"
            },
            "jaeOnBranch": {
              "type": "boolean"
            },
            "clashesNatalJae": {
              "type": "boolean"
            },
            "combinesNatalJae": {
              "type": "boolean"
            },
            "storageArrives": {
              "type": "boolean"
            },
            "reasoning": {
              "type": "string"
            }
          },
          "required": []
        },
        "year": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string",
              "examples": [
                "세운 2026"
              ]
            },
            "ganji": {
              "type": "string",
              "examples": [
                "병오"
              ]
            },
            "ganjiHan": {
              "type": "string",
              "examples": [
                "丙午"
              ]
            },
            "stemSipseong": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "ko": {
                  "type": "string"
                },
                "han": {
                  "type": "string"
                },
                "group": {
                  "type": "string"
                },
                "groupKo": {
                  "type": "string"
                }
              },
              "required": [
                "group",
                "groupKo",
                "han",
                "id",
                "ko"
              ]
            },
            "branchSipseong": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "ko": {
                  "type": "string"
                },
                "han": {
                  "type": "string"
                },
                "group": {
                  "type": "string"
                },
                "groupKo": {
                  "type": "string"
                }
              },
              "required": [
                "group",
                "groupKo",
                "han",
                "id",
                "ko"
              ]
            },
            "jaeOnStem": {
              "type": "boolean"
            },
            "jaeOnBranch": {
              "type": "boolean"
            },
            "clashesNatalJae": {
              "type": "boolean"
            },
            "combinesNatalJae": {
              "type": "boolean"
            },
            "storageArrives": {
              "type": "boolean"
            },
            "reasoning": {
              "type": "string"
            }
          },
          "required": [
            "branchSipseong",
            "clashesNatalJae",
            "combinesNatalJae",
            "ganji",
            "ganjiHan",
            "jaeOnBranch",
            "jaeOnStem",
            "label",
            "stemSipseong",
            "storageArrives"
          ]
        },
        "day": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string",
              "examples": [
                "일진 2026-09-17"
              ]
            },
            "ganji": {
              "type": "string",
              "examples": [
                "갑오"
              ]
            },
            "ganjiHan": {
              "type": "string",
              "examples": [
                "甲午"
              ]
            },
            "stemSipseong": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "ko": {
                  "type": "string"
                },
                "han": {
                  "type": "string"
                },
                "group": {
                  "type": "string"
                },
                "groupKo": {
                  "type": "string"
                }
              },
              "required": [
                "group",
                "groupKo",
                "han",
                "id",
                "ko"
              ]
            },
            "branchSipseong": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "ko": {
                  "type": "string"
                },
                "han": {
                  "type": "string"
                },
                "group": {
                  "type": "string"
                },
                "groupKo": {
                  "type": "string"
                }
              },
              "required": [
                "group",
                "groupKo",
                "han",
                "id",
                "ko"
              ]
            },
            "jaeOnStem": {
              "type": "boolean"
            },
            "jaeOnBranch": {
              "type": "boolean"
            },
            "clashesNatalJae": {
              "type": "boolean"
            },
            "combinesNatalJae": {
              "type": "boolean"
            },
            "storageArrives": {
              "type": "boolean"
            },
            "reasoning": {
              "type": "string"
            }
          },
          "required": [
            "branchSipseong",
            "clashesNatalJae",
            "combinesNatalJae",
            "ganji",
            "ganjiHan",
            "jaeOnBranch",
            "jaeOnStem",
            "label",
            "stemSipseong",
            "storageArrives"
          ]
        }
      },
      "required": [
        "day",
        "decade",
        "year"
      ]
    },
    "meaning": {
      "type": "string"
    },
    "basis": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "capacity",
    "fortune",
    "jaeElement",
    "natal",
    "storehouse"
  ]
}