@dmdata/telegram-json-types 1.1.17 → 1.2.0

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.
Files changed (55) hide show
  1. package/README.md +26 -21
  2. package/dist/build.js +1 -0
  3. package/dist/jschema/earthquake-counts_1.0.0.json +1 -1
  4. package/dist/jschema/earthquake-explanation_1.0.0.json +1 -1
  5. package/dist/jschema/earthquake-hypocenter-update_1.0.0.json +1 -1
  6. package/dist/jschema/earthquake-information_1.0.0.json +1 -1
  7. package/dist/jschema/earthquake-information_1.1.0.json +1 -1
  8. package/dist/jschema/earthquake-nankai_1.0.0.json +1 -1
  9. package/dist/jschema/eew-information_1.0.0.json +1 -1
  10. package/dist/jschema/forecast-2week-temperature_1.0.0.json +1 -1
  11. package/dist/jschema/forecast-prefecture_1.0.0.json +1 -1
  12. package/dist/jschema/forecast-season_1.0.0.json +1 -1
  13. package/dist/jschema/forecast-warning-possibility_1.0.0.json +1 -1
  14. package/dist/jschema/forecast-warning-possibility_1.1.0.json +1 -0
  15. package/dist/jschema/forecast-weathermap_1.0.0.json +1 -1
  16. package/dist/jschema/tsunami-information_1.0.0.json +1 -1
  17. package/dist/jschema/tsunami-information_1.1.0.json +1 -1
  18. package/dist/jschema/volcano-information_1.0.0.json +1 -1
  19. package/dist/jschema/weather-commentary_1.0.0.json +1 -0
  20. package/dist/jschema/weather-early_1.0.0.json +1 -1
  21. package/dist/jschema/weather-impact-society_1.0.0.json +1 -1
  22. package/dist/jschema/weather-impact-society_1.0.1.json +1 -1
  23. package/dist/jschema/weather-information_1.0.0.json +1 -1
  24. package/dist/jschema/weather-landslide_1.0.0.json +1 -1
  25. package/dist/jschema/weather-river-flood_1.0.0.json +1 -1
  26. package/dist/jschema/weather-tornado_1.0.0.json +1 -1
  27. package/dist/jschema/weather-typhoon_1.0.0.json +1 -1
  28. package/dist/jschema/weather-warning-timeseries_1.0.0.json +1 -0
  29. package/dist/jschema/weather-warning_1.0.0.json +1 -1
  30. package/dist/jschema/weather-warning_1.1.0.json +1 -0
  31. package/dist/jschema-load.js +5 -4
  32. package/package.json +5 -5
  33. package/test/sample-schema-check.test.ts +12 -7
  34. package/tsconfig.json +3 -1
  35. package/types/component/index.d.ts +17 -14
  36. package/types/component/util.d.ts +20 -0
  37. package/types/index.d.ts +8 -0
  38. package/types/schema/earthquake-information/1.1.0.d.ts +4 -4
  39. package/types/schema/forecast-prefecture/1.0.0.d.ts +12 -1
  40. package/types/schema/forecast-warning-possibility/1.0.0.d.ts +14 -8
  41. package/types/schema/forecast-warning-possibility/1.1.0.d.ts +129 -0
  42. package/types/schema/forecast-warning-possibility/index.d.ts +9 -7
  43. package/types/schema/tsunami-information/1.1.0.d.ts +2 -2
  44. package/types/schema/weather-commentary/1.0.0.d.ts +984 -0
  45. package/types/schema/weather-commentary/index.d.ts +7 -0
  46. package/types/schema/weather-early/1.0.0.d.ts +1 -0
  47. package/types/schema/weather-impact-society/1.0.0.d.ts +1 -0
  48. package/types/schema/weather-impact-society/1.0.1.d.ts +1 -0
  49. package/types/schema/weather-tornado/1.0.0.d.ts +4 -0
  50. package/types/schema/weather-typhoon/1.0.0.d.ts +14 -2
  51. package/types/schema/weather-warning/1.0.0.d.ts +1 -0
  52. package/types/schema/weather-warning/1.1.0.d.ts +469 -0
  53. package/types/schema/weather-warning/index.d.ts +9 -7
  54. package/types/schema/weather-warning-timeseries/1.0.0.d.ts +385 -0
  55. 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#"}
@@ -34,17 +34,18 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.getJSchema = getJSchema;
37
- const fs_1 = require("fs");
38
- const path_1 = require("path");
37
+ const node_fs_1 = require("node:fs");
38
+ const node_path_1 = require("node:path");
39
+ const node_url_1 = require("node:url");
39
40
  const config_1 = require("./config");
40
41
  const schemas = new Map();
41
- const jschemaList = (0, fs_1.readdirSync)(config_1.distDir)
42
+ const jschemaList = (0, node_fs_1.readdirSync)(config_1.distDir)
42
43
  .filter(file => /\.json$/.test(file))
43
44
  .sort();
44
45
  jschemaList.forEach(file => {
45
46
  const [, schemaName, schemaVersion] = file.match(/^([\w-]+)_(\w+\.\w+\.\w+)\.json$/) ?? [];
46
47
  const schemaVersions = schemas.get(schemaName) ?? schemas.set(schemaName, new Map()).get(schemaName);
47
- const jschemaFile = (0, path_1.resolve)(config_1.distDir, file);
48
+ const jschemaFile = (0, node_url_1.pathToFileURL)((0, node_path_1.resolve)(config_1.distDir, file)).toString();
48
49
  schemaVersions?.set(schemaVersion, jschemaFile);
49
50
  schemaVersions?.set('latest', jschemaFile);
50
51
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dmdata/telegram-json-types",
3
- "version": "1.1.17",
3
+ "version": "1.2.0",
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": "^29.5.13",
23
- "@types/node": "^24.10.4",
24
- "ajv": "^8.17.1",
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": "^5.9.3",
26
+ "typescript": "^6.0.2",
27
27
  "typescript-json-schema": "^0.67.1"
28
28
  },
29
29
  "engines": {
@@ -3,6 +3,7 @@ import { deepEqual } from 'node:assert/strict';
3
3
  import Ajv from 'ajv';
4
4
  import { getJSchema } from '../jschema/jschema-load';
5
5
 
6
+ const sampleUrl = 'https://sample.dmdata.jp';
6
7
  const checkSchemaTypes = [
7
8
  'eew-information',
8
9
  'earthquake-information',
@@ -17,10 +18,12 @@ const checkSchemaTypes = [
17
18
  'forecast-weathermap',
18
19
  'tsunami-information',
19
20
  'volcano-information',
21
+ 'weather-commentary',
20
22
  'weather-information',
21
23
  'weather-impact-society',
22
24
  'weather-early',
23
25
  'weather-warning',
26
+ 'weather-warning-timeseries',
24
27
  'weather-tornado',
25
28
  'weather-typhoon',
26
29
  'weather-landslide',
@@ -52,12 +55,14 @@ for (const schemaType of checkSchemaTypes) {
52
55
 
53
56
 
54
57
  async function getList(schemaType: string) {
55
- const url = `https://sample.dmdata.jp/conversion/json/schema/${schemaType}/`;
56
- return await fetch(url).then(res => res.text())
57
- .then(html => html
58
- .replace(/^.+?<pre>.+?<hr>(.+?)<\/pre>.+?$/s, '$1')
59
- .match(/<a\shref="(.+?)">/g)
60
- ?.map(a => url + a.replace(/^<a\shref="(.+?)">$/, '$1'))
61
- .filter(href => /\.json$/.test(href)) ?? []
58
+ const query = new URLSearchParams({ prefix: `conversion/json/schema/${schemaType}/`, delimiter: '' });
59
+ const url = `${sampleUrl}/?` + query.toString();
60
+
61
+ return await fetch(url, { headers: { accept: 'application/xml' } })
62
+ .then(res => res.text())
63
+ .then(xml => xml
64
+ .match(/<Key>.+?\.json<\/Key>/g)
65
+ ?.map(element => element.replace(/^<Key>(.+?\.json)<\/Key>$/, '$1'))
66
+ .map(href => `${sampleUrl}/${encodeURIComponent(href)}`) ?? []
62
67
  );
63
68
  }
package/tsconfig.json CHANGED
@@ -10,7 +10,9 @@
10
10
  "forceConsistentCasingInFileNames": true,
11
11
  "strict": true,
12
12
  "esModuleInterop": true,
13
- "baseUrl": "./"
13
+ "types": [
14
+ "node"
15
+ ]
14
16
  },
15
17
  "include": [
16
18
  "types/**/*",
@@ -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
- export namespace Components {
7
- export {
8
- CodeName,
9
- Coordinate,
10
- Earthquake,
11
- UnitValue,
12
- UnitValueNotNull
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,
@@ -17,12 +17,12 @@ export namespace EarthquakeInformation {
17
17
 
18
18
  export interface IntensityMaxIntOnRevise extends Components.CodeName {
19
19
  maxInt?: IntensityClass;
20
- revise?: '上方修正' | '追加';
20
+ revise?: '上方修正' | '下方修正' | '追加';
21
21
  }
22
22
 
23
23
  export interface IntensityCity extends Components.CodeName {
24
24
  maxInt?: IntensityClass;
25
- revise?: '上方修正' | '追加';
25
+ revise?: '上方修正' | '下方修正' | '追加';
26
26
  condition?: '震度5弱以上未入電';
27
27
  }
28
28
 
@@ -32,9 +32,9 @@ export namespace EarthquakeInformation {
32
32
  condition?: '震度5弱以上未入電';
33
33
  }
34
34
 
35
- export type IntensityLgMaxInt = IntensityMaxIntOnRevise & {
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 Omit<Temperature<Type>, 'value'> {
446
+ export interface TimeSeriesReferenceItemTemperature<Type extends '最低気温平年値' | '最高気温平年値'> extends Temperature<Type> {
436
447
  refId: string;
437
448
  }
438
449