@dmdata/telegram-json-types 1.0.9-jschema.0 → 1.1.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 (74) hide show
  1. package/README.md +44 -3
  2. package/dist/build.js +22 -11
  3. package/dist/config.d.ts +2 -1
  4. package/dist/config.js +3 -2
  5. package/dist/jschema/earthquake-counts_1.0.0.json +1 -0
  6. package/dist/jschema/earthquake-explanation_1.0.0.json +1 -0
  7. package/dist/jschema/earthquake-hypocenter-update_1.0.0.json +1 -0
  8. package/dist/jschema/earthquake-information_1.0.0.json +1 -0
  9. package/dist/jschema/earthquake-information_1.1.0.json +1 -0
  10. package/dist/jschema/earthquake-nankai_1.0.0.json +1 -0
  11. package/dist/jschema/eew-information_1.0.0.json +1 -0
  12. package/dist/jschema/tsunami-information_1.0.0.json +1 -0
  13. package/dist/jschema/volcano-information_1.0.0.json +1 -0
  14. package/dist/jschema/weather-early_1.0.0.json +1 -0
  15. package/dist/jschema/weather-impact-society_1.0.0.json +1 -0
  16. package/dist/jschema/weather-information_1.0.0.json +1 -0
  17. package/dist/jschema/weather-landslide_1.0.0.json +1 -0
  18. package/dist/jschema/weather-river-flood_1.0.0.json +1 -0
  19. package/dist/jschema/weather-tornado_1.0.0.json +1 -0
  20. package/dist/jschema/weather-typhoon_1.0.0.json +1 -0
  21. package/dist/jschema/weather-warning_1.0.0.json +1 -0
  22. package/dist/jschema-load.d.ts +1 -1
  23. package/dist/jschema-load.js +12 -6
  24. package/index.d.ts +2 -2
  25. package/jest.config.ts +202 -0
  26. package/package.json +29 -21
  27. package/test/sample-schema-check.test.ts +54 -0
  28. package/tsconfig.json +28 -15
  29. package/types/component/code-name.ts +4 -0
  30. package/types/{schema/component → component}/coordinate.d.ts +2 -2
  31. package/types/{schema/component → component}/earthquake.d.ts +0 -0
  32. package/types/{schema/component → component}/unit-value.d.ts +13 -13
  33. package/types/index.d.ts +35 -4
  34. package/types/schema/earthquake-counts/1.0.0.d.ts +69 -0
  35. package/types/schema/earthquake-counts/index.d.ts +7 -0
  36. package/types/schema/earthquake-explanation/1.0.0.d.ts +57 -0
  37. package/types/schema/earthquake-explanation/index.d.ts +7 -0
  38. package/types/schema/earthquake-hypocenter-update/1.0.0.d.ts +53 -0
  39. package/types/schema/earthquake-hypocenter-update/index.d.ts +7 -0
  40. package/types/schema/earthquake-information/1.0.0.d.ts +159 -0
  41. package/types/schema/{earthquake-information.d.ts → earthquake-information/1.1.0.d.ts} +206 -181
  42. package/types/schema/earthquake-information/index.d.ts +9 -0
  43. package/types/schema/earthquake-nankai/1.0.0.d.ts +86 -0
  44. package/types/schema/earthquake-nankai/index.d.ts +7 -0
  45. package/types/schema/{eew-information.d.ts → eew-information/1.0.0.d.ts} +42 -39
  46. package/types/schema/eew-information/index.d.ts +7 -0
  47. package/types/schema/{tsunami-information.d.ts → tsunami-information/1.0.0.d.ts} +262 -230
  48. package/types/schema/tsunami-information/index.d.ts +7 -0
  49. package/types/schema/volcano-information/1.0.0.d.ts +450 -0
  50. package/types/schema/volcano-information/index.d.ts +7 -0
  51. package/types/schema/weather-early/1.0.0.d.ts +135 -0
  52. package/types/schema/weather-early/index.d.ts +7 -0
  53. package/types/schema/weather-impact-society/1.0.0.d.ts +140 -0
  54. package/types/schema/weather-impact-society/index.d.ts +7 -0
  55. package/types/schema/weather-information/1.0.0.d.ts +30 -0
  56. package/types/schema/weather-information/index.d.ts +7 -0
  57. package/types/schema/weather-landslide/1.0.0.d.ts +51 -0
  58. package/types/schema/weather-landslide/index.d.ts +7 -0
  59. package/types/schema/weather-river-flood/1.0.0.d.ts +188 -0
  60. package/types/schema/weather-river-flood/index.d.ts +7 -0
  61. package/types/schema/weather-tornado/1.0.0.d.ts +51 -0
  62. package/types/schema/weather-tornado/index.d.ts +7 -0
  63. package/types/schema/{weather-typhoon.d.ts → weather-typhoon/1.0.0.d.ts} +26 -13
  64. package/types/schema/weather-typhoon/index.d.ts +7 -0
  65. package/types/schema/weather-warning/1.0.0.d.ts +212 -0
  66. package/types/schema/weather-warning/index.d.ts +7 -0
  67. package/dist/jschema/earthquake-information.json +0 -1778
  68. package/dist/jschema/eew-information.json +0 -2742
  69. package/dist/jschema/tsunami-information.json +0 -3891
  70. package/dist/jschema/weather-typhoon.json +0 -4969
  71. package/jschema/build.ts +0 -56
  72. package/jschema/config.ts +0 -4
  73. package/jschema/jschema-load.ts +0 -26
  74. package/tsconfig.jschema.json +0 -16
@@ -1,2742 +0,0 @@
1
- {
2
- "anyOf": [
3
- {
4
- "$ref": "#/definitions/EewInformation.PublicTesting"
5
- },
6
- {
7
- "$ref": "#/definitions/EewInformation.PublicCommon"
8
- },
9
- {
10
- "$ref": "#/definitions/EewInformation.Channel"
11
- }
12
- ],
13
- "definitions": {
14
- "EarthquakeInformation.PublicVXSE51": {
15
- "type": "object",
16
- "properties": {
17
- "_schema": {
18
- "$ref": "#/definitions/EarthquakeInformation.Schema"
19
- },
20
- "type": {
21
- "type": "string",
22
- "enum": [
23
- "震度速報"
24
- ]
25
- },
26
- "title": {
27
- "type": "string",
28
- "enum": [
29
- "震度速報"
30
- ]
31
- },
32
- "infoKind": {
33
- "type": "string",
34
- "enum": [
35
- "震度速報"
36
- ]
37
- },
38
- "eventId": {
39
- "type": "string"
40
- },
41
- "serialNo": {
42
- "type": "null"
43
- },
44
- "infoType": {
45
- "enum": [
46
- "発表",
47
- "訂正"
48
- ],
49
- "type": "string"
50
- },
51
- "body": {
52
- "$ref": "#/definitions/EarthquakeInformation.PublicBodyVXSE51"
53
- },
54
- "_originalId": {
55
- "type": "string"
56
- },
57
- "status": {
58
- "enum": [
59
- "訓練",
60
- "試験",
61
- "通常"
62
- ],
63
- "type": "string"
64
- },
65
- "editorialOffice": {
66
- "type": "string"
67
- },
68
- "publishingOffice": {
69
- "type": "array",
70
- "items": {
71
- "type": "string"
72
- }
73
- },
74
- "pressDateTime": {
75
- "type": "string"
76
- },
77
- "reportDateTime": {
78
- "type": "string"
79
- },
80
- "targetDateTime": {
81
- "type": "string"
82
- },
83
- "targetDateTimeDubious": {
84
- "type": "string"
85
- },
86
- "targetDuration": {
87
- "type": "string"
88
- },
89
- "validDateTime": {
90
- "type": "string"
91
- },
92
- "infoKindVersion": {
93
- "type": "string"
94
- },
95
- "headline": {
96
- "type": [
97
- "null",
98
- "string"
99
- ]
100
- }
101
- },
102
- "required": [
103
- "_originalId",
104
- "_schema",
105
- "body",
106
- "editorialOffice",
107
- "eventId",
108
- "headline",
109
- "infoKind",
110
- "infoKindVersion",
111
- "infoType",
112
- "pressDateTime",
113
- "publishingOffice",
114
- "reportDateTime",
115
- "serialNo",
116
- "status",
117
- "targetDateTime",
118
- "title",
119
- "type"
120
- ]
121
- },
122
- "EarthquakeInformation.Schema": {
123
- "type": "object",
124
- "properties": {
125
- "type": {
126
- "type": "string",
127
- "enum": [
128
- "earthquake-information"
129
- ]
130
- },
131
- "version": {
132
- "type": "string",
133
- "enum": [
134
- "1.1.0"
135
- ]
136
- }
137
- },
138
- "required": [
139
- "type",
140
- "version"
141
- ]
142
- },
143
- "EarthquakeInformation.PublicBodyVXSE51": {
144
- "type": "object",
145
- "properties": {
146
- "intensity": {
147
- "type": "object",
148
- "properties": {
149
- "maxInt": {
150
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
151
- },
152
- "prefectures": {
153
- "type": "array",
154
- "items": {
155
- "type": "object",
156
- "properties": {
157
- "name": {
158
- "type": "string"
159
- },
160
- "code": {
161
- "type": "string"
162
- },
163
- "maxInt": {
164
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
165
- }
166
- },
167
- "required": [
168
- "code",
169
- "maxInt",
170
- "name"
171
- ]
172
- }
173
- },
174
- "regions": {
175
- "type": "array",
176
- "items": {
177
- "type": "object",
178
- "properties": {
179
- "name": {
180
- "type": "string"
181
- },
182
- "code": {
183
- "type": "string"
184
- },
185
- "maxInt": {
186
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
187
- }
188
- },
189
- "required": [
190
- "code",
191
- "maxInt",
192
- "name"
193
- ]
194
- }
195
- }
196
- },
197
- "required": [
198
- "maxInt",
199
- "prefectures",
200
- "regions"
201
- ]
202
- },
203
- "text": {
204
- "type": "string"
205
- },
206
- "comments": {
207
- "$ref": "#/definitions/Omit<EarthquakeInformation.Comment,\"var\">"
208
- }
209
- },
210
- "required": [
211
- "comments",
212
- "intensity"
213
- ]
214
- },
215
- "EarthquakeInformation.IntensityClass": {
216
- "enum": [
217
- "1",
218
- "2",
219
- "3",
220
- "4",
221
- "5+",
222
- "5-",
223
- "6+",
224
- "6-",
225
- "7"
226
- ],
227
- "type": "string"
228
- },
229
- "Omit<EarthquakeInformation.Comment,\"var\">": {
230
- "type": "object",
231
- "properties": {
232
- "free": {
233
- "type": "string"
234
- },
235
- "forecast": {
236
- "type": "object",
237
- "properties": {
238
- "text": {
239
- "type": "string"
240
- },
241
- "codes": {
242
- "type": "array",
243
- "items": {
244
- "type": "string"
245
- }
246
- }
247
- },
248
- "required": [
249
- "codes",
250
- "text"
251
- ]
252
- }
253
- }
254
- },
255
- "EarthquakeInformation.PublicVXSE52": {
256
- "type": "object",
257
- "properties": {
258
- "_schema": {
259
- "$ref": "#/definitions/EarthquakeInformation.Schema"
260
- },
261
- "type": {
262
- "type": "string",
263
- "enum": [
264
- "震源に関する情報"
265
- ]
266
- },
267
- "title": {
268
- "type": "string",
269
- "enum": [
270
- "震源に関する情報"
271
- ]
272
- },
273
- "infoKind": {
274
- "type": "string",
275
- "enum": [
276
- "震源速報"
277
- ]
278
- },
279
- "eventId": {
280
- "type": "string"
281
- },
282
- "serialNo": {
283
- "type": "null"
284
- },
285
- "infoType": {
286
- "enum": [
287
- "発表",
288
- "訂正"
289
- ],
290
- "type": "string"
291
- },
292
- "body": {
293
- "$ref": "#/definitions/EarthquakeInformation.PublicBodyVXSE52"
294
- },
295
- "_originalId": {
296
- "type": "string"
297
- },
298
- "status": {
299
- "enum": [
300
- "訓練",
301
- "試験",
302
- "通常"
303
- ],
304
- "type": "string"
305
- },
306
- "editorialOffice": {
307
- "type": "string"
308
- },
309
- "publishingOffice": {
310
- "type": "array",
311
- "items": {
312
- "type": "string"
313
- }
314
- },
315
- "pressDateTime": {
316
- "type": "string"
317
- },
318
- "reportDateTime": {
319
- "type": "string"
320
- },
321
- "targetDateTime": {
322
- "type": "string"
323
- },
324
- "targetDateTimeDubious": {
325
- "type": "string"
326
- },
327
- "targetDuration": {
328
- "type": "string"
329
- },
330
- "validDateTime": {
331
- "type": "string"
332
- },
333
- "infoKindVersion": {
334
- "type": "string"
335
- },
336
- "headline": {
337
- "type": [
338
- "null",
339
- "string"
340
- ]
341
- }
342
- },
343
- "required": [
344
- "_originalId",
345
- "_schema",
346
- "body",
347
- "editorialOffice",
348
- "eventId",
349
- "headline",
350
- "infoKind",
351
- "infoKindVersion",
352
- "infoType",
353
- "pressDateTime",
354
- "publishingOffice",
355
- "reportDateTime",
356
- "serialNo",
357
- "status",
358
- "targetDateTime",
359
- "title",
360
- "type"
361
- ]
362
- },
363
- "EarthquakeInformation.PublicBodyVXSE52": {
364
- "type": "object",
365
- "properties": {
366
- "earthquake": {
367
- "$ref": "#/definitions/Earthquake"
368
- },
369
- "text": {
370
- "type": "string"
371
- },
372
- "comments": {
373
- "$ref": "#/definitions/Omit<EarthquakeInformation.Comment,\"var\">"
374
- }
375
- },
376
- "required": [
377
- "comments",
378
- "earthquake"
379
- ]
380
- },
381
- "Earthquake": {
382
- "type": "object",
383
- "properties": {
384
- "originTime": {
385
- "type": "string"
386
- },
387
- "arrivalTime": {
388
- "type": "string"
389
- },
390
- "hypocenter": {
391
- "type": "object",
392
- "properties": {
393
- "name": {
394
- "type": "string"
395
- },
396
- "code": {
397
- "type": "string"
398
- },
399
- "coordinate": {
400
- "anyOf": [
401
- {
402
- "type": "object",
403
- "properties": {
404
- "condition": {
405
- "type": "string",
406
- "enum": [
407
- "不明"
408
- ]
409
- }
410
- },
411
- "required": [
412
- "condition"
413
- ]
414
- },
415
- {
416
- "type": "object",
417
- "properties": {
418
- "latitude": {
419
- "type": "object",
420
- "properties": {
421
- "text": {
422
- "type": "string"
423
- },
424
- "value": {
425
- "type": "string"
426
- }
427
- },
428
- "required": [
429
- "text",
430
- "value"
431
- ]
432
- },
433
- "longitude": {
434
- "type": "object",
435
- "properties": {
436
- "text": {
437
- "type": "string"
438
- },
439
- "value": {
440
- "type": "string"
441
- }
442
- },
443
- "required": [
444
- "text",
445
- "value"
446
- ]
447
- },
448
- "height": {
449
- "type": "object",
450
- "properties": {
451
- "type": {
452
- "type": "string",
453
- "enum": [
454
- "深さ"
455
- ]
456
- },
457
- "unit": {
458
- "type": "string",
459
- "enum": [
460
- "km"
461
- ]
462
- },
463
- "value": {
464
- "type": [
465
- "null",
466
- "string"
467
- ]
468
- }
469
- },
470
- "required": [
471
- "type",
472
- "unit",
473
- "value"
474
- ]
475
- },
476
- "condition": {
477
- "type": "undefined"
478
- },
479
- "geodeticSystem": {
480
- "enum": [
481
- "日本測地系"
482
- ],
483
- "type": "string"
484
- }
485
- },
486
- "required": [
487
- "condition",
488
- "latitude",
489
- "longitude"
490
- ]
491
- }
492
- ]
493
- },
494
- "depth": {
495
- "anyOf": [
496
- {
497
- "allOf": [
498
- {
499
- "type": "object",
500
- "properties": {
501
- "type": {
502
- "type": "string",
503
- "enum": [
504
- "深さ"
505
- ]
506
- },
507
- "unit": {
508
- "type": "string",
509
- "enum": [
510
- "km"
511
- ]
512
- }
513
- },
514
- "required": [
515
- "type",
516
- "unit"
517
- ]
518
- },
519
- {
520
- "type": "object",
521
- "properties": {
522
- "value": {
523
- "type": "null"
524
- },
525
- "condition": {
526
- "type": "string",
527
- "enum": [
528
- "不明"
529
- ]
530
- }
531
- },
532
- "required": [
533
- "condition",
534
- "value"
535
- ]
536
- }
537
- ]
538
- },
539
- {
540
- "allOf": [
541
- {
542
- "type": "object",
543
- "properties": {
544
- "type": {
545
- "type": "string",
546
- "enum": [
547
- "深さ"
548
- ]
549
- },
550
- "unit": {
551
- "type": "string",
552
- "enum": [
553
- "km"
554
- ]
555
- }
556
- },
557
- "required": [
558
- "type",
559
- "unit"
560
- ]
561
- },
562
- {
563
- "type": "object",
564
- "properties": {
565
- "value": {
566
- "type": "string",
567
- "enum": [
568
- "0"
569
- ]
570
- },
571
- "condition": {
572
- "type": "string",
573
- "enum": [
574
- "ごく浅い"
575
- ]
576
- }
577
- },
578
- "required": [
579
- "condition",
580
- "value"
581
- ]
582
- }
583
- ]
584
- },
585
- {
586
- "allOf": [
587
- {
588
- "type": "object",
589
- "properties": {
590
- "type": {
591
- "type": "string",
592
- "enum": [
593
- "深さ"
594
- ]
595
- },
596
- "unit": {
597
- "type": "string",
598
- "enum": [
599
- "km"
600
- ]
601
- }
602
- },
603
- "required": [
604
- "type",
605
- "unit"
606
- ]
607
- },
608
- {
609
- "type": "object",
610
- "properties": {
611
- "value": {
612
- "type": "string",
613
- "enum": [
614
- "700"
615
- ]
616
- },
617
- "condition": {
618
- "type": "string",
619
- "enum": [
620
- "700km以上"
621
- ]
622
- }
623
- },
624
- "required": [
625
- "condition",
626
- "value"
627
- ]
628
- }
629
- ]
630
- },
631
- {
632
- "allOf": [
633
- {
634
- "type": "object",
635
- "properties": {
636
- "type": {
637
- "type": "string",
638
- "enum": [
639
- "深さ"
640
- ]
641
- },
642
- "unit": {
643
- "type": "string",
644
- "enum": [
645
- "km"
646
- ]
647
- }
648
- },
649
- "required": [
650
- "type",
651
- "unit"
652
- ]
653
- },
654
- {
655
- "type": "object",
656
- "properties": {
657
- "value": {
658
- "type": "string"
659
- }
660
- },
661
- "required": [
662
- "value"
663
- ]
664
- }
665
- ]
666
- }
667
- ]
668
- },
669
- "detailed": {
670
- "type": "object",
671
- "properties": {
672
- "code": {
673
- "type": "string"
674
- },
675
- "name": {
676
- "type": "string"
677
- }
678
- },
679
- "required": [
680
- "code",
681
- "name"
682
- ]
683
- },
684
- "auxiliary": {
685
- "type": "object",
686
- "properties": {
687
- "text": {
688
- "type": "string"
689
- },
690
- "code": {
691
- "type": "string"
692
- },
693
- "name": {
694
- "type": "string"
695
- },
696
- "direction": {
697
- "type": "string"
698
- },
699
- "distance": {
700
- "$ref": "#/definitions/Omit<UnitValueNotNull<never,\"km\",never>,\"type\"|\"condition\">"
701
- }
702
- },
703
- "required": [
704
- "code",
705
- "direction",
706
- "distance",
707
- "name",
708
- "text"
709
- ]
710
- },
711
- "source": {
712
- "enum": [
713
- "PTWC",
714
- "USGS",
715
- "WCATWC"
716
- ],
717
- "type": "string"
718
- }
719
- },
720
- "required": [
721
- "code",
722
- "coordinate",
723
- "depth",
724
- "name"
725
- ]
726
- },
727
- "magnitude": {
728
- "anyOf": [
729
- {
730
- "allOf": [
731
- {
732
- "type": "object",
733
- "properties": {
734
- "type": {
735
- "type": "string",
736
- "enum": [
737
- "マグニチュード"
738
- ]
739
- },
740
- "unit": {
741
- "enum": [
742
- "M",
743
- "Mj"
744
- ],
745
- "type": "string"
746
- }
747
- },
748
- "required": [
749
- "type",
750
- "unit"
751
- ]
752
- },
753
- {
754
- "type": "object",
755
- "properties": {
756
- "value": {
757
- "type": "null"
758
- },
759
- "condition": {
760
- "enum": [
761
- "M不明",
762
- "M8を超える巨大地震"
763
- ],
764
- "type": "string"
765
- }
766
- },
767
- "required": [
768
- "condition",
769
- "value"
770
- ]
771
- }
772
- ]
773
- },
774
- {
775
- "allOf": [
776
- {
777
- "type": "object",
778
- "properties": {
779
- "type": {
780
- "type": "string",
781
- "enum": [
782
- "マグニチュード"
783
- ]
784
- },
785
- "unit": {
786
- "enum": [
787
- "M",
788
- "Mj"
789
- ],
790
- "type": "string"
791
- }
792
- },
793
- "required": [
794
- "type",
795
- "unit"
796
- ]
797
- },
798
- {
799
- "type": "object",
800
- "properties": {
801
- "value": {
802
- "type": "string"
803
- }
804
- },
805
- "required": [
806
- "value"
807
- ]
808
- }
809
- ]
810
- }
811
- ]
812
- }
813
- },
814
- "required": [
815
- "arrivalTime",
816
- "hypocenter",
817
- "magnitude",
818
- "originTime"
819
- ]
820
- },
821
- "Omit<UnitValueNotNull<never,\"km\",never>,\"type\"|\"condition\">": {
822
- "type": "object",
823
- "properties": {
824
- "unit": {
825
- "type": "string",
826
- "enum": [
827
- "km"
828
- ]
829
- },
830
- "value": {
831
- "type": "string"
832
- }
833
- },
834
- "required": [
835
- "unit",
836
- "value"
837
- ]
838
- },
839
- "EarthquakeInformation.PublicVXSE53": {
840
- "type": "object",
841
- "properties": {
842
- "_schema": {
843
- "$ref": "#/definitions/EarthquakeInformation.Schema"
844
- },
845
- "type": {
846
- "type": "string",
847
- "enum": [
848
- "震源・震度に関する情報"
849
- ]
850
- },
851
- "title": {
852
- "enum": [
853
- "遠地地震に関する情報",
854
- "震源・震度情報"
855
- ],
856
- "type": "string"
857
- },
858
- "infoKind": {
859
- "type": "string",
860
- "enum": [
861
- "地震情報"
862
- ]
863
- },
864
- "eventId": {
865
- "type": "string"
866
- },
867
- "serialNo": {
868
- "type": "string"
869
- },
870
- "infoType": {
871
- "enum": [
872
- "発表",
873
- "訂正"
874
- ],
875
- "type": "string"
876
- },
877
- "body": {
878
- "$ref": "#/definitions/EarthquakeInformation.PublicBodyVXSE53"
879
- },
880
- "_originalId": {
881
- "type": "string"
882
- },
883
- "status": {
884
- "enum": [
885
- "訓練",
886
- "試験",
887
- "通常"
888
- ],
889
- "type": "string"
890
- },
891
- "editorialOffice": {
892
- "type": "string"
893
- },
894
- "publishingOffice": {
895
- "type": "array",
896
- "items": {
897
- "type": "string"
898
- }
899
- },
900
- "pressDateTime": {
901
- "type": "string"
902
- },
903
- "reportDateTime": {
904
- "type": "string"
905
- },
906
- "targetDateTime": {
907
- "type": "string"
908
- },
909
- "targetDateTimeDubious": {
910
- "type": "string"
911
- },
912
- "targetDuration": {
913
- "type": "string"
914
- },
915
- "validDateTime": {
916
- "type": "string"
917
- },
918
- "infoKindVersion": {
919
- "type": "string"
920
- },
921
- "headline": {
922
- "type": [
923
- "null",
924
- "string"
925
- ]
926
- }
927
- },
928
- "required": [
929
- "_originalId",
930
- "_schema",
931
- "body",
932
- "editorialOffice",
933
- "eventId",
934
- "headline",
935
- "infoKind",
936
- "infoKindVersion",
937
- "infoType",
938
- "pressDateTime",
939
- "publishingOffice",
940
- "reportDateTime",
941
- "serialNo",
942
- "status",
943
- "targetDateTime",
944
- "title",
945
- "type"
946
- ]
947
- },
948
- "EarthquakeInformation.PublicBodyVXSE53": {
949
- "type": "object",
950
- "properties": {
951
- "earthquake": {
952
- "$ref": "#/definitions/Earthquake"
953
- },
954
- "intensity": {
955
- "type": "object",
956
- "properties": {
957
- "maxInt": {
958
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
959
- },
960
- "prefectures": {
961
- "type": "array",
962
- "items": {
963
- "type": "object",
964
- "properties": {
965
- "name": {
966
- "type": "string"
967
- },
968
- "code": {
969
- "type": "string"
970
- },
971
- "maxInt": {
972
- "enum": [
973
- "1",
974
- "2",
975
- "3",
976
- "4",
977
- "5+",
978
- "5-",
979
- "6+",
980
- "6-",
981
- "7"
982
- ],
983
- "type": "string"
984
- },
985
- "revise": {
986
- "enum": [
987
- "上方修正",
988
- "追加"
989
- ],
990
- "type": "string"
991
- }
992
- },
993
- "required": [
994
- "code",
995
- "name"
996
- ]
997
- }
998
- },
999
- "regions": {
1000
- "type": "array",
1001
- "items": {
1002
- "type": "object",
1003
- "properties": {
1004
- "name": {
1005
- "type": "string"
1006
- },
1007
- "code": {
1008
- "type": "string"
1009
- },
1010
- "maxInt": {
1011
- "enum": [
1012
- "1",
1013
- "2",
1014
- "3",
1015
- "4",
1016
- "5+",
1017
- "5-",
1018
- "6+",
1019
- "6-",
1020
- "7"
1021
- ],
1022
- "type": "string"
1023
- },
1024
- "revise": {
1025
- "enum": [
1026
- "上方修正",
1027
- "追加"
1028
- ],
1029
- "type": "string"
1030
- }
1031
- },
1032
- "required": [
1033
- "code",
1034
- "name"
1035
- ]
1036
- }
1037
- },
1038
- "cities": {
1039
- "type": "array",
1040
- "items": {
1041
- "type": "object",
1042
- "properties": {
1043
- "name": {
1044
- "type": "string"
1045
- },
1046
- "code": {
1047
- "type": "string"
1048
- },
1049
- "maxInt": {
1050
- "enum": [
1051
- "1",
1052
- "2",
1053
- "3",
1054
- "4",
1055
- "5+",
1056
- "5-",
1057
- "6+",
1058
- "6-",
1059
- "7"
1060
- ],
1061
- "type": "string"
1062
- },
1063
- "revise": {
1064
- "enum": [
1065
- "上方修正",
1066
- "追加"
1067
- ],
1068
- "type": "string"
1069
- },
1070
- "condition": {
1071
- "enum": [
1072
- "震度5弱以上未入電"
1073
- ],
1074
- "type": "string"
1075
- }
1076
- },
1077
- "required": [
1078
- "code",
1079
- "name"
1080
- ]
1081
- }
1082
- },
1083
- "stations": {
1084
- "type": "array",
1085
- "items": {
1086
- "type": "object",
1087
- "properties": {
1088
- "name": {
1089
- "type": "string"
1090
- },
1091
- "code": {
1092
- "type": "string"
1093
- },
1094
- "int": {
1095
- "enum": [
1096
- "!5-",
1097
- "1",
1098
- "2",
1099
- "3",
1100
- "4",
1101
- "5+",
1102
- "5-",
1103
- "6+",
1104
- "6-",
1105
- "7"
1106
- ],
1107
- "type": "string"
1108
- },
1109
- "revise": {
1110
- "enum": [
1111
- "上方修正",
1112
- "追加"
1113
- ],
1114
- "type": "string"
1115
- },
1116
- "condition": {
1117
- "enum": [
1118
- "震度5弱以上未入電"
1119
- ],
1120
- "type": "string"
1121
- }
1122
- },
1123
- "required": [
1124
- "code",
1125
- "int",
1126
- "name"
1127
- ]
1128
- }
1129
- }
1130
- },
1131
- "required": [
1132
- "cities",
1133
- "maxInt",
1134
- "prefectures",
1135
- "regions",
1136
- "stations"
1137
- ]
1138
- },
1139
- "text": {
1140
- "type": "string"
1141
- },
1142
- "comments": {
1143
- "type": "object",
1144
- "properties": {
1145
- "free": {
1146
- "type": "string"
1147
- },
1148
- "forecast": {
1149
- "type": "object",
1150
- "properties": {
1151
- "text": {
1152
- "type": "string"
1153
- },
1154
- "codes": {
1155
- "type": "array",
1156
- "items": {
1157
- "type": "string"
1158
- }
1159
- }
1160
- },
1161
- "required": [
1162
- "codes",
1163
- "text"
1164
- ]
1165
- },
1166
- "var": {
1167
- "type": "object",
1168
- "properties": {
1169
- "text": {
1170
- "type": "string"
1171
- },
1172
- "codes": {
1173
- "type": "array",
1174
- "items": {
1175
- "type": "string"
1176
- }
1177
- }
1178
- },
1179
- "required": [
1180
- "codes",
1181
- "text"
1182
- ]
1183
- }
1184
- }
1185
- }
1186
- },
1187
- "required": [
1188
- "comments",
1189
- "earthquake"
1190
- ]
1191
- },
1192
- "EarthquakeInformation.PublicVXSE62": {
1193
- "type": "object",
1194
- "properties": {
1195
- "_schema": {
1196
- "$ref": "#/definitions/EarthquakeInformation.Schema"
1197
- },
1198
- "type": {
1199
- "type": "string",
1200
- "enum": [
1201
- "長周期地震動に関する観測情報"
1202
- ]
1203
- },
1204
- "title": {
1205
- "type": "string",
1206
- "enum": [
1207
- "長周期地震動に関する観測情報"
1208
- ]
1209
- },
1210
- "infoKind": {
1211
- "type": "string",
1212
- "enum": [
1213
- "長周期地震動に関する観測情報"
1214
- ]
1215
- },
1216
- "eventId": {
1217
- "type": "string"
1218
- },
1219
- "serialNo": {
1220
- "type": "string"
1221
- },
1222
- "infoType": {
1223
- "enum": [
1224
- "発表",
1225
- "訂正"
1226
- ],
1227
- "type": "string"
1228
- },
1229
- "body": {
1230
- "$ref": "#/definitions/EarthquakeInformation.PublicBodyVXSE62"
1231
- },
1232
- "_originalId": {
1233
- "type": "string"
1234
- },
1235
- "status": {
1236
- "enum": [
1237
- "訓練",
1238
- "試験",
1239
- "通常"
1240
- ],
1241
- "type": "string"
1242
- },
1243
- "editorialOffice": {
1244
- "type": "string"
1245
- },
1246
- "publishingOffice": {
1247
- "type": "array",
1248
- "items": {
1249
- "type": "string"
1250
- }
1251
- },
1252
- "pressDateTime": {
1253
- "type": "string"
1254
- },
1255
- "reportDateTime": {
1256
- "type": "string"
1257
- },
1258
- "targetDateTime": {
1259
- "type": "string"
1260
- },
1261
- "targetDateTimeDubious": {
1262
- "type": "string"
1263
- },
1264
- "targetDuration": {
1265
- "type": "string"
1266
- },
1267
- "validDateTime": {
1268
- "type": "string"
1269
- },
1270
- "infoKindVersion": {
1271
- "type": "string"
1272
- },
1273
- "headline": {
1274
- "type": [
1275
- "null",
1276
- "string"
1277
- ]
1278
- }
1279
- },
1280
- "required": [
1281
- "_originalId",
1282
- "_schema",
1283
- "body",
1284
- "editorialOffice",
1285
- "eventId",
1286
- "headline",
1287
- "infoKind",
1288
- "infoKindVersion",
1289
- "infoType",
1290
- "pressDateTime",
1291
- "publishingOffice",
1292
- "reportDateTime",
1293
- "serialNo",
1294
- "status",
1295
- "targetDateTime",
1296
- "title",
1297
- "type"
1298
- ]
1299
- },
1300
- "EarthquakeInformation.PublicBodyVXSE62": {
1301
- "type": "object",
1302
- "properties": {
1303
- "earthquake": {
1304
- "$ref": "#/definitions/Earthquake"
1305
- },
1306
- "intensity": {
1307
- "type": "object",
1308
- "properties": {
1309
- "maxInt": {
1310
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
1311
- },
1312
- "maxLpgmInt": {
1313
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1314
- },
1315
- "lpgmCategory": {
1316
- "$ref": "#/definitions/EarthquakeInformation.LpgmCategory"
1317
- },
1318
- "prefectures": {
1319
- "type": "array",
1320
- "items": {
1321
- "allOf": [
1322
- {
1323
- "type": "object",
1324
- "properties": {
1325
- "name": {
1326
- "type": "string"
1327
- },
1328
- "code": {
1329
- "type": "string"
1330
- },
1331
- "maxInt": {
1332
- "enum": [
1333
- "1",
1334
- "2",
1335
- "3",
1336
- "4",
1337
- "5+",
1338
- "5-",
1339
- "6+",
1340
- "6-",
1341
- "7"
1342
- ],
1343
- "type": "string"
1344
- },
1345
- "revise": {
1346
- "enum": [
1347
- "上方修正",
1348
- "追加"
1349
- ],
1350
- "type": "string"
1351
- }
1352
- },
1353
- "required": [
1354
- "code",
1355
- "name"
1356
- ]
1357
- },
1358
- {
1359
- "type": "object",
1360
- "properties": {
1361
- "maxLpgmInt": {
1362
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1363
- }
1364
- },
1365
- "required": [
1366
- "maxLpgmInt"
1367
- ]
1368
- }
1369
- ]
1370
- }
1371
- },
1372
- "regions": {
1373
- "type": "array",
1374
- "items": {
1375
- "allOf": [
1376
- {
1377
- "type": "object",
1378
- "properties": {
1379
- "name": {
1380
- "type": "string"
1381
- },
1382
- "code": {
1383
- "type": "string"
1384
- },
1385
- "maxInt": {
1386
- "enum": [
1387
- "1",
1388
- "2",
1389
- "3",
1390
- "4",
1391
- "5+",
1392
- "5-",
1393
- "6+",
1394
- "6-",
1395
- "7"
1396
- ],
1397
- "type": "string"
1398
- },
1399
- "revise": {
1400
- "enum": [
1401
- "上方修正",
1402
- "追加"
1403
- ],
1404
- "type": "string"
1405
- }
1406
- },
1407
- "required": [
1408
- "code",
1409
- "name"
1410
- ]
1411
- },
1412
- {
1413
- "type": "object",
1414
- "properties": {
1415
- "maxLpgmInt": {
1416
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1417
- }
1418
- },
1419
- "required": [
1420
- "maxLpgmInt"
1421
- ]
1422
- }
1423
- ]
1424
- }
1425
- },
1426
- "stations": {
1427
- "type": "array",
1428
- "items": {
1429
- "allOf": [
1430
- {
1431
- "type": "object",
1432
- "properties": {
1433
- "name": {
1434
- "type": "string"
1435
- },
1436
- "code": {
1437
- "type": "string"
1438
- },
1439
- "int": {
1440
- "enum": [
1441
- "!5-",
1442
- "1",
1443
- "2",
1444
- "3",
1445
- "4",
1446
- "5+",
1447
- "5-",
1448
- "6+",
1449
- "6-",
1450
- "7"
1451
- ],
1452
- "type": "string"
1453
- },
1454
- "revise": {
1455
- "enum": [
1456
- "上方修正",
1457
- "追加"
1458
- ],
1459
- "type": "string"
1460
- },
1461
- "condition": {
1462
- "enum": [
1463
- "震度5弱以上未入電"
1464
- ],
1465
- "type": "string"
1466
- }
1467
- },
1468
- "required": [
1469
- "code",
1470
- "int",
1471
- "name"
1472
- ]
1473
- },
1474
- {
1475
- "type": "object",
1476
- "properties": {
1477
- "lpgmInt": {
1478
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1479
- },
1480
- "sva": {
1481
- "type": "object",
1482
- "properties": {
1483
- "unit": {
1484
- "type": "string",
1485
- "enum": [
1486
- "cm/s"
1487
- ]
1488
- },
1489
- "value": {
1490
- "type": "string"
1491
- }
1492
- },
1493
- "required": [
1494
- "unit",
1495
- "value"
1496
- ]
1497
- },
1498
- "prePeriods": {
1499
- "type": "array",
1500
- "items": {
1501
- "type": "object",
1502
- "properties": {
1503
- "periodicBand": {
1504
- "type": "object",
1505
- "properties": {
1506
- "unit": {
1507
- "type": "string",
1508
- "enum": [
1509
- "秒台"
1510
- ]
1511
- },
1512
- "value": {
1513
- "type": "string"
1514
- }
1515
- },
1516
- "required": [
1517
- "unit",
1518
- "value"
1519
- ]
1520
- },
1521
- "lpgmInt": {
1522
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1523
- },
1524
- "sva": {
1525
- "type": "object",
1526
- "properties": {
1527
- "unit": {
1528
- "type": "string",
1529
- "enum": [
1530
- "cm/s"
1531
- ]
1532
- },
1533
- "value": {
1534
- "type": "string"
1535
- }
1536
- },
1537
- "required": [
1538
- "unit",
1539
- "value"
1540
- ]
1541
- }
1542
- },
1543
- "required": [
1544
- "lpgmInt",
1545
- "periodicBand",
1546
- "sva"
1547
- ]
1548
- }
1549
- }
1550
- },
1551
- "required": [
1552
- "lpgmInt",
1553
- "prePeriods",
1554
- "sva"
1555
- ]
1556
- }
1557
- ]
1558
- }
1559
- }
1560
- },
1561
- "required": [
1562
- "lpgmCategory",
1563
- "maxInt",
1564
- "maxLpgmInt",
1565
- "prefectures",
1566
- "regions",
1567
- "stations"
1568
- ]
1569
- },
1570
- "text": {
1571
- "type": "string"
1572
- },
1573
- "comments": {
1574
- "type": "object",
1575
- "properties": {
1576
- "free": {
1577
- "type": "string"
1578
- },
1579
- "forecast": {
1580
- "type": "object",
1581
- "properties": {
1582
- "text": {
1583
- "type": "string"
1584
- },
1585
- "codes": {
1586
- "type": "array",
1587
- "items": {
1588
- "type": "string"
1589
- }
1590
- }
1591
- },
1592
- "required": [
1593
- "codes",
1594
- "text"
1595
- ]
1596
- },
1597
- "var": {
1598
- "type": "object",
1599
- "properties": {
1600
- "text": {
1601
- "type": "string"
1602
- },
1603
- "codes": {
1604
- "type": "array",
1605
- "items": {
1606
- "type": "string"
1607
- }
1608
- }
1609
- },
1610
- "required": [
1611
- "codes",
1612
- "text"
1613
- ]
1614
- }
1615
- }
1616
- }
1617
- },
1618
- "required": [
1619
- "comments",
1620
- "earthquake"
1621
- ]
1622
- },
1623
- "EarthquakeInformation.LpgmIntensityClass": {
1624
- "enum": [
1625
- "0",
1626
- "1",
1627
- "2",
1628
- "3",
1629
- "4"
1630
- ],
1631
- "type": "string"
1632
- },
1633
- "EarthquakeInformation.LpgmCategory": {
1634
- "enum": [
1635
- "1",
1636
- "2",
1637
- "3",
1638
- "4"
1639
- ],
1640
- "type": "string"
1641
- },
1642
- "EarthquakeInformation.Channel": {
1643
- "type": "object",
1644
- "properties": {
1645
- "_schema": {
1646
- "$ref": "#/definitions/EarthquakeInformation.Schema"
1647
- },
1648
- "type": {
1649
- "enum": [
1650
- "長周期地震動に関する観測情報",
1651
- "震度速報",
1652
- "震源に関する情報",
1653
- "震源・震度に関する情報"
1654
- ],
1655
- "type": "string"
1656
- },
1657
- "title": {
1658
- "enum": [
1659
- "遠地地震に関する情報",
1660
- "長周期地震動に関する観測情報",
1661
- "震度速報",
1662
- "震源に関する情報",
1663
- "震源・震度情報"
1664
- ],
1665
- "type": "string"
1666
- },
1667
- "infoKind": {
1668
- "type": "string",
1669
- "enum": [
1670
- "震度速報"
1671
- ]
1672
- },
1673
- "eventId": {
1674
- "type": "string"
1675
- },
1676
- "infoType": {
1677
- "type": "string",
1678
- "enum": [
1679
- "取消"
1680
- ]
1681
- },
1682
- "body": {
1683
- "$ref": "#/definitions/EarthquakeInformation.ChancelBody"
1684
- },
1685
- "_originalId": {
1686
- "type": "string"
1687
- },
1688
- "status": {
1689
- "enum": [
1690
- "訓練",
1691
- "試験",
1692
- "通常"
1693
- ],
1694
- "type": "string"
1695
- },
1696
- "editorialOffice": {
1697
- "type": "string"
1698
- },
1699
- "publishingOffice": {
1700
- "type": "array",
1701
- "items": {
1702
- "type": "string"
1703
- }
1704
- },
1705
- "pressDateTime": {
1706
- "type": "string"
1707
- },
1708
- "reportDateTime": {
1709
- "type": "string"
1710
- },
1711
- "targetDateTime": {
1712
- "type": "string"
1713
- },
1714
- "targetDateTimeDubious": {
1715
- "type": "string"
1716
- },
1717
- "targetDuration": {
1718
- "type": "string"
1719
- },
1720
- "validDateTime": {
1721
- "type": "string"
1722
- },
1723
- "serialNo": {
1724
- "type": [
1725
- "null",
1726
- "string"
1727
- ]
1728
- },
1729
- "infoKindVersion": {
1730
- "type": "string"
1731
- },
1732
- "headline": {
1733
- "type": [
1734
- "null",
1735
- "string"
1736
- ]
1737
- }
1738
- },
1739
- "required": [
1740
- "_originalId",
1741
- "_schema",
1742
- "body",
1743
- "editorialOffice",
1744
- "eventId",
1745
- "headline",
1746
- "infoKind",
1747
- "infoKindVersion",
1748
- "infoType",
1749
- "pressDateTime",
1750
- "publishingOffice",
1751
- "reportDateTime",
1752
- "serialNo",
1753
- "status",
1754
- "targetDateTime",
1755
- "title",
1756
- "type"
1757
- ]
1758
- },
1759
- "EarthquakeInformation.ChancelBody": {
1760
- "type": "object",
1761
- "properties": {
1762
- "text": {
1763
- "type": "string"
1764
- }
1765
- },
1766
- "required": [
1767
- "text"
1768
- ]
1769
- },
1770
- "EewInformation.PublicTesting": {
1771
- "type": "object",
1772
- "properties": {
1773
- "isLastInfo": {
1774
- "type": "boolean",
1775
- "enum": [
1776
- false
1777
- ]
1778
- },
1779
- "text": {
1780
- "type": "string"
1781
- },
1782
- "_schema": {
1783
- "$ref": "#/definitions/EewInformation.Schema"
1784
- },
1785
- "type": {
1786
- "type": "string",
1787
- "enum": [
1788
- "緊急地震速報テスト"
1789
- ]
1790
- },
1791
- "title": {
1792
- "type": "string",
1793
- "enum": [
1794
- "緊急地震速報テスト"
1795
- ]
1796
- },
1797
- "infoKind": {
1798
- "type": "string",
1799
- "enum": [
1800
- "緊急地震速報"
1801
- ]
1802
- },
1803
- "eventId": {
1804
- "type": "string"
1805
- },
1806
- "serialNo": {
1807
- "type": "string"
1808
- },
1809
- "infoType": {
1810
- "enum": [
1811
- "発表",
1812
- "訂正"
1813
- ],
1814
- "type": "string"
1815
- },
1816
- "body": {
1817
- "$ref": "#/definitions/EewInformation.PublicTesting"
1818
- },
1819
- "_originalId": {
1820
- "type": "string"
1821
- },
1822
- "status": {
1823
- "enum": [
1824
- "訓練",
1825
- "試験",
1826
- "通常"
1827
- ],
1828
- "type": "string"
1829
- },
1830
- "editorialOffice": {
1831
- "type": "string"
1832
- },
1833
- "publishingOffice": {
1834
- "type": "array",
1835
- "items": {
1836
- "type": "string"
1837
- }
1838
- },
1839
- "pressDateTime": {
1840
- "type": "string"
1841
- },
1842
- "reportDateTime": {
1843
- "type": "string"
1844
- },
1845
- "targetDateTime": {
1846
- "type": "string"
1847
- },
1848
- "targetDateTimeDubious": {
1849
- "type": "string"
1850
- },
1851
- "targetDuration": {
1852
- "type": "string"
1853
- },
1854
- "validDateTime": {
1855
- "type": "string"
1856
- },
1857
- "infoKindVersion": {
1858
- "type": "string"
1859
- },
1860
- "headline": {
1861
- "type": [
1862
- "null",
1863
- "string"
1864
- ]
1865
- }
1866
- },
1867
- "required": [
1868
- "_originalId",
1869
- "_schema",
1870
- "body",
1871
- "editorialOffice",
1872
- "eventId",
1873
- "headline",
1874
- "infoKind",
1875
- "infoKindVersion",
1876
- "infoType",
1877
- "isLastInfo",
1878
- "pressDateTime",
1879
- "publishingOffice",
1880
- "reportDateTime",
1881
- "serialNo",
1882
- "status",
1883
- "targetDateTime",
1884
- "text",
1885
- "title",
1886
- "type"
1887
- ]
1888
- },
1889
- "EewInformation.Schema": {
1890
- "type": "object",
1891
- "properties": {
1892
- "type": {
1893
- "type": "string",
1894
- "enum": [
1895
- "eew-information"
1896
- ]
1897
- },
1898
- "version": {
1899
- "type": "string",
1900
- "enum": [
1901
- "1.0.0"
1902
- ]
1903
- }
1904
- },
1905
- "required": [
1906
- "type",
1907
- "version"
1908
- ]
1909
- },
1910
- "EewInformation.PublicCommon": {
1911
- "type": "object",
1912
- "properties": {
1913
- "_schema": {
1914
- "$ref": "#/definitions/EewInformation.Schema"
1915
- },
1916
- "type": {
1917
- "enum": [
1918
- "緊急地震速報(予報)",
1919
- "緊急地震速報(地震動予報)",
1920
- "緊急地震速報(警報)"
1921
- ],
1922
- "type": "string"
1923
- },
1924
- "title": {
1925
- "enum": [
1926
- "緊急地震速報(予報)",
1927
- "緊急地震速報(地震動予報)",
1928
- "緊急地震速報(警報)"
1929
- ],
1930
- "type": "string"
1931
- },
1932
- "infoKind": {
1933
- "type": "string",
1934
- "enum": [
1935
- "緊急地震速報"
1936
- ]
1937
- },
1938
- "eventId": {
1939
- "type": "string"
1940
- },
1941
- "serialNo": {
1942
- "type": "string"
1943
- },
1944
- "infoType": {
1945
- "enum": [
1946
- "発表",
1947
- "訂正"
1948
- ],
1949
- "type": "string"
1950
- },
1951
- "body": {
1952
- "$ref": "#/definitions/EewInformation.PublicCommonBody"
1953
- },
1954
- "_originalId": {
1955
- "type": "string"
1956
- },
1957
- "status": {
1958
- "enum": [
1959
- "訓練",
1960
- "試験",
1961
- "通常"
1962
- ],
1963
- "type": "string"
1964
- },
1965
- "editorialOffice": {
1966
- "type": "string"
1967
- },
1968
- "publishingOffice": {
1969
- "type": "array",
1970
- "items": {
1971
- "type": "string"
1972
- }
1973
- },
1974
- "pressDateTime": {
1975
- "type": "string"
1976
- },
1977
- "reportDateTime": {
1978
- "type": "string"
1979
- },
1980
- "targetDateTime": {
1981
- "type": "string"
1982
- },
1983
- "targetDateTimeDubious": {
1984
- "type": "string"
1985
- },
1986
- "targetDuration": {
1987
- "type": "string"
1988
- },
1989
- "validDateTime": {
1990
- "type": "string"
1991
- },
1992
- "infoKindVersion": {
1993
- "type": "string"
1994
- },
1995
- "headline": {
1996
- "type": [
1997
- "null",
1998
- "string"
1999
- ]
2000
- }
2001
- },
2002
- "required": [
2003
- "_originalId",
2004
- "_schema",
2005
- "body",
2006
- "editorialOffice",
2007
- "eventId",
2008
- "headline",
2009
- "infoKind",
2010
- "infoKindVersion",
2011
- "infoType",
2012
- "pressDateTime",
2013
- "publishingOffice",
2014
- "reportDateTime",
2015
- "serialNo",
2016
- "status",
2017
- "targetDateTime",
2018
- "title",
2019
- "type"
2020
- ]
2021
- },
2022
- "EewInformation.PublicCommonBody": {
2023
- "type": "object",
2024
- "properties": {
2025
- "isLastInfo": {
2026
- "type": "boolean"
2027
- },
2028
- "zones": {
2029
- "type": "array",
2030
- "items": {
2031
- "$ref": "#/definitions/EewInformation.WarningArea"
2032
- }
2033
- },
2034
- "prefectures": {
2035
- "type": "array",
2036
- "items": {
2037
- "$ref": "#/definitions/EewInformation.WarningArea"
2038
- }
2039
- },
2040
- "regions": {
2041
- "type": "array",
2042
- "items": {
2043
- "$ref": "#/definitions/EewInformation.WarningArea"
2044
- }
2045
- },
2046
- "earthquake": {
2047
- "$ref": "#/definitions/EewInformation.Earthquake"
2048
- },
2049
- "intensity": {
2050
- "$ref": "#/definitions/EewInformation.Intensity"
2051
- },
2052
- "text": {
2053
- "type": "string"
2054
- },
2055
- "comments": {
2056
- "type": "object",
2057
- "properties": {
2058
- "free": {
2059
- "type": "string"
2060
- },
2061
- "warning": {
2062
- "type": "object",
2063
- "properties": {
2064
- "text": {
2065
- "type": "string"
2066
- },
2067
- "codes": {
2068
- "type": "array",
2069
- "items": {
2070
- "type": "string"
2071
- }
2072
- }
2073
- },
2074
- "required": [
2075
- "codes",
2076
- "text"
2077
- ]
2078
- }
2079
- }
2080
- }
2081
- },
2082
- "required": [
2083
- "comments",
2084
- "earthquake",
2085
- "isLastInfo"
2086
- ]
2087
- },
2088
- "EewInformation.WarningArea": {
2089
- "type": "object",
2090
- "properties": {
2091
- "code": {
2092
- "type": "string"
2093
- },
2094
- "name": {
2095
- "type": "string"
2096
- },
2097
- "kind": {
2098
- "$ref": "#/definitions/EewInformation.WarningAreaKind"
2099
- }
2100
- },
2101
- "required": [
2102
- "code",
2103
- "kind",
2104
- "name"
2105
- ]
2106
- },
2107
- "EewInformation.WarningAreaKind": {
2108
- "type": "object",
2109
- "properties": {
2110
- "code": {
2111
- "type": "string"
2112
- },
2113
- "name": {
2114
- "type": "string"
2115
- },
2116
- "lastKind": {
2117
- "type": "object",
2118
- "properties": {
2119
- "code": {
2120
- "type": "string"
2121
- },
2122
- "name": {
2123
- "type": "string"
2124
- }
2125
- },
2126
- "required": [
2127
- "code",
2128
- "name"
2129
- ]
2130
- }
2131
- },
2132
- "required": [
2133
- "code",
2134
- "lastKind",
2135
- "name"
2136
- ]
2137
- },
2138
- "EewInformation.Earthquake": {
2139
- "type": "object",
2140
- "properties": {
2141
- "originTime": {
2142
- "type": "string"
2143
- },
2144
- "arrivalTime": {
2145
- "type": "string"
2146
- },
2147
- "condition": {
2148
- "enum": [
2149
- "仮定震源要素"
2150
- ],
2151
- "type": "string"
2152
- },
2153
- "hypocenter": {
2154
- "$ref": "#/definitions/EewInformation.EarthquakeHypocenter"
2155
- },
2156
- "magnitude": {
2157
- "$ref": "#/definitions/EewInformation.EarthquakeMagnitude"
2158
- }
2159
- },
2160
- "required": [
2161
- "arrivalTime",
2162
- "hypocenter",
2163
- "magnitude"
2164
- ]
2165
- },
2166
- "EewInformation.EarthquakeHypocenter": {
2167
- "type": "object",
2168
- "properties": {
2169
- "code": {
2170
- "type": "string"
2171
- },
2172
- "name": {
2173
- "type": "string"
2174
- },
2175
- "coordinate": {
2176
- "anyOf": [
2177
- {
2178
- "type": "object",
2179
- "properties": {
2180
- "condition": {
2181
- "type": "string",
2182
- "enum": [
2183
- "不明"
2184
- ]
2185
- }
2186
- },
2187
- "required": [
2188
- "condition"
2189
- ]
2190
- },
2191
- {
2192
- "type": "object",
2193
- "properties": {
2194
- "latitude": {
2195
- "type": "object",
2196
- "properties": {
2197
- "text": {
2198
- "type": "string"
2199
- },
2200
- "value": {
2201
- "type": "string"
2202
- }
2203
- },
2204
- "required": [
2205
- "text",
2206
- "value"
2207
- ]
2208
- },
2209
- "longitude": {
2210
- "type": "object",
2211
- "properties": {
2212
- "text": {
2213
- "type": "string"
2214
- },
2215
- "value": {
2216
- "type": "string"
2217
- }
2218
- },
2219
- "required": [
2220
- "text",
2221
- "value"
2222
- ]
2223
- },
2224
- "height": {
2225
- "type": "object",
2226
- "properties": {
2227
- "type": {
2228
- "type": "string",
2229
- "enum": [
2230
- "深さ"
2231
- ]
2232
- },
2233
- "unit": {
2234
- "type": "string",
2235
- "enum": [
2236
- "km"
2237
- ]
2238
- },
2239
- "value": {
2240
- "type": [
2241
- "null",
2242
- "string"
2243
- ]
2244
- }
2245
- },
2246
- "required": [
2247
- "type",
2248
- "unit",
2249
- "value"
2250
- ]
2251
- },
2252
- "condition": {
2253
- "type": "undefined"
2254
- },
2255
- "geodeticSystem": {
2256
- "type": "string",
2257
- "enum": [
2258
- "日本測地系"
2259
- ]
2260
- }
2261
- },
2262
- "required": [
2263
- "condition",
2264
- "geodeticSystem",
2265
- "latitude",
2266
- "longitude"
2267
- ]
2268
- }
2269
- ]
2270
- },
2271
- "depth": {
2272
- "type": "object",
2273
- "properties": {
2274
- "type": {
2275
- "type": "string",
2276
- "enum": [
2277
- "深さ"
2278
- ]
2279
- },
2280
- "unit": {
2281
- "type": "string",
2282
- "enum": [
2283
- "km"
2284
- ]
2285
- },
2286
- "value": {
2287
- "type": "string"
2288
- }
2289
- },
2290
- "required": [
2291
- "type",
2292
- "unit",
2293
- "value"
2294
- ]
2295
- },
2296
- "reduce": {
2297
- "$ref": "#/definitions/EewInformation.EarthquakeHypocenterReduce"
2298
- },
2299
- "landOrSea": {
2300
- "enum": [
2301
- "内陸",
2302
- "海域"
2303
- ],
2304
- "type": "string"
2305
- },
2306
- "accuracy": {
2307
- "$ref": "#/definitions/EewInformation.EarthquakeHypocenterAccuracy"
2308
- }
2309
- },
2310
- "required": [
2311
- "accuracy",
2312
- "code",
2313
- "coordinate",
2314
- "depth",
2315
- "name",
2316
- "reduce"
2317
- ]
2318
- },
2319
- "EewInformation.EarthquakeHypocenterReduce": {
2320
- "type": "object",
2321
- "properties": {
2322
- "code": {
2323
- "type": "string"
2324
- },
2325
- "name": {
2326
- "type": "string"
2327
- }
2328
- },
2329
- "required": [
2330
- "code",
2331
- "name"
2332
- ]
2333
- },
2334
- "EewInformation.EarthquakeHypocenterAccuracy": {
2335
- "type": "object",
2336
- "properties": {
2337
- "epicenters": {
2338
- "type": "array",
2339
- "items": [
2340
- {
2341
- "enum": [
2342
- "0",
2343
- "1",
2344
- "2",
2345
- "3",
2346
- "4",
2347
- "5",
2348
- "6",
2349
- "7",
2350
- "8"
2351
- ],
2352
- "type": "string"
2353
- },
2354
- {
2355
- "enum": [
2356
- "0",
2357
- "1",
2358
- "2",
2359
- "3",
2360
- "4",
2361
- "9"
2362
- ],
2363
- "type": "string"
2364
- }
2365
- ],
2366
- "minItems": 2,
2367
- "maxItems": 2
2368
- },
2369
- "depth": {
2370
- "enum": [
2371
- "0",
2372
- "1",
2373
- "2",
2374
- "3",
2375
- "4",
2376
- "5",
2377
- "6",
2378
- "7",
2379
- "8"
2380
- ],
2381
- "type": "string"
2382
- },
2383
- "magnitudeCalculation": {
2384
- "enum": [
2385
- "0",
2386
- "2",
2387
- "3",
2388
- "4",
2389
- "5",
2390
- "6",
2391
- "8"
2392
- ],
2393
- "type": "string"
2394
- },
2395
- "numberOfMagnitudeCalculation": {
2396
- "enum": [
2397
- "0",
2398
- "1",
2399
- "2",
2400
- "3",
2401
- "4",
2402
- "5"
2403
- ],
2404
- "type": "string"
2405
- }
2406
- },
2407
- "required": [
2408
- "depth",
2409
- "epicenters",
2410
- "magnitudeCalculation",
2411
- "numberOfMagnitudeCalculation"
2412
- ]
2413
- },
2414
- "EewInformation.EarthquakeMagnitude": {
2415
- "type": "object",
2416
- "properties": {
2417
- "type": {
2418
- "type": "string",
2419
- "enum": [
2420
- "マグニチュード"
2421
- ]
2422
- },
2423
- "unit": {
2424
- "enum": [
2425
- "M",
2426
- "Mj"
2427
- ],
2428
- "type": "string"
2429
- },
2430
- "value": {
2431
- "type": [
2432
- "null",
2433
- "string"
2434
- ]
2435
- },
2436
- "condition": {
2437
- "enum": [
2438
- "M不明"
2439
- ],
2440
- "type": "string"
2441
- }
2442
- },
2443
- "required": [
2444
- "type",
2445
- "unit",
2446
- "value"
2447
- ]
2448
- },
2449
- "EewInformation.Intensity": {
2450
- "type": "object",
2451
- "properties": {
2452
- "forecastMaxInt": {
2453
- "$ref": "#/definitions/EewInformation.IntensityForecastMaxInt"
2454
- },
2455
- "forecastLpgmMaxInt": {
2456
- "$ref": "#/definitions/EewInformation.IntensityForecastLpgmMaxInt"
2457
- },
2458
- "appendix": {
2459
- "$ref": "#/definitions/EewInformation.IntensityAppendix"
2460
- },
2461
- "regions": {
2462
- "type": "array",
2463
- "items": {
2464
- "$ref": "#/definitions/EewInformation.IntensityRegion"
2465
- }
2466
- }
2467
- },
2468
- "required": [
2469
- "forecastMaxInt",
2470
- "regions"
2471
- ]
2472
- },
2473
- "EewInformation.IntensityForecastMaxInt": {
2474
- "type": "object",
2475
- "properties": {
2476
- "from": {
2477
- "enum": [
2478
- "0",
2479
- "1",
2480
- "2",
2481
- "3",
2482
- "4",
2483
- "5+",
2484
- "5-",
2485
- "6+",
2486
- "6-",
2487
- "7",
2488
- "不明"
2489
- ],
2490
- "type": "string"
2491
- },
2492
- "to": {
2493
- "enum": [
2494
- "0",
2495
- "1",
2496
- "2",
2497
- "3",
2498
- "4",
2499
- "5+",
2500
- "5-",
2501
- "6+",
2502
- "6-",
2503
- "7",
2504
- "over",
2505
- "不明"
2506
- ],
2507
- "type": "string"
2508
- }
2509
- },
2510
- "required": [
2511
- "from",
2512
- "to"
2513
- ]
2514
- },
2515
- "EewInformation.IntensityForecastLpgmMaxInt": {
2516
- "type": "object",
2517
- "properties": {
2518
- "from": {
2519
- "enum": [
2520
- "0",
2521
- "1",
2522
- "2",
2523
- "3",
2524
- "4",
2525
- "不明"
2526
- ],
2527
- "type": "string"
2528
- },
2529
- "to": {
2530
- "enum": [
2531
- "0",
2532
- "1",
2533
- "2",
2534
- "3",
2535
- "4",
2536
- "over",
2537
- "不明"
2538
- ],
2539
- "type": "string"
2540
- }
2541
- },
2542
- "required": [
2543
- "from",
2544
- "to"
2545
- ]
2546
- },
2547
- "EewInformation.IntensityAppendix": {
2548
- "type": "object",
2549
- "properties": {
2550
- "maxIntChange": {
2551
- "enum": [
2552
- "0",
2553
- "1",
2554
- "2"
2555
- ],
2556
- "type": "string"
2557
- },
2558
- "maxLpgmIntChange": {
2559
- "enum": [
2560
- "0",
2561
- "1",
2562
- "2"
2563
- ],
2564
- "type": "string"
2565
- },
2566
- "maxIntChangeReason": {
2567
- "enum": [
2568
- "0",
2569
- "1",
2570
- "2",
2571
- "3",
2572
- "4",
2573
- "9"
2574
- ],
2575
- "type": "string"
2576
- }
2577
- },
2578
- "required": [
2579
- "maxIntChange",
2580
- "maxIntChangeReason"
2581
- ]
2582
- },
2583
- "EewInformation.IntensityRegion": {
2584
- "type": "object",
2585
- "properties": {
2586
- "code": {
2587
- "type": "string"
2588
- },
2589
- "name": {
2590
- "type": "string"
2591
- },
2592
- "forecastMaxInt": {
2593
- "$ref": "#/definitions/EewInformation.IntensityForecastMaxInt"
2594
- },
2595
- "forecastLpgmMaxInt": {
2596
- "$ref": "#/definitions/EewInformation.IntensityForecastLpgmMaxInt"
2597
- },
2598
- "kind": {
2599
- "$ref": "#/definitions/EewInformation.WarningAreaKind"
2600
- }
2601
- },
2602
- "required": [
2603
- "code",
2604
- "forecastMaxInt",
2605
- "kind",
2606
- "name"
2607
- ]
2608
- },
2609
- "EewInformation.Channel": {
2610
- "type": "object",
2611
- "properties": {
2612
- "_schema": {
2613
- "$ref": "#/definitions/EewInformation.Schema"
2614
- },
2615
- "type": {
2616
- "enum": [
2617
- "緊急地震速報テスト",
2618
- "緊急地震速報(予報)",
2619
- "緊急地震速報(地震動予報)",
2620
- "緊急地震速報(警報)"
2621
- ],
2622
- "type": "string"
2623
- },
2624
- "title": {
2625
- "enum": [
2626
- "緊急地震速報テスト",
2627
- "緊急地震速報(予報)",
2628
- "緊急地震速報(地震動予報)",
2629
- "緊急地震速報(警報)"
2630
- ],
2631
- "type": "string"
2632
- },
2633
- "infoKind": {
2634
- "type": "string",
2635
- "enum": [
2636
- "緊急地震速報"
2637
- ]
2638
- },
2639
- "eventId": {
2640
- "type": "string"
2641
- },
2642
- "serialNo": {
2643
- "type": "string"
2644
- },
2645
- "infoType": {
2646
- "type": "string",
2647
- "enum": [
2648
- "取消"
2649
- ]
2650
- },
2651
- "body": {
2652
- "$ref": "#/definitions/EewInformation.ChancelBody"
2653
- },
2654
- "_originalId": {
2655
- "type": "string"
2656
- },
2657
- "status": {
2658
- "enum": [
2659
- "訓練",
2660
- "試験",
2661
- "通常"
2662
- ],
2663
- "type": "string"
2664
- },
2665
- "editorialOffice": {
2666
- "type": "string"
2667
- },
2668
- "publishingOffice": {
2669
- "type": "array",
2670
- "items": {
2671
- "type": "string"
2672
- }
2673
- },
2674
- "pressDateTime": {
2675
- "type": "string"
2676
- },
2677
- "reportDateTime": {
2678
- "type": "string"
2679
- },
2680
- "targetDateTime": {
2681
- "type": "string"
2682
- },
2683
- "targetDateTimeDubious": {
2684
- "type": "string"
2685
- },
2686
- "targetDuration": {
2687
- "type": "string"
2688
- },
2689
- "validDateTime": {
2690
- "type": "string"
2691
- },
2692
- "infoKindVersion": {
2693
- "type": "string"
2694
- },
2695
- "headline": {
2696
- "type": [
2697
- "null",
2698
- "string"
2699
- ]
2700
- }
2701
- },
2702
- "required": [
2703
- "_originalId",
2704
- "_schema",
2705
- "body",
2706
- "editorialOffice",
2707
- "eventId",
2708
- "headline",
2709
- "infoKind",
2710
- "infoKindVersion",
2711
- "infoType",
2712
- "pressDateTime",
2713
- "publishingOffice",
2714
- "reportDateTime",
2715
- "serialNo",
2716
- "status",
2717
- "targetDateTime",
2718
- "title",
2719
- "type"
2720
- ]
2721
- },
2722
- "EewInformation.ChancelBody": {
2723
- "type": "object",
2724
- "properties": {
2725
- "isLastInfo": {
2726
- "type": "boolean",
2727
- "enum": [
2728
- true
2729
- ]
2730
- },
2731
- "text": {
2732
- "type": "string"
2733
- }
2734
- },
2735
- "required": [
2736
- "isLastInfo",
2737
- "text"
2738
- ]
2739
- }
2740
- },
2741
- "$schema": "http://json-schema.org/draft-07/schema#"
2742
- }