@dmdata/telegram-json-types 1.1.18 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -21
- package/dist/build.js +1 -0
- package/dist/jschema/earthquake-counts_1.0.0.json +1 -1
- package/dist/jschema/earthquake-explanation_1.0.0.json +1 -1
- package/dist/jschema/earthquake-hypocenter-update_1.0.0.json +1 -1
- package/dist/jschema/earthquake-information_1.0.0.json +1 -1
- package/dist/jschema/earthquake-information_1.1.0.json +1 -1
- package/dist/jschema/earthquake-nankai_1.0.0.json +1 -1
- package/dist/jschema/eew-information_1.0.0.json +1 -1
- package/dist/jschema/forecast-2week-temperature_1.0.0.json +1 -1
- package/dist/jschema/forecast-prefecture_1.0.0.json +1 -1
- package/dist/jschema/forecast-season_1.0.0.json +1 -1
- package/dist/jschema/forecast-warning-possibility_1.0.0.json +1 -1
- package/dist/jschema/forecast-warning-possibility_1.1.0.json +1 -0
- package/dist/jschema/forecast-weathermap_1.0.0.json +1 -1
- package/dist/jschema/tsunami-information_1.0.0.json +1 -1
- package/dist/jschema/tsunami-information_1.1.0.json +1 -1
- package/dist/jschema/volcano-information_1.0.0.json +1 -1
- package/dist/jschema/weather-commentary_1.0.0.json +1 -0
- package/dist/jschema/weather-early_1.0.0.json +1 -1
- package/dist/jschema/weather-impact-society_1.0.0.json +1 -1
- package/dist/jschema/weather-impact-society_1.0.1.json +1 -1
- package/dist/jschema/weather-information_1.0.0.json +1 -1
- package/dist/jschema/weather-landslide_1.0.0.json +1 -1
- package/dist/jschema/weather-river-flood_1.0.0.json +1 -1
- package/dist/jschema/weather-tornado_1.0.0.json +1 -1
- package/dist/jschema/weather-typhoon_1.0.0.json +1 -1
- package/dist/jschema/weather-warning-timeseries_1.0.0.json +1 -0
- package/dist/jschema/weather-warning_1.0.0.json +1 -1
- package/dist/jschema/weather-warning_1.1.0.json +1 -0
- package/dist/jschema-load.js +3 -36
- package/package.json +5 -5
- package/test/sample-schema-check.test.ts +3 -1
- package/tsconfig.json +3 -1
- package/types/component/index.d.ts +17 -14
- package/types/component/util.d.ts +20 -0
- package/types/index.d.ts +8 -0
- package/types/schema/earthquake-information/1.1.0.d.ts +2 -2
- package/types/schema/forecast-prefecture/1.0.0.d.ts +12 -1
- package/types/schema/forecast-warning-possibility/1.0.0.d.ts +14 -8
- package/types/schema/forecast-warning-possibility/1.1.0.d.ts +129 -0
- package/types/schema/forecast-warning-possibility/index.d.ts +9 -7
- package/types/schema/weather-commentary/1.0.0.d.ts +984 -0
- package/types/schema/weather-commentary/index.d.ts +7 -0
- package/types/schema/weather-early/1.0.0.d.ts +1 -0
- package/types/schema/weather-impact-society/1.0.0.d.ts +1 -0
- package/types/schema/weather-impact-society/1.0.1.d.ts +1 -0
- package/types/schema/weather-tornado/1.0.0.d.ts +4 -0
- package/types/schema/weather-typhoon/1.0.0.d.ts +14 -2
- package/types/schema/weather-warning/1.0.0.d.ts +1 -0
- package/types/schema/weather-warning/1.1.0.d.ts +469 -0
- package/types/schema/weather-warning/index.d.ts +9 -7
- package/types/schema/weather-warning-timeseries/1.0.0.d.ts +385 -0
- package/types/schema/weather-warning-timeseries/index.d.ts +7 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"object","properties":{"_schema":{"$ref":"#/definitions/WeatherWarning.Schema"},"type":{"enum":["気象警報・注意報(R06)(その他注意報)","気象警報・注意報(R06)(土砂)","気象警報・注意報(R06)(大雨)","気象警報・注意報(R06)(大雪)","気象警報・注意報(R06)(暴風)","気象警報・注意報(R06)(波浪)","気象警報・注意報(R06)(集約通報)","気象警報・注意報(R06)(高潮)"],"type":"string"},"title":{"type":"string"},"infoType":{"enum":["発表","訂正"],"type":"string"},"eventId":{"type":"null"},"serialNo":{"type":"null"},"infoKind":{"type":"string","const":"気象警報・注意報"},"body":{"$ref":"#/definitions/WeatherWarning.PublicBodyWarning"},"_originalId":{"type":"string"},"status":{"enum":["訓練","試験","通常"],"type":"string"},"editorialOffice":{"type":"string"},"publishingOffice":{"type":"array","items":{"type":"string"}},"pressDateTime":{"type":"string"},"reportDateTime":{"type":"string"},"targetDateTime":{"type":"string"},"infoKindVersion":{"type":"string"},"headline":{"type":["null","string"]}},"additionalProperties":false,"required":["_originalId","_schema","body","editorialOffice","eventId","headline","infoKind","infoKindVersion","infoType","pressDateTime","publishingOffice","reportDateTime","serialNo","status","targetDateTime","title","type"],"definitions":{"WeatherWarning.Schema":{"type":"object","properties":{"type":{"type":"string","const":"weather-warning"},"version":{"type":"string","const":"1.1.0"}},"additionalProperties":false,"required":["type","version"]},"WeatherWarning.PublicBodyWarning":{"anyOf":[{"$ref":"#/definitions/WeatherWarning.PublicBodyVPWW55"},{"$ref":"#/definitions/WeatherWarning.PublicBodyVPWW56"},{"$ref":"#/definitions/WeatherWarning.PublicBodyVPWW57"},{"$ref":"#/definitions/WeatherWarning.PublicBodyVPWW58"},{"$ref":"#/definitions/WeatherWarning.PublicBodyVPWW59"},{"$ref":"#/definitions/WeatherWarning.PublicBodyVPWW60"},{"$ref":"#/definitions/WeatherWarning.PublicBodyVPWW61"},{"$ref":"#/definitions/WeatherWarning.PublicBodyVPWS50"}]},"WeatherWarning.PublicBodyVPWW55":{"additionalProperties":false,"type":"object","properties":{"prefectures":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"regions":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"areas":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"cities":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCity%3C%5BWeatherWarning.WarningCityKindRain%5D%3E"}}},"required":["areas","cities","prefectures","regions"]},"WeatherWarning.WarningArea<WeatherWarning.WarningAreaKind>":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","condition","kinds","name"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningAreaKind"}},"fullStatus":{"enum":["一部","全域"],"type":"string"},"editingMark":{"type":"boolean"},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","editingMark","fullStatus","kinds","name"]}]},"WeatherWarning.WarningAreaKind":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","解除","警報から注意報"],"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"dateTime":{"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"required":["code","name","status"]},"WeatherWarning.LastKind":{"type":"object","properties":{"condition":{"const":"氾濫発生","type":"string"},"code":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false,"required":["code","name"]},"WeatherWarning.WarningCity<[WeatherWarning.WarningCityKindRain]>":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","condition","kinds","name"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningCityKindRain"}],"minItems":1,"maxItems":1},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","kinds","name"]}]},"WeatherWarning.WarningCityKindRain":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"type":"string","const":"解除"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"}},"required":["code","lastKind","name","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]}]},"WeatherWarning.WarningPropertyRisk":{"type":"object","properties":{"type":{"$ref":"#/definitions/WeatherWarning.RiskTypes"},"significancyPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"significancy":{"$ref":"#/definitions/WeatherWarning.Significancy"},"peakTime":{"$ref":"#/definitions/WeatherWarning.PeakTime"},"attentions":{"type":"array","items":{"type":"string"}},"additions":{"type":"array","items":{"type":"string"}}},"required":["significancy"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.SignificancyLocal"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]},"criteriaPeriod":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"sentence":{"type":"string"},"criterion":{"$ref":"#/definitions/WeatherWarning.Criterion"},"time":{"type":"string"},"duration":{"type":"string"}},"required":["criterion","sentence","time"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.CriteriaPeriodLocal"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}},"additionalProperties":false,"required":["significancyPart","type"]},"WeatherWarning.RiskTypes":{"description":"危険度","enum":["なだれ危険度","乾燥危険度","低温危険度","土砂災害危険度","大雨浸水危険度","波危険度","濃霧危険度","着氷危険度","着雪危険度","融雪危険度","雪危険度","雷危険度","霜危険度","風危険度","高潮危険度"],"type":"string"},"WeatherWarning.Significancy":{"type":"object","properties":{"type":{"$ref":"#/definitions/WeatherWarning.RiskTypes"},"code":{"enum":["00","01","11","20","21","22","30","31","41","50","51"],"type":"string"},"name":{"enum":["値なし","注意報級","注意報級未満","特別警報級","警報級","警戒レベル2","警戒レベル2未満","警戒レベル2相当","警戒レベル3相当","警戒レベル4相当","警戒レベル5相当"],"type":"string"}},"additionalProperties":false,"required":["code","name","type"]},"WeatherWarning.PeakTime":{"type":"object","properties":{"date":{"type":"string"},"term":{"type":"string"}},"additionalProperties":false,"required":["date","term"]},"WeatherWarning.SignificancyLocal":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"significancy":{"$ref":"#/definitions/WeatherWarning.Significancy"},"peakTime":{"$ref":"#/definitions/WeatherWarning.PeakTime"},"attentions":{"type":"array","items":{"type":"string"}},"additions":{"type":"array","items":{"type":"string"}}},"required":["name","significancy"]},"WeatherWarning.Criterion":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false,"required":["code","name"]},"WeatherWarning.CriteriaPeriodLocal":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"sentence":{"type":"string"},"criterion":{"$ref":"#/definitions/WeatherWarning.Criterion"},"time":{"type":"string"},"duration":{"type":"string"}},"required":["criterion","name","sentence","time"]},"WeatherWarning.PublicBodyVPWW56":{"additionalProperties":false,"type":"object","properties":{"offices":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.Office"}},"comment":{"$ref":"#/definitions/WeatherWarning.Comment"},"prefectures":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"regions":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"areas":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"cities":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCity%3C%5BWeatherWarning.WarningCityKindLandslide%5D%3E"}}},"required":["areas","cities","prefectures","regions"]},"WeatherWarning.Office":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false,"required":["name","type"]},"WeatherWarning.Comment":{"type":"object","properties":{"texts":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.CommentText"}}},"additionalProperties":false,"required":["texts"]},"WeatherWarning.CommentText":{"type":"object","properties":{"type":{"enum":["レベル2土砂災害危険警報の補足情報","レベル3土砂災害危険警報の補足情報","レベル4土砂災害危険警報の補足情報","レベル5土砂災害危険警報の補足情報"],"type":"string"},"text":{"type":"string"}},"additionalProperties":false,"required":["text","type"]},"WeatherWarning.WarningCity<[WeatherWarning.WarningCityKindLandslide]>":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","condition","kinds","name"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningCityKindLandslide"}],"minItems":1,"maxItems":1},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","kinds","name"]}]},"WeatherWarning.WarningCityKindLandslide":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"type":"string","const":"解除"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"}},"required":["code","lastKind","name","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]}]},"WeatherWarning.PublicBodyVPWW57":{"additionalProperties":false,"type":"object","properties":{"stormSurgeSections":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningStormSurgeSection"}},"offices":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.Office"}},"references":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.TidalWarningReference"}},"prefectures":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"regions":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"areas":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"cities":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCity%3C%5BWeatherWarning.WarningCityKindStormSurge%5D%3E"}}},"required":["areas","cities","prefectures","regions"]},"WeatherWarning.WarningStormSurgeSection":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"codeType":{"type":"string","const":"高潮予報区間"},"name":{"type":"string"},"subCity":{"$ref":"#/definitions/WeatherWarning.WarningStormSurgeSectionSubCity"},"location":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningStormSurgeSectionKind"}],"minItems":1,"maxItems":1},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","codeType","kinds","location","name","subCity"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"codeType":{"type":"string","const":"高潮予報区間"},"name":{"type":"string"},"subCity":{"$ref":"#/definitions/WeatherWarning.WarningStormSurgeSectionSubCity"},"location":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","codeType","condition","kinds","location","name","subCity"]}]},"WeatherWarning.WarningStormSurgeSectionSubCity":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"required":["names"]},"WeatherWarning.WarningStormSurgeSectionKind":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"type":"string","const":"解除"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"}},"required":["code","lastKind","name","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"$ref":"#/definitions/WeatherWarning.WarningPropertiesStormSurgeSection"}},"required":["code","name","properties","status"]}]},"WeatherWarning.WarningPropertiesStormSurgeSection":{"anyOf":[{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyExceedingStormSurgeStandards"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyStormSurgePeak"}],"minItems":3,"maxItems":3},{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyExceedingStormSurgeStandards"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyStormSurgePeak"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyStormSurgeObservation"}],"minItems":4,"maxItems":4}]},"WeatherWarning.WarningPropertyExceedingStormSurgeStandards":{"type":"object","properties":{"type":{"type":"string","const":"高潮基準超過"},"waveHeightPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"waveHeight":{"$ref":"#/definitions/WeatherWarning.WaveHeight%3C%22%E3%81%86%E3%81%A1%E3%81%82%E3%81%92%E9%AB%98%E6%B0%B4%E4%BD%8D%22%3E"},"time":{"type":"string"}},"required":["waveHeight"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WaveHeightLocal%3C%22%E3%81%86%E3%81%A1%E3%81%82%E3%81%92%E9%AB%98%E6%B0%B4%E4%BD%8D%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]},"tidalLevelPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"tidalLevel":{"$ref":"#/definitions/WeatherWarning.TidalLevel%3C%22%E6%BD%AE%E4%BD%8D%22%3E"},"time":{"type":"string"}},"required":["tidalLevel"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.TidalLevelLocal%3C%22%E6%BD%AE%E4%BD%8D%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}},"additionalProperties":false,"required":["tidalLevelPart","type"]},"WeatherWarning.WaveHeight<\"うちあげ高水位\">":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"うちあげ高水位"},"value":{"type":"string"},"unit":{"type":"string","const":"m"}},"additionalProperties":false,"required":["type","unit","value"]},{"type":"object","properties":{"type":{"type":"string","const":"うちあげ高水位"},"value":{"type":"null"},"unit":{"type":"string","const":"m"},"condition":{"type":"string","const":"値なし"}},"additionalProperties":false,"required":["condition","type","unit","value"]}]},"WeatherWarning.WaveHeightLocal<\"うちあげ高水位\">":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"waveHeight":{"$ref":"#/definitions/WeatherWarning.WaveHeight%3C%22%E3%81%86%E3%81%A1%E3%81%82%E3%81%92%E9%AB%98%E6%B0%B4%E4%BD%8D%22%3E"},"time":{"type":"string"}},"required":["name","waveHeight"]},"WeatherWarning.TidalLevel<\"潮位\">":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"潮位"},"value":{"type":"string"},"unit":{"type":"string","const":"m"}},"additionalProperties":false,"required":["type","unit","value"]},{"type":"object","properties":{"type":{"type":"string","const":"潮位"},"value":{"type":"null"},"unit":{"type":"string","const":"m"},"condition":{"type":"string","const":"値なし"}},"additionalProperties":false,"required":["condition","type","unit","value"]}]},"WeatherWarning.TidalLevelLocal<\"潮位\">":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"tidalLevel":{"$ref":"#/definitions/WeatherWarning.TidalLevel%3C%22%E6%BD%AE%E4%BD%8D%22%3E"},"time":{"type":"string"}},"required":["name","tidalLevel"]},"WeatherWarning.WarningPropertyStormSurgePeak":{"type":"object","properties":{"type":{"type":"string","const":"高潮ピーク"},"waveHeightPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"waveHeight":{"$ref":"#/definitions/WeatherWarning.WaveHeight%3C%22%E3%81%86%E3%81%A1%E3%81%82%E3%81%92%E9%AB%98%E6%B0%B4%E4%BD%8D%22%3E"},"time":{"type":"string"}},"required":["waveHeight"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WaveHeightLocal%3C%22%E3%81%86%E3%81%A1%E3%81%82%E3%81%92%E9%AB%98%E6%B0%B4%E4%BD%8D%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]},"tidalLevelPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"tidalLevel":{"$ref":"#/definitions/WeatherWarning.TidalLevel%3C%22%E6%BD%AE%E4%BD%8D%22%3E"},"time":{"type":"string"}},"required":["tidalLevel"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.TidalLevelLocal%3C%22%E6%BD%AE%E4%BD%8D%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}},"additionalProperties":false,"required":["tidalLevelPart","type"]},"WeatherWarning.WarningPropertyStormSurgeObservation":{"type":"object","properties":{"type":{"type":"string","const":"観測"},"tidalLevelPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"tidalLevel":{"$ref":"#/definitions/WeatherWarning.TidalLevel%3C%22%E6%9C%80%E9%AB%98%E6%BD%AE%E4%BD%8D%22%3E"},"time":{"type":"string"}},"required":["tidalLevel"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.TidalLevelLocal%3C%22%E6%9C%80%E9%AB%98%E6%BD%AE%E4%BD%8D%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]},"eventPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"sentence":{"type":"string"},"location":{"type":"string"},"event":{"$ref":"#/definitions/WeatherWarning.Event"}},"required":["event","location","sentence"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.EventLocal"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}},"additionalProperties":false,"required":["type"]},"WeatherWarning.TidalLevel<\"最高潮位\">":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"最高潮位"},"value":{"type":"string"},"unit":{"type":"string","const":"m"}},"additionalProperties":false,"required":["type","unit","value"]},{"type":"object","properties":{"type":{"type":"string","const":"最高潮位"},"value":{"type":"null"},"unit":{"type":"string","const":"m"},"condition":{"type":"string","const":"値なし"}},"additionalProperties":false,"required":["condition","type","unit","value"]}]},"WeatherWarning.TidalLevelLocal<\"最高潮位\">":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"tidalLevel":{"$ref":"#/definitions/WeatherWarning.TidalLevel%3C%22%E6%9C%80%E9%AB%98%E6%BD%AE%E4%BD%8D%22%3E"},"time":{"type":"string"}},"required":["name","tidalLevel"]},"WeatherWarning.Event":{"type":"object","properties":{"type":{"type":"string","const":"高潮"},"eventName":{"type":"string"},"time":{"type":"string"}},"additionalProperties":false,"required":["eventName","type"]},"WeatherWarning.EventLocal":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"sentence":{"type":"string"},"location":{"type":"string"},"event":{"$ref":"#/definitions/WeatherWarning.Event"}},"required":["event","location","name","sentence"]},"WeatherWarning.TidalWarningReference":{"type":"object","properties":{"codeType":{"type":"string","const":"高潮予報区間"},"subCity":{"$ref":"#/definitions/WeatherWarning.TidalWarningReferenceSubCity"},"location":{"type":"string"},"chargeSections":{"type":"array","items":{"type":"string"}},"stations":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.HydrometricStation"}},"code":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false,"required":["chargeSections","code","codeType","location","name","stations","subCity"]},"WeatherWarning.TidalWarningReferenceSubCity":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string"}},"codes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false,"required":["codes","names"]},"WeatherWarning.HydrometricStation":{"type":"object","properties":{"name":{"type":"string"},"location":{"type":"string"},"chargeSections":{"type":"array","items":{"type":"string"}},"criteria":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.Criteria"}}},"additionalProperties":false,"required":["criteria","location","name"]},"WeatherWarning.Criteria":{"type":"object","properties":{"waterLevels":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.CriteriaWaterLevel"}}},"additionalProperties":false,"required":["waterLevels"]},"WeatherWarning.CriteriaWaterLevel":{"type":"object","properties":{"type":{"type":"string"},"unit":{"type":"string","const":"m"},"value":{"type":["null","string"]},"condition":{"enum":["値なし","有効"],"type":"string"}},"additionalProperties":false,"required":["condition","type","unit","value"]},"WeatherWarning.WarningCity<[WeatherWarning.WarningCityKindStormSurge]>":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","condition","kinds","name"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningCityKindStormSurge"}],"minItems":1,"maxItems":1},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","kinds","name"]}]},"WeatherWarning.WarningCityKindStormSurge":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"type":"string","const":"解除"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"}},"required":["code","lastKind","name","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyExceedingStormSurgeStandards"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyStormSurgePeak"}],"minItems":3,"maxItems":3}},"required":["code","name","properties","status"]}]},"WeatherWarning.PublicBodyVPWW58":{"additionalProperties":false,"type":"object","properties":{"prefectures":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"regions":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"areas":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"cities":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCity%3CWeatherWarning.WarningCityKindWind%5B%5D%3E"}}},"required":["areas","cities","prefectures","regions"]},"WeatherWarning.WarningCity<WeatherWarning.WarningCityKindWind[]>":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","condition","kinds","name"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCityKindWind"}},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","kinds","name"]}]},"WeatherWarning.WarningCityKindWind":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"type":"string","const":"解除"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"}},"required":["code","lastKind","name","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyWind"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]}]},"WeatherWarning.WarningPropertyWind":{"type":"object","properties":{"type":{"type":"string","const":"風"},"windDirectionPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"direction":{"$ref":"#/definitions/WeatherWarning.Direction"}},"required":["direction"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WindDirectionLocal"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]},"windSpeedPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"speed":{"$ref":"#/definitions/WeatherWarning.Speed"}},"required":["speed"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WindSpeedLocal"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}},"additionalProperties":false,"required":["type","windDirectionPart","windSpeedPart"]},"WeatherWarning.Direction":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"風向"},"value":{"type":"string"},"unit":{"type":"string","const":"8方位漢字"},"condition":{"const":"風雪","type":"string"}},"additionalProperties":false,"required":["type","unit","value"]},{"type":"object","properties":{"type":{"type":"string","const":"風向"},"value":{"type":"null"},"unit":{"type":"string","const":"8方位漢字"},"condition":{"type":"string","const":"値なし"}},"additionalProperties":false,"required":["condition","type","unit","value"]}]},"WeatherWarning.WindDirectionLocal":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"direction":{"$ref":"#/definitions/WeatherWarning.Direction"}},"required":["direction","name"]},"WeatherWarning.Speed":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"最大風速"},"value":{"type":"string"},"unit":{"type":"string","const":"m/s"},"condition":{"const":"風雪","type":"string"}},"additionalProperties":false,"required":["type","unit","value"]},{"type":"object","properties":{"type":{"type":"string","const":"最大風速"},"value":{"type":"null"},"unit":{"type":"string","const":"m/s"},"condition":{"type":"string","const":"値なし"}},"additionalProperties":false,"required":["condition","type","unit","value"]}]},"WeatherWarning.WindSpeedLocal":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"speed":{"$ref":"#/definitions/WeatherWarning.Speed"}},"required":["name","speed"]},"WeatherWarning.PublicBodyVPWW59":{"additionalProperties":false,"type":"object","properties":{"prefectures":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"regions":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"areas":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"cities":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCity%3C%5BWeatherWarning.WarningCityKindWave%5D%3E"}}},"required":["areas","cities","prefectures","regions"]},"WeatherWarning.WarningCity<[WeatherWarning.WarningCityKindWave]>":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","condition","kinds","name"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningCityKindWave"}],"minItems":1,"maxItems":1},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","kinds","name"]}]},"WeatherWarning.WarningCityKindWave":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"type":"string","const":"解除"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"}},"required":["code","lastKind","name","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyWave"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]}]},"WeatherWarning.WarningPropertyWave":{"type":"object","properties":{"type":{"type":"string","const":"波"},"waveHeightPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"waveHeight":{"$ref":"#/definitions/WeatherWarning.WaveHeight%3C%22%E6%B3%A2%E9%AB%98%22%3E"},"time":{"type":"string"}},"required":["waveHeight"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WaveHeightLocal%3C%22%E6%B3%A2%E9%AB%98%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}},"additionalProperties":false,"required":["type","waveHeightPart"]},"WeatherWarning.WaveHeight<\"波高\">":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"波高"},"value":{"type":"string"},"unit":{"type":"string","const":"m"}},"additionalProperties":false,"required":["type","unit","value"]},{"type":"object","properties":{"type":{"type":"string","const":"波高"},"value":{"type":"null"},"unit":{"type":"string","const":"m"},"condition":{"type":"string","const":"値なし"}},"additionalProperties":false,"required":["condition","type","unit","value"]}]},"WeatherWarning.WaveHeightLocal<\"波高\">":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"waveHeight":{"$ref":"#/definitions/WeatherWarning.WaveHeight%3C%22%E6%B3%A2%E9%AB%98%22%3E"},"time":{"type":"string"}},"required":["name","waveHeight"]},"WeatherWarning.PublicBodyVPWW60":{"additionalProperties":false,"type":"object","properties":{"prefectures":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"regions":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"areas":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"cities":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCity%3C%5BWeatherWarning.WarningCityKindSnow%5D%3E"}}},"required":["areas","cities","prefectures","regions"]},"WeatherWarning.WarningCity<[WeatherWarning.WarningCityKindSnow]>":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","condition","kinds","name"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningCityKindSnow"}],"minItems":1,"maxItems":1},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","kinds","name"]}]},"WeatherWarning.WarningCityKindSnow":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"type":"string","const":"解除"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"}},"required":["code","lastKind","name","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertySnow"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]}]},"WeatherWarning.WarningPropertySnow":{"type":"object","properties":{"type":{"type":"string","const":"雪"},"snowfallDepthPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"snowfallDepths":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.SnowfallDepth%3CWeatherWarning.SnowfallDepthTypes%3E"}}},"required":["snowfallDepths"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.SnowfallDepthLocal%3CWeatherWarning.SnowfallDepthTypes%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}},"additionalProperties":false,"required":["snowfallDepthPart","type"]},"WeatherWarning.SnowfallDepth<WeatherWarning.SnowfallDepthTypes>":{"type":"object","properties":{"type":{"$ref":"#/definitions/WeatherWarning.SnowfallDepth.Type"},"unit":{"type":"string","const":"cm"},"value":{"type":"string"}},"additionalProperties":false,"required":["type","unit","value"]},"WeatherWarning.SnowfallDepth.Type":{"enum":["12時間最大降雪量","24時間最大降雪量","6時間最大降雪量"],"type":"string"},"WeatherWarning.SnowfallDepthLocal<WeatherWarning.SnowfallDepthTypes>":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"snowfallDepths":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.SnowfallDepth%3CWeatherWarning.SnowfallDepthTypes%3E"}}},"required":["name","snowfallDepths"]},"WeatherWarning.PublicBodyVPWW61":{"additionalProperties":false,"type":"object","properties":{"prefectures":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"regions":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"areas":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"cities":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCity%3CWeatherWarning.WarningCityKindAdvisory%5B%5D%3E"}}},"required":["areas","cities","prefectures","regions"]},"WeatherWarning.WarningCity<WeatherWarning.WarningCityKindAdvisory[]>":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","condition","kinds","name"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCityKindAdvisory"}},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","kinds","name"]}]},"WeatherWarning.WarningCityKindAdvisory":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"type":"string","const":"解除"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"}},"required":["code","lastKind","name","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyVisibility"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyDryAir"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]}]},"WeatherWarning.WarningPropertyVisibility":{"type":"object","properties":{"type":{"type":"string","const":"濃霧"},"visibilityPart":{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"visibility":{"$ref":"#/definitions/WeatherWarning.Visibility"}},"required":["visibility"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.VisibilityLocal"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}},"additionalProperties":false,"required":["type","visibilityPart"]},"WeatherWarning.Visibility":{"type":"object","properties":{"type":{"type":"string","const":"視程"},"unit":{"enum":["km","m"],"type":"string"},"value":{"type":"string"},"condition":{"type":"string","const":"以下"}},"additionalProperties":false,"required":["condition","type","unit","value"]},"WeatherWarning.VisibilityLocal":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"visibility":{"$ref":"#/definitions/WeatherWarning.Visibility"}},"required":["name","visibility"]},"WeatherWarning.WarningPropertyDryAir":{"type":"object","properties":{"type":{"type":"string","const":"乾燥"},"humidityParts":{"anyOf":[{"type":"array","items":[{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"humidity":{"$ref":"#/definitions/WeatherWarning.Humidity%3C%22%E5%AE%9F%E5%8A%B9%E6%B9%BF%E5%BA%A6%22%3E"}},"required":["humidity"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.HumidityLocal%3C%22%E5%AE%9F%E5%8A%B9%E6%B9%BF%E5%BA%A6%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]},{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"humidity":{"$ref":"#/definitions/WeatherWarning.Humidity%3C%22%E6%9C%80%E5%B0%8F%E6%B9%BF%E5%BA%A6%22%3E"}},"required":["humidity"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.HumidityLocal%3C%22%E6%9C%80%E5%B0%8F%E6%B9%BF%E5%BA%A6%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}],"minItems":2,"maxItems":2},{"type":"array","items":[{"anyOf":[{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"humidity":{"$ref":"#/definitions/WeatherWarning.Humidity%3C%22%E5%AE%9F%E5%8A%B9%E6%B9%BF%E5%BA%A6%22%3E"}},"required":["humidity"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.HumidityLocal%3C%22%E5%AE%9F%E5%8A%B9%E6%B9%BF%E5%BA%A6%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]},{"type":"object","properties":{"base":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"humidity":{"$ref":"#/definitions/WeatherWarning.Humidity%3C%22%E6%9C%80%E5%B0%8F%E6%B9%BF%E5%BA%A6%22%3E"}},"required":["humidity"]},{"additionalProperties":false,"type":"object","properties":{"locals":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.HumidityLocal%3C%22%E6%9C%80%E5%B0%8F%E6%B9%BF%E5%BA%A6%22%3E"}}},"required":["locals"]}]}},"additionalProperties":false,"required":["base"]}]}],"minItems":1,"maxItems":1}]}},"additionalProperties":false,"required":["humidityParts","type"]},"WeatherWarning.Humidity<\"実効湿度\">":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"実効湿度"},"value":{"type":"string"},"unit":{"type":"string","const":"%"}},"additionalProperties":false,"required":["type","unit","value"]},{"type":"object","properties":{"type":{"type":"string","const":"実効湿度"},"value":{"type":"null"},"unit":{"type":"string","const":"%"},"condition":{"type":"string","const":"値なし"}},"additionalProperties":false,"required":["condition","type","unit","value"]}]},"WeatherWarning.HumidityLocal<\"実効湿度\">":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"humidity":{"$ref":"#/definitions/WeatherWarning.Humidity%3C%22%E5%AE%9F%E5%8A%B9%E6%B9%BF%E5%BA%A6%22%3E"}},"required":["humidity","name"]},"WeatherWarning.Humidity<\"最小湿度\">":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"最小湿度"},"value":{"type":"string"},"unit":{"type":"string","const":"%"}},"additionalProperties":false,"required":["type","unit","value"]},{"type":"object","properties":{"type":{"type":"string","const":"最小湿度"},"value":{"type":"null"},"unit":{"type":"string","const":"%"},"condition":{"type":"string","const":"値なし"}},"additionalProperties":false,"required":["condition","type","unit","value"]}]},"WeatherWarning.HumidityLocal<\"最小湿度\">":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"humidity":{"$ref":"#/definitions/WeatherWarning.Humidity%3C%22%E6%9C%80%E5%B0%8F%E6%B9%BF%E5%BA%A6%22%3E"}},"required":["humidity","name"]},"WeatherWarning.PublicBodyVPWS50":{"additionalProperties":false,"type":"object","properties":{"prefectures":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"regions":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"areas":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningArea%3CWeatherWarning.WarningAreaKind%3E"}},"cities":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCity%3CWeatherWarning.WarningCityKind%5B%5D%3E"}}},"required":["areas","cities","prefectures","regions"]},"WeatherWarning.WarningCity<WeatherWarning.WarningCityKind[]>":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","minItems":0,"maxItems":0},"condition":{"type":"string","const":"発表警報・注意報はなし"}},"required":["code","condition","kinds","name"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"kinds":{"type":"array","items":{"$ref":"#/definitions/WeatherWarning.WarningCityKind"}},"changeStatus":{"enum":["変化無","警報・注意報種別に変化有","警報・注意報種別に変化無、量的予想事項等に変化有"],"type":"string"}},"required":["changeStatus","code","kinds","name"]}]},"WeatherWarning.WarningCityKind":{"anyOf":[{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"type":"string","const":"解除"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"}},"required":["code","lastKind","name","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyWind"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertySnow"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyWave"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyExceedingStormSurgeStandards"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyStormSurgePeak"}],"minItems":3,"maxItems":3}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyVisibility"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"},{"$ref":"#/definitions/WeatherWarning.WarningPropertyDryAir"}],"minItems":2,"maxItems":2}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]},{"additionalProperties":false,"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"dateTime":{"type":"string"},"condition":{"const":"氾濫発生","type":"string"},"status":{"enum":["危険警報から注意報","危険警報から警報","特別警報から危険警報","特別警報から注意報","特別警報から警報","発表","継続","警報から注意報"],"type":"string"},"lastKind":{"$ref":"#/definitions/WeatherWarning.LastKind"},"additions":{"type":"array","items":{"type":"string"}},"properties":{"type":"array","items":[{"$ref":"#/definitions/WeatherWarning.WarningPropertyRisk"}],"minItems":1,"maxItems":1}},"required":["code","name","properties","status"]}]}},"$schema":"http://json-schema.org/draft-07/schema#"}
|
package/dist/jschema-load.js
CHANGED
|
@@ -1,42 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
3
|
exports.getJSchema = getJSchema;
|
|
37
4
|
const node_fs_1 = require("node:fs");
|
|
5
|
+
const promises_1 = require("node:fs/promises");
|
|
38
6
|
const node_path_1 = require("node:path");
|
|
39
|
-
const node_url_1 = require("node:url");
|
|
40
7
|
const config_1 = require("./config");
|
|
41
8
|
const schemas = new Map();
|
|
42
9
|
const jschemaList = (0, node_fs_1.readdirSync)(config_1.distDir)
|
|
@@ -45,7 +12,7 @@ const jschemaList = (0, node_fs_1.readdirSync)(config_1.distDir)
|
|
|
45
12
|
jschemaList.forEach(file => {
|
|
46
13
|
const [, schemaName, schemaVersion] = file.match(/^([\w-]+)_(\w+\.\w+\.\w+)\.json$/) ?? [];
|
|
47
14
|
const schemaVersions = schemas.get(schemaName) ?? schemas.set(schemaName, new Map()).get(schemaName);
|
|
48
|
-
const jschemaFile = (0,
|
|
15
|
+
const jschemaFile = (0, node_path_1.resolve)(config_1.distDir, file);
|
|
49
16
|
schemaVersions?.set(schemaVersion, jschemaFile);
|
|
50
17
|
schemaVersions?.set('latest', jschemaFile);
|
|
51
18
|
});
|
|
@@ -54,5 +21,5 @@ async function getJSchema(name, version = 'latest') {
|
|
|
54
21
|
if (!filePath) {
|
|
55
22
|
return null;
|
|
56
23
|
}
|
|
57
|
-
return await
|
|
24
|
+
return JSON.parse(await (0, promises_1.readFile)(filePath, 'utf-8'));
|
|
58
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dmdata/telegram-json-types",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build:jschema": "npx tsc --project jschema/tsconfig.json",
|
|
6
6
|
"build:dist-jschema": "node ./dist/build.js",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"author": "",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@types/jest": "^
|
|
23
|
-
"@types/node": "^24.
|
|
24
|
-
"ajv": "^8.
|
|
22
|
+
"@types/jest": "^30.0.0",
|
|
23
|
+
"@types/node": "^24.12.0",
|
|
24
|
+
"ajv": "^8.18.0",
|
|
25
25
|
"tsx": "^4.21.0",
|
|
26
|
-
"typescript": "^
|
|
26
|
+
"typescript": "^6.0.2",
|
|
27
27
|
"typescript-json-schema": "^0.67.1"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
@@ -18,10 +18,12 @@ const checkSchemaTypes = [
|
|
|
18
18
|
'forecast-weathermap',
|
|
19
19
|
'tsunami-information',
|
|
20
20
|
'volcano-information',
|
|
21
|
+
'weather-commentary',
|
|
21
22
|
'weather-information',
|
|
22
23
|
'weather-impact-society',
|
|
23
24
|
'weather-early',
|
|
24
25
|
'weather-warning',
|
|
26
|
+
'weather-warning-timeseries',
|
|
25
27
|
'weather-tornado',
|
|
26
28
|
'weather-typhoon',
|
|
27
29
|
'weather-landslide',
|
|
@@ -53,7 +55,7 @@ for (const schemaType of checkSchemaTypes) {
|
|
|
53
55
|
|
|
54
56
|
|
|
55
57
|
async function getList(schemaType: string) {
|
|
56
|
-
const query = new URLSearchParams({ prefix: `conversion/json/schema/${schemaType}
|
|
58
|
+
const query = new URLSearchParams({ prefix: `conversion/json/schema/${schemaType}/`, delimiter: '' });
|
|
57
59
|
const url = `${sampleUrl}/?` + query.toString();
|
|
58
60
|
|
|
59
61
|
return await fetch(url, { headers: { accept: 'application/xml' } })
|
package/tsconfig.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { CodeName } from './code-name';
|
|
2
|
-
import { Coordinate } from './coordinate';
|
|
3
|
-
import { Earthquake } from './earthquake';
|
|
4
|
-
import { UnitValue, UnitValueNotNull } from './unit-value';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
1
|
+
import { CodeName } from './code-name';
|
|
2
|
+
import { Coordinate } from './coordinate';
|
|
3
|
+
import { Earthquake } from './earthquake';
|
|
4
|
+
import { UnitValue, UnitValueNotNull } from './unit-value';
|
|
5
|
+
import { Util } from './util';
|
|
6
|
+
|
|
7
|
+
export namespace Components {
|
|
8
|
+
export {
|
|
9
|
+
CodeName,
|
|
10
|
+
Coordinate,
|
|
11
|
+
Earthquake,
|
|
12
|
+
UnitValue,
|
|
13
|
+
UnitValueNotNull
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { Util };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export namespace Util {
|
|
2
|
+
export type Prohibit<T extends object, NK extends keyof T> = { [P in Exclude<keyof T, NK>]: T[P] } & { [P in Extract<keyof T, NK>]?: never; };
|
|
3
|
+
export type ValueElement<T extends string, U extends string, Cv extends string | undefined = never, Cn extends string | undefined = '値なし'> =
|
|
4
|
+
{ type: T; value: string; unit: U; condition?: Cv; } | { type: T; value: null; unit: U; condition: Cn; };
|
|
5
|
+
|
|
6
|
+
export type TimeRefID<T extends object> = { refId: string } & T;
|
|
7
|
+
export type Local<T extends object> = { name: string; } & T;
|
|
8
|
+
|
|
9
|
+
export type Part<B extends object, L extends Local<B> = Local<B>, Be extends Becoming<B, L>[] | never = never> = {
|
|
10
|
+
base: (B & { locals?: never; }) | ({ locals: L[]; } & { [K in keyof B]?: never; });
|
|
11
|
+
becomings?: Be;
|
|
12
|
+
};
|
|
13
|
+
export type PartNoBase<B extends object, L extends Local<B> = Local<B>> =
|
|
14
|
+
(B & { base?: never; }) |
|
|
15
|
+
({ base: { locals: L[]; } } & { [K in keyof B]?: never; });
|
|
16
|
+
|
|
17
|
+
export type Becoming<B extends object, L extends Local<B> = Local<B>> = {
|
|
18
|
+
timeModifier: string;
|
|
19
|
+
} & ((B & { locals?: never; }) | ({ locals: L[]; } & { [K in keyof B]?: never; }));
|
|
20
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -7,9 +7,11 @@ import * as EewInformation from './schema/eew-information';
|
|
|
7
7
|
import * as TsunamiInformation from './schema/tsunami-information';
|
|
8
8
|
import * as VolcanoInformation from './schema/volcano-information';
|
|
9
9
|
import * as WeatherInformation from './schema/weather-information';
|
|
10
|
+
import * as WeatherCommentary from './schema/weather-commentary';
|
|
10
11
|
import * as WeatherImpactSociety from './schema/weather-impact-society';
|
|
11
12
|
import * as WeatherEarly from './schema/weather-early';
|
|
12
13
|
import * as WeatherWarning from './schema/weather-warning';
|
|
14
|
+
import * as WeatherWarningTimeseries from './schema/weather-warning-timeseries';
|
|
13
15
|
import * as WeatherTornado from './schema/weather-tornado';
|
|
14
16
|
import * as WeatherTyphoon from './schema/weather-typhoon';
|
|
15
17
|
import * as WeatherLandslide from './schema/weather-landslide';
|
|
@@ -35,15 +37,19 @@ type All =
|
|
|
35
37
|
TsunamiInformation.v1_1_0.Main |
|
|
36
38
|
VolcanoInformation.v1_0_0.Main |
|
|
37
39
|
WeatherInformation.v1_0_0.Main |
|
|
40
|
+
WeatherCommentary.v1_0_0.Main |
|
|
38
41
|
WeatherImpactSociety.v1_0_1.Main |
|
|
39
42
|
WeatherEarly.v1_0_0.Main |
|
|
40
43
|
WeatherWarning.v1_0_0.Main |
|
|
44
|
+
WeatherWarning.v1_1_0.Main |
|
|
45
|
+
WeatherWarningTimeseries.v1_0_0.Main |
|
|
41
46
|
WeatherTornado.v1_0_0.Main |
|
|
42
47
|
WeatherTyphoon.v1_0_0.Main |
|
|
43
48
|
WeatherLandslide.v1_0_0.Main |
|
|
44
49
|
WeatherRiverFlood.v1_0_0.Main |
|
|
45
50
|
ForecastPrefecture.v1_0_0.Main |
|
|
46
51
|
ForecastWarningPossibility.v1_0_0.Main |
|
|
52
|
+
ForecastWarningPossibility.v1_1_0.Main |
|
|
47
53
|
ForecastSeason.v1_0_0.Main |
|
|
48
54
|
Forecast2weekTemperature.v1_0_0.Main |
|
|
49
55
|
ForecastWeathermap.v1_0_0.Main;
|
|
@@ -58,9 +64,11 @@ export {
|
|
|
58
64
|
TsunamiInformation,
|
|
59
65
|
VolcanoInformation,
|
|
60
66
|
WeatherInformation,
|
|
67
|
+
WeatherCommentary,
|
|
61
68
|
WeatherImpactSociety,
|
|
62
69
|
WeatherEarly,
|
|
63
70
|
WeatherWarning,
|
|
71
|
+
WeatherWarningTimeseries,
|
|
64
72
|
WeatherTornado,
|
|
65
73
|
WeatherTyphoon,
|
|
66
74
|
WeatherLandslide,
|
|
@@ -32,9 +32,9 @@ export namespace EarthquakeInformation {
|
|
|
32
32
|
condition?: '震度5弱以上未入電';
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
export
|
|
35
|
+
export interface IntensityLgMaxInt extends IntensityMaxIntOnRevise {
|
|
36
36
|
maxLgInt: LgIntensityClass;
|
|
37
|
-
}
|
|
37
|
+
}
|
|
38
38
|
|
|
39
39
|
export interface IntensityPeriodicBand extends Omit<Components.UnitValueNotNull<void, '秒台'>, 'type'> {
|
|
40
40
|
}
|
|
@@ -74,6 +74,7 @@ export namespace ForecastPrefecture {
|
|
|
74
74
|
refId: string;
|
|
75
75
|
text: string;
|
|
76
76
|
base: {
|
|
77
|
+
timeModifier?: string;
|
|
77
78
|
name: string;
|
|
78
79
|
condition?: string;
|
|
79
80
|
};
|
|
@@ -100,8 +101,13 @@ export namespace ForecastPrefecture {
|
|
|
100
101
|
refId: string;
|
|
101
102
|
text: string;
|
|
102
103
|
base: {
|
|
104
|
+
timeModifier?: string;
|
|
103
105
|
direction: WindDirection | WindDirectionMildWind;
|
|
104
106
|
};
|
|
107
|
+
temporaries?: {
|
|
108
|
+
timeModifier: string;
|
|
109
|
+
direction: WindDirection | WindDirectionWindSubside;
|
|
110
|
+
}[];
|
|
105
111
|
becomings?: {
|
|
106
112
|
timeModifier: string;
|
|
107
113
|
direction: WindDirection | WindDirectionWindSubside;
|
|
@@ -128,8 +134,13 @@ export namespace ForecastPrefecture {
|
|
|
128
134
|
refId: string;
|
|
129
135
|
text: string;
|
|
130
136
|
base: {
|
|
137
|
+
timeModifier?: string;
|
|
131
138
|
height: WaveHeight;
|
|
132
139
|
};
|
|
140
|
+
temporaries?: {
|
|
141
|
+
timeModifier: string;
|
|
142
|
+
height: WaveHeight;
|
|
143
|
+
}[];
|
|
133
144
|
becomings?: {
|
|
134
145
|
timeModifier: string;
|
|
135
146
|
height: WaveHeight;
|
|
@@ -432,7 +443,7 @@ export namespace ForecastPrefecture {
|
|
|
432
443
|
timeSeries: [TimeSeriesStationWeek];
|
|
433
444
|
}
|
|
434
445
|
|
|
435
|
-
export interface TimeSeriesReferenceItemTemperature<Type extends '最低気温平年値' | '最高気温平年値'> extends
|
|
446
|
+
export interface TimeSeriesReferenceItemTemperature<Type extends '最低気温平年値' | '最高気温平年値'> extends Temperature<Type> {
|
|
436
447
|
refId: string;
|
|
437
448
|
}
|
|
438
449
|
|
|
@@ -10,8 +10,8 @@ export namespace ForecastWarningPossibility {
|
|
|
10
10
|
export interface WindSpeed {
|
|
11
11
|
type: '最大風速';
|
|
12
12
|
unit: 'm/s';
|
|
13
|
-
value: string;
|
|
14
|
-
condition?: '以下' | '以上';
|
|
13
|
+
value: string | null;
|
|
14
|
+
condition?: '以下' | '以上' | '値なし';
|
|
15
15
|
range?: never;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -39,7 +39,7 @@ export namespace ForecastWarningPossibility {
|
|
|
39
39
|
type: '波高';
|
|
40
40
|
unit: 'm';
|
|
41
41
|
value: null;
|
|
42
|
-
condition: '流氷に覆われている' | string;
|
|
42
|
+
condition: '流氷に覆われている' | '値なし' | string;
|
|
43
43
|
range?: never;
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -58,8 +58,8 @@ export namespace ForecastWarningPossibility {
|
|
|
58
58
|
export interface Precipitation<Type extends '1時間最大雨量' | '3時間最大雨量' | '24時間最大雨量'> {
|
|
59
59
|
type: Type;
|
|
60
60
|
unit: 'mm';
|
|
61
|
-
value: string;
|
|
62
|
-
condition?: '以下' | '以上';
|
|
61
|
+
value: string | null;
|
|
62
|
+
condition?: '以下' | '以上' | '値なし';
|
|
63
63
|
range?: never;
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -78,8 +78,8 @@ export namespace ForecastWarningPossibility {
|
|
|
78
78
|
export interface SnowfallDepth<Type extends '6時間最大降雪量' | '24時間最大降雪量'> {
|
|
79
79
|
type: Type;
|
|
80
80
|
unit: 'cm';
|
|
81
|
-
value: string;
|
|
82
|
-
condition?: '以上';
|
|
81
|
+
value: string | null;
|
|
82
|
+
condition?: '以上' | '値なし';
|
|
83
83
|
range?: never;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -119,6 +119,7 @@ export namespace ForecastWarningPossibility {
|
|
|
119
119
|
};
|
|
120
120
|
subArea?: {
|
|
121
121
|
name: string;
|
|
122
|
+
text?: string;
|
|
122
123
|
base: {
|
|
123
124
|
precipitation: Precipitation<Type>;
|
|
124
125
|
};
|
|
@@ -147,6 +148,7 @@ export namespace ForecastWarningPossibility {
|
|
|
147
148
|
};
|
|
148
149
|
subArea?: {
|
|
149
150
|
name: string;
|
|
151
|
+
text?: string;
|
|
150
152
|
base: {
|
|
151
153
|
depth: SnowfallDepth<'6時間最大降雪量'>;
|
|
152
154
|
};
|
|
@@ -174,7 +176,8 @@ export namespace ForecastWarningPossibility {
|
|
|
174
176
|
}[]
|
|
175
177
|
};
|
|
176
178
|
subArea?: {
|
|
177
|
-
name: string
|
|
179
|
+
name: string
|
|
180
|
+
text?: string;
|
|
178
181
|
base: {
|
|
179
182
|
speed: WindSpeed | WindSpeedRange;
|
|
180
183
|
};
|
|
@@ -203,6 +206,7 @@ export namespace ForecastWarningPossibility {
|
|
|
203
206
|
};
|
|
204
207
|
subArea?: {
|
|
205
208
|
name: string;
|
|
209
|
+
text?: string;
|
|
206
210
|
base: {
|
|
207
211
|
height: WaveHeight | WaveHeightRange | WaveHeightNoValue;
|
|
208
212
|
};
|
|
@@ -252,6 +256,7 @@ export namespace ForecastWarningPossibility {
|
|
|
252
256
|
};
|
|
253
257
|
subArea?: {
|
|
254
258
|
name: string;
|
|
259
|
+
text?: string;
|
|
255
260
|
base: {
|
|
256
261
|
precipitation: Precipitation<'24時間最大雨量'> | PrecipitationRange<'24時間最大雨量'>;
|
|
257
262
|
};
|
|
@@ -280,6 +285,7 @@ export namespace ForecastWarningPossibility {
|
|
|
280
285
|
};
|
|
281
286
|
subArea?: {
|
|
282
287
|
name: string;
|
|
288
|
+
text?: string;
|
|
283
289
|
base: {
|
|
284
290
|
depth: SnowfallDepth<'24時間最大降雪量'> | SnowfallDepthRange<'24時間最大降雪量'>;
|
|
285
291
|
};
|