@dmdata/telegram-json-types 1.0.9-jschema.0 → 1.0.9-jschema.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +31 -2
  2. package/dist/build.js +17 -11
  3. package/dist/jschema/earthquake-information_1.0.0.json +1 -0
  4. package/dist/jschema/earthquake-information_1.1.0.json +1 -0
  5. package/dist/jschema/eew-information_1.0.0.json +1 -0
  6. package/dist/jschema/tsunami-information_1.0.0.json +1 -0
  7. package/dist/jschema/weather-typhoon_1.0.0.json +1 -0
  8. package/dist/jschema-load.d.ts +1 -1
  9. package/dist/jschema-load.js +12 -6
  10. package/index.d.ts +2 -2
  11. package/package.json +3 -3
  12. package/types/{schema/component → component}/coordinate.d.ts +0 -0
  13. package/types/{schema/component → component}/earthquake.d.ts +0 -0
  14. package/types/{schema/component → component}/unit-value.d.ts +0 -0
  15. package/types/index.d.ts +11 -4
  16. package/types/schema/earthquake-information/1.0.0.d.ts +135 -0
  17. package/types/schema/{earthquake-information.d.ts → earthquake-information/1.1.0.d.ts} +179 -181
  18. package/types/schema/earthquake-information/index.d.ts +11 -0
  19. package/types/schema/{eew-information.d.ts → eew-information/1.0.0.d.ts} +3 -3
  20. package/types/schema/eew-information/index.d.ts +9 -0
  21. package/types/schema/{tsunami-information.d.ts → tsunami-information/1.0.0.d.ts} +230 -230
  22. package/types/schema/tsunami-information/index.d.ts +9 -0
  23. package/types/schema/{weather-typhoon.d.ts → weather-typhoon/1.0.0.d.ts} +3 -3
  24. package/types/schema/weather-typhoon/index.d.ts +9 -0
  25. package/dist/jschema/earthquake-information.json +0 -1778
  26. package/dist/jschema/eew-information.json +0 -2742
  27. package/dist/jschema/tsunami-information.json +0 -3891
  28. package/dist/jschema/weather-typhoon.json +0 -4969
  29. package/jschema/build.ts +0 -56
  30. package/jschema/config.ts +0 -4
  31. package/jschema/jschema-load.ts +0 -26
  32. package/tsconfig.jschema.json +0 -16
@@ -1,1778 +0,0 @@
1
- {
2
- "anyOf": [
3
- {
4
- "$ref": "#/definitions/EarthquakeInformation.PublicVXSE51"
5
- },
6
- {
7
- "$ref": "#/definitions/EarthquakeInformation.PublicVXSE52"
8
- },
9
- {
10
- "$ref": "#/definitions/EarthquakeInformation.PublicVXSE53"
11
- },
12
- {
13
- "$ref": "#/definitions/EarthquakeInformation.PublicVXSE62"
14
- },
15
- {
16
- "$ref": "#/definitions/EarthquakeInformation.Channel"
17
- }
18
- ],
19
- "definitions": {
20
- "EarthquakeInformation.PublicVXSE51": {
21
- "type": "object",
22
- "properties": {
23
- "_schema": {
24
- "$ref": "#/definitions/EarthquakeInformation.Schema"
25
- },
26
- "type": {
27
- "type": "string",
28
- "enum": [
29
- "震度速報"
30
- ]
31
- },
32
- "title": {
33
- "type": "string",
34
- "enum": [
35
- "震度速報"
36
- ]
37
- },
38
- "infoKind": {
39
- "type": "string",
40
- "enum": [
41
- "震度速報"
42
- ]
43
- },
44
- "eventId": {
45
- "type": "string"
46
- },
47
- "serialNo": {
48
- "type": "null"
49
- },
50
- "infoType": {
51
- "enum": [
52
- "発表",
53
- "訂正"
54
- ],
55
- "type": "string"
56
- },
57
- "body": {
58
- "$ref": "#/definitions/EarthquakeInformation.PublicBodyVXSE51"
59
- },
60
- "_originalId": {
61
- "type": "string"
62
- },
63
- "status": {
64
- "enum": [
65
- "訓練",
66
- "試験",
67
- "通常"
68
- ],
69
- "type": "string"
70
- },
71
- "editorialOffice": {
72
- "type": "string"
73
- },
74
- "publishingOffice": {
75
- "type": "array",
76
- "items": {
77
- "type": "string"
78
- }
79
- },
80
- "pressDateTime": {
81
- "type": "string"
82
- },
83
- "reportDateTime": {
84
- "type": "string"
85
- },
86
- "targetDateTime": {
87
- "type": "string"
88
- },
89
- "targetDateTimeDubious": {
90
- "type": "string"
91
- },
92
- "targetDuration": {
93
- "type": "string"
94
- },
95
- "validDateTime": {
96
- "type": "string"
97
- },
98
- "infoKindVersion": {
99
- "type": "string"
100
- },
101
- "headline": {
102
- "type": [
103
- "null",
104
- "string"
105
- ]
106
- }
107
- },
108
- "required": [
109
- "_originalId",
110
- "_schema",
111
- "body",
112
- "editorialOffice",
113
- "eventId",
114
- "headline",
115
- "infoKind",
116
- "infoKindVersion",
117
- "infoType",
118
- "pressDateTime",
119
- "publishingOffice",
120
- "reportDateTime",
121
- "serialNo",
122
- "status",
123
- "targetDateTime",
124
- "title",
125
- "type"
126
- ]
127
- },
128
- "EarthquakeInformation.Schema": {
129
- "type": "object",
130
- "properties": {
131
- "type": {
132
- "type": "string",
133
- "enum": [
134
- "earthquake-information"
135
- ]
136
- },
137
- "version": {
138
- "type": "string",
139
- "enum": [
140
- "1.1.0"
141
- ]
142
- }
143
- },
144
- "required": [
145
- "type",
146
- "version"
147
- ]
148
- },
149
- "EarthquakeInformation.PublicBodyVXSE51": {
150
- "type": "object",
151
- "properties": {
152
- "intensity": {
153
- "type": "object",
154
- "properties": {
155
- "maxInt": {
156
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
157
- },
158
- "prefectures": {
159
- "type": "array",
160
- "items": {
161
- "type": "object",
162
- "properties": {
163
- "name": {
164
- "type": "string"
165
- },
166
- "code": {
167
- "type": "string"
168
- },
169
- "maxInt": {
170
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
171
- }
172
- },
173
- "required": [
174
- "code",
175
- "maxInt",
176
- "name"
177
- ]
178
- }
179
- },
180
- "regions": {
181
- "type": "array",
182
- "items": {
183
- "type": "object",
184
- "properties": {
185
- "name": {
186
- "type": "string"
187
- },
188
- "code": {
189
- "type": "string"
190
- },
191
- "maxInt": {
192
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
193
- }
194
- },
195
- "required": [
196
- "code",
197
- "maxInt",
198
- "name"
199
- ]
200
- }
201
- }
202
- },
203
- "required": [
204
- "maxInt",
205
- "prefectures",
206
- "regions"
207
- ]
208
- },
209
- "text": {
210
- "type": "string"
211
- },
212
- "comments": {
213
- "$ref": "#/definitions/Omit<EarthquakeInformation.Comment,\"var\">"
214
- }
215
- },
216
- "required": [
217
- "comments",
218
- "intensity"
219
- ]
220
- },
221
- "EarthquakeInformation.IntensityClass": {
222
- "enum": [
223
- "1",
224
- "2",
225
- "3",
226
- "4",
227
- "5+",
228
- "5-",
229
- "6+",
230
- "6-",
231
- "7"
232
- ],
233
- "type": "string"
234
- },
235
- "Omit<EarthquakeInformation.Comment,\"var\">": {
236
- "type": "object",
237
- "properties": {
238
- "free": {
239
- "type": "string"
240
- },
241
- "forecast": {
242
- "type": "object",
243
- "properties": {
244
- "text": {
245
- "type": "string"
246
- },
247
- "codes": {
248
- "type": "array",
249
- "items": {
250
- "type": "string"
251
- }
252
- }
253
- },
254
- "required": [
255
- "codes",
256
- "text"
257
- ]
258
- }
259
- }
260
- },
261
- "EarthquakeInformation.PublicVXSE52": {
262
- "type": "object",
263
- "properties": {
264
- "_schema": {
265
- "$ref": "#/definitions/EarthquakeInformation.Schema"
266
- },
267
- "type": {
268
- "type": "string",
269
- "enum": [
270
- "震源に関する情報"
271
- ]
272
- },
273
- "title": {
274
- "type": "string",
275
- "enum": [
276
- "震源に関する情報"
277
- ]
278
- },
279
- "infoKind": {
280
- "type": "string",
281
- "enum": [
282
- "震源速報"
283
- ]
284
- },
285
- "eventId": {
286
- "type": "string"
287
- },
288
- "serialNo": {
289
- "type": "null"
290
- },
291
- "infoType": {
292
- "enum": [
293
- "発表",
294
- "訂正"
295
- ],
296
- "type": "string"
297
- },
298
- "body": {
299
- "$ref": "#/definitions/EarthquakeInformation.PublicBodyVXSE52"
300
- },
301
- "_originalId": {
302
- "type": "string"
303
- },
304
- "status": {
305
- "enum": [
306
- "訓練",
307
- "試験",
308
- "通常"
309
- ],
310
- "type": "string"
311
- },
312
- "editorialOffice": {
313
- "type": "string"
314
- },
315
- "publishingOffice": {
316
- "type": "array",
317
- "items": {
318
- "type": "string"
319
- }
320
- },
321
- "pressDateTime": {
322
- "type": "string"
323
- },
324
- "reportDateTime": {
325
- "type": "string"
326
- },
327
- "targetDateTime": {
328
- "type": "string"
329
- },
330
- "targetDateTimeDubious": {
331
- "type": "string"
332
- },
333
- "targetDuration": {
334
- "type": "string"
335
- },
336
- "validDateTime": {
337
- "type": "string"
338
- },
339
- "infoKindVersion": {
340
- "type": "string"
341
- },
342
- "headline": {
343
- "type": [
344
- "null",
345
- "string"
346
- ]
347
- }
348
- },
349
- "required": [
350
- "_originalId",
351
- "_schema",
352
- "body",
353
- "editorialOffice",
354
- "eventId",
355
- "headline",
356
- "infoKind",
357
- "infoKindVersion",
358
- "infoType",
359
- "pressDateTime",
360
- "publishingOffice",
361
- "reportDateTime",
362
- "serialNo",
363
- "status",
364
- "targetDateTime",
365
- "title",
366
- "type"
367
- ]
368
- },
369
- "EarthquakeInformation.PublicBodyVXSE52": {
370
- "type": "object",
371
- "properties": {
372
- "earthquake": {
373
- "$ref": "#/definitions/Earthquake"
374
- },
375
- "text": {
376
- "type": "string"
377
- },
378
- "comments": {
379
- "$ref": "#/definitions/Omit<EarthquakeInformation.Comment,\"var\">"
380
- }
381
- },
382
- "required": [
383
- "comments",
384
- "earthquake"
385
- ]
386
- },
387
- "Earthquake": {
388
- "type": "object",
389
- "properties": {
390
- "originTime": {
391
- "type": "string"
392
- },
393
- "arrivalTime": {
394
- "type": "string"
395
- },
396
- "hypocenter": {
397
- "type": "object",
398
- "properties": {
399
- "name": {
400
- "type": "string"
401
- },
402
- "code": {
403
- "type": "string"
404
- },
405
- "coordinate": {
406
- "anyOf": [
407
- {
408
- "type": "object",
409
- "properties": {
410
- "condition": {
411
- "type": "string",
412
- "enum": [
413
- "不明"
414
- ]
415
- }
416
- },
417
- "required": [
418
- "condition"
419
- ]
420
- },
421
- {
422
- "type": "object",
423
- "properties": {
424
- "latitude": {
425
- "type": "object",
426
- "properties": {
427
- "text": {
428
- "type": "string"
429
- },
430
- "value": {
431
- "type": "string"
432
- }
433
- },
434
- "required": [
435
- "text",
436
- "value"
437
- ]
438
- },
439
- "longitude": {
440
- "type": "object",
441
- "properties": {
442
- "text": {
443
- "type": "string"
444
- },
445
- "value": {
446
- "type": "string"
447
- }
448
- },
449
- "required": [
450
- "text",
451
- "value"
452
- ]
453
- },
454
- "height": {
455
- "type": "object",
456
- "properties": {
457
- "type": {
458
- "type": "string",
459
- "enum": [
460
- "深さ"
461
- ]
462
- },
463
- "unit": {
464
- "type": "string",
465
- "enum": [
466
- "km"
467
- ]
468
- },
469
- "value": {
470
- "type": [
471
- "null",
472
- "string"
473
- ]
474
- }
475
- },
476
- "required": [
477
- "type",
478
- "unit",
479
- "value"
480
- ]
481
- },
482
- "condition": {
483
- "type": "undefined"
484
- },
485
- "geodeticSystem": {
486
- "enum": [
487
- "日本測地系"
488
- ],
489
- "type": "string"
490
- }
491
- },
492
- "required": [
493
- "condition",
494
- "latitude",
495
- "longitude"
496
- ]
497
- }
498
- ]
499
- },
500
- "depth": {
501
- "anyOf": [
502
- {
503
- "allOf": [
504
- {
505
- "type": "object",
506
- "properties": {
507
- "type": {
508
- "type": "string",
509
- "enum": [
510
- "深さ"
511
- ]
512
- },
513
- "unit": {
514
- "type": "string",
515
- "enum": [
516
- "km"
517
- ]
518
- }
519
- },
520
- "required": [
521
- "type",
522
- "unit"
523
- ]
524
- },
525
- {
526
- "type": "object",
527
- "properties": {
528
- "value": {
529
- "type": "null"
530
- },
531
- "condition": {
532
- "type": "string",
533
- "enum": [
534
- "不明"
535
- ]
536
- }
537
- },
538
- "required": [
539
- "condition",
540
- "value"
541
- ]
542
- }
543
- ]
544
- },
545
- {
546
- "allOf": [
547
- {
548
- "type": "object",
549
- "properties": {
550
- "type": {
551
- "type": "string",
552
- "enum": [
553
- "深さ"
554
- ]
555
- },
556
- "unit": {
557
- "type": "string",
558
- "enum": [
559
- "km"
560
- ]
561
- }
562
- },
563
- "required": [
564
- "type",
565
- "unit"
566
- ]
567
- },
568
- {
569
- "type": "object",
570
- "properties": {
571
- "value": {
572
- "type": "string",
573
- "enum": [
574
- "0"
575
- ]
576
- },
577
- "condition": {
578
- "type": "string",
579
- "enum": [
580
- "ごく浅い"
581
- ]
582
- }
583
- },
584
- "required": [
585
- "condition",
586
- "value"
587
- ]
588
- }
589
- ]
590
- },
591
- {
592
- "allOf": [
593
- {
594
- "type": "object",
595
- "properties": {
596
- "type": {
597
- "type": "string",
598
- "enum": [
599
- "深さ"
600
- ]
601
- },
602
- "unit": {
603
- "type": "string",
604
- "enum": [
605
- "km"
606
- ]
607
- }
608
- },
609
- "required": [
610
- "type",
611
- "unit"
612
- ]
613
- },
614
- {
615
- "type": "object",
616
- "properties": {
617
- "value": {
618
- "type": "string",
619
- "enum": [
620
- "700"
621
- ]
622
- },
623
- "condition": {
624
- "type": "string",
625
- "enum": [
626
- "700km以上"
627
- ]
628
- }
629
- },
630
- "required": [
631
- "condition",
632
- "value"
633
- ]
634
- }
635
- ]
636
- },
637
- {
638
- "allOf": [
639
- {
640
- "type": "object",
641
- "properties": {
642
- "type": {
643
- "type": "string",
644
- "enum": [
645
- "深さ"
646
- ]
647
- },
648
- "unit": {
649
- "type": "string",
650
- "enum": [
651
- "km"
652
- ]
653
- }
654
- },
655
- "required": [
656
- "type",
657
- "unit"
658
- ]
659
- },
660
- {
661
- "type": "object",
662
- "properties": {
663
- "value": {
664
- "type": "string"
665
- }
666
- },
667
- "required": [
668
- "value"
669
- ]
670
- }
671
- ]
672
- }
673
- ]
674
- },
675
- "detailed": {
676
- "type": "object",
677
- "properties": {
678
- "code": {
679
- "type": "string"
680
- },
681
- "name": {
682
- "type": "string"
683
- }
684
- },
685
- "required": [
686
- "code",
687
- "name"
688
- ]
689
- },
690
- "auxiliary": {
691
- "type": "object",
692
- "properties": {
693
- "text": {
694
- "type": "string"
695
- },
696
- "code": {
697
- "type": "string"
698
- },
699
- "name": {
700
- "type": "string"
701
- },
702
- "direction": {
703
- "type": "string"
704
- },
705
- "distance": {
706
- "$ref": "#/definitions/Omit<UnitValueNotNull<never,\"km\",never>,\"type\"|\"condition\">"
707
- }
708
- },
709
- "required": [
710
- "code",
711
- "direction",
712
- "distance",
713
- "name",
714
- "text"
715
- ]
716
- },
717
- "source": {
718
- "enum": [
719
- "PTWC",
720
- "USGS",
721
- "WCATWC"
722
- ],
723
- "type": "string"
724
- }
725
- },
726
- "required": [
727
- "code",
728
- "coordinate",
729
- "depth",
730
- "name"
731
- ]
732
- },
733
- "magnitude": {
734
- "anyOf": [
735
- {
736
- "allOf": [
737
- {
738
- "type": "object",
739
- "properties": {
740
- "type": {
741
- "type": "string",
742
- "enum": [
743
- "マグニチュード"
744
- ]
745
- },
746
- "unit": {
747
- "enum": [
748
- "M",
749
- "Mj"
750
- ],
751
- "type": "string"
752
- }
753
- },
754
- "required": [
755
- "type",
756
- "unit"
757
- ]
758
- },
759
- {
760
- "type": "object",
761
- "properties": {
762
- "value": {
763
- "type": "null"
764
- },
765
- "condition": {
766
- "enum": [
767
- "M不明",
768
- "M8を超える巨大地震"
769
- ],
770
- "type": "string"
771
- }
772
- },
773
- "required": [
774
- "condition",
775
- "value"
776
- ]
777
- }
778
- ]
779
- },
780
- {
781
- "allOf": [
782
- {
783
- "type": "object",
784
- "properties": {
785
- "type": {
786
- "type": "string",
787
- "enum": [
788
- "マグニチュード"
789
- ]
790
- },
791
- "unit": {
792
- "enum": [
793
- "M",
794
- "Mj"
795
- ],
796
- "type": "string"
797
- }
798
- },
799
- "required": [
800
- "type",
801
- "unit"
802
- ]
803
- },
804
- {
805
- "type": "object",
806
- "properties": {
807
- "value": {
808
- "type": "string"
809
- }
810
- },
811
- "required": [
812
- "value"
813
- ]
814
- }
815
- ]
816
- }
817
- ]
818
- }
819
- },
820
- "required": [
821
- "arrivalTime",
822
- "hypocenter",
823
- "magnitude",
824
- "originTime"
825
- ]
826
- },
827
- "Omit<UnitValueNotNull<never,\"km\",never>,\"type\"|\"condition\">": {
828
- "type": "object",
829
- "properties": {
830
- "unit": {
831
- "type": "string",
832
- "enum": [
833
- "km"
834
- ]
835
- },
836
- "value": {
837
- "type": "string"
838
- }
839
- },
840
- "required": [
841
- "unit",
842
- "value"
843
- ]
844
- },
845
- "EarthquakeInformation.PublicVXSE53": {
846
- "type": "object",
847
- "properties": {
848
- "_schema": {
849
- "$ref": "#/definitions/EarthquakeInformation.Schema"
850
- },
851
- "type": {
852
- "type": "string",
853
- "enum": [
854
- "震源・震度に関する情報"
855
- ]
856
- },
857
- "title": {
858
- "enum": [
859
- "遠地地震に関する情報",
860
- "震源・震度情報"
861
- ],
862
- "type": "string"
863
- },
864
- "infoKind": {
865
- "type": "string",
866
- "enum": [
867
- "地震情報"
868
- ]
869
- },
870
- "eventId": {
871
- "type": "string"
872
- },
873
- "serialNo": {
874
- "type": "string"
875
- },
876
- "infoType": {
877
- "enum": [
878
- "発表",
879
- "訂正"
880
- ],
881
- "type": "string"
882
- },
883
- "body": {
884
- "$ref": "#/definitions/EarthquakeInformation.PublicBodyVXSE53"
885
- },
886
- "_originalId": {
887
- "type": "string"
888
- },
889
- "status": {
890
- "enum": [
891
- "訓練",
892
- "試験",
893
- "通常"
894
- ],
895
- "type": "string"
896
- },
897
- "editorialOffice": {
898
- "type": "string"
899
- },
900
- "publishingOffice": {
901
- "type": "array",
902
- "items": {
903
- "type": "string"
904
- }
905
- },
906
- "pressDateTime": {
907
- "type": "string"
908
- },
909
- "reportDateTime": {
910
- "type": "string"
911
- },
912
- "targetDateTime": {
913
- "type": "string"
914
- },
915
- "targetDateTimeDubious": {
916
- "type": "string"
917
- },
918
- "targetDuration": {
919
- "type": "string"
920
- },
921
- "validDateTime": {
922
- "type": "string"
923
- },
924
- "infoKindVersion": {
925
- "type": "string"
926
- },
927
- "headline": {
928
- "type": [
929
- "null",
930
- "string"
931
- ]
932
- }
933
- },
934
- "required": [
935
- "_originalId",
936
- "_schema",
937
- "body",
938
- "editorialOffice",
939
- "eventId",
940
- "headline",
941
- "infoKind",
942
- "infoKindVersion",
943
- "infoType",
944
- "pressDateTime",
945
- "publishingOffice",
946
- "reportDateTime",
947
- "serialNo",
948
- "status",
949
- "targetDateTime",
950
- "title",
951
- "type"
952
- ]
953
- },
954
- "EarthquakeInformation.PublicBodyVXSE53": {
955
- "type": "object",
956
- "properties": {
957
- "earthquake": {
958
- "$ref": "#/definitions/Earthquake"
959
- },
960
- "intensity": {
961
- "type": "object",
962
- "properties": {
963
- "maxInt": {
964
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
965
- },
966
- "prefectures": {
967
- "type": "array",
968
- "items": {
969
- "type": "object",
970
- "properties": {
971
- "name": {
972
- "type": "string"
973
- },
974
- "code": {
975
- "type": "string"
976
- },
977
- "maxInt": {
978
- "enum": [
979
- "1",
980
- "2",
981
- "3",
982
- "4",
983
- "5+",
984
- "5-",
985
- "6+",
986
- "6-",
987
- "7"
988
- ],
989
- "type": "string"
990
- },
991
- "revise": {
992
- "enum": [
993
- "上方修正",
994
- "追加"
995
- ],
996
- "type": "string"
997
- }
998
- },
999
- "required": [
1000
- "code",
1001
- "name"
1002
- ]
1003
- }
1004
- },
1005
- "regions": {
1006
- "type": "array",
1007
- "items": {
1008
- "type": "object",
1009
- "properties": {
1010
- "name": {
1011
- "type": "string"
1012
- },
1013
- "code": {
1014
- "type": "string"
1015
- },
1016
- "maxInt": {
1017
- "enum": [
1018
- "1",
1019
- "2",
1020
- "3",
1021
- "4",
1022
- "5+",
1023
- "5-",
1024
- "6+",
1025
- "6-",
1026
- "7"
1027
- ],
1028
- "type": "string"
1029
- },
1030
- "revise": {
1031
- "enum": [
1032
- "上方修正",
1033
- "追加"
1034
- ],
1035
- "type": "string"
1036
- }
1037
- },
1038
- "required": [
1039
- "code",
1040
- "name"
1041
- ]
1042
- }
1043
- },
1044
- "cities": {
1045
- "type": "array",
1046
- "items": {
1047
- "type": "object",
1048
- "properties": {
1049
- "name": {
1050
- "type": "string"
1051
- },
1052
- "code": {
1053
- "type": "string"
1054
- },
1055
- "maxInt": {
1056
- "enum": [
1057
- "1",
1058
- "2",
1059
- "3",
1060
- "4",
1061
- "5+",
1062
- "5-",
1063
- "6+",
1064
- "6-",
1065
- "7"
1066
- ],
1067
- "type": "string"
1068
- },
1069
- "revise": {
1070
- "enum": [
1071
- "上方修正",
1072
- "追加"
1073
- ],
1074
- "type": "string"
1075
- },
1076
- "condition": {
1077
- "enum": [
1078
- "震度5弱以上未入電"
1079
- ],
1080
- "type": "string"
1081
- }
1082
- },
1083
- "required": [
1084
- "code",
1085
- "name"
1086
- ]
1087
- }
1088
- },
1089
- "stations": {
1090
- "type": "array",
1091
- "items": {
1092
- "type": "object",
1093
- "properties": {
1094
- "name": {
1095
- "type": "string"
1096
- },
1097
- "code": {
1098
- "type": "string"
1099
- },
1100
- "int": {
1101
- "enum": [
1102
- "!5-",
1103
- "1",
1104
- "2",
1105
- "3",
1106
- "4",
1107
- "5+",
1108
- "5-",
1109
- "6+",
1110
- "6-",
1111
- "7"
1112
- ],
1113
- "type": "string"
1114
- },
1115
- "revise": {
1116
- "enum": [
1117
- "上方修正",
1118
- "追加"
1119
- ],
1120
- "type": "string"
1121
- },
1122
- "condition": {
1123
- "enum": [
1124
- "震度5弱以上未入電"
1125
- ],
1126
- "type": "string"
1127
- }
1128
- },
1129
- "required": [
1130
- "code",
1131
- "int",
1132
- "name"
1133
- ]
1134
- }
1135
- }
1136
- },
1137
- "required": [
1138
- "cities",
1139
- "maxInt",
1140
- "prefectures",
1141
- "regions",
1142
- "stations"
1143
- ]
1144
- },
1145
- "text": {
1146
- "type": "string"
1147
- },
1148
- "comments": {
1149
- "type": "object",
1150
- "properties": {
1151
- "free": {
1152
- "type": "string"
1153
- },
1154
- "forecast": {
1155
- "type": "object",
1156
- "properties": {
1157
- "text": {
1158
- "type": "string"
1159
- },
1160
- "codes": {
1161
- "type": "array",
1162
- "items": {
1163
- "type": "string"
1164
- }
1165
- }
1166
- },
1167
- "required": [
1168
- "codes",
1169
- "text"
1170
- ]
1171
- },
1172
- "var": {
1173
- "type": "object",
1174
- "properties": {
1175
- "text": {
1176
- "type": "string"
1177
- },
1178
- "codes": {
1179
- "type": "array",
1180
- "items": {
1181
- "type": "string"
1182
- }
1183
- }
1184
- },
1185
- "required": [
1186
- "codes",
1187
- "text"
1188
- ]
1189
- }
1190
- }
1191
- }
1192
- },
1193
- "required": [
1194
- "comments",
1195
- "earthquake"
1196
- ]
1197
- },
1198
- "EarthquakeInformation.PublicVXSE62": {
1199
- "type": "object",
1200
- "properties": {
1201
- "_schema": {
1202
- "$ref": "#/definitions/EarthquakeInformation.Schema"
1203
- },
1204
- "type": {
1205
- "type": "string",
1206
- "enum": [
1207
- "長周期地震動に関する観測情報"
1208
- ]
1209
- },
1210
- "title": {
1211
- "type": "string",
1212
- "enum": [
1213
- "長周期地震動に関する観測情報"
1214
- ]
1215
- },
1216
- "infoKind": {
1217
- "type": "string",
1218
- "enum": [
1219
- "長周期地震動に関する観測情報"
1220
- ]
1221
- },
1222
- "eventId": {
1223
- "type": "string"
1224
- },
1225
- "serialNo": {
1226
- "type": "string"
1227
- },
1228
- "infoType": {
1229
- "enum": [
1230
- "発表",
1231
- "訂正"
1232
- ],
1233
- "type": "string"
1234
- },
1235
- "body": {
1236
- "$ref": "#/definitions/EarthquakeInformation.PublicBodyVXSE62"
1237
- },
1238
- "_originalId": {
1239
- "type": "string"
1240
- },
1241
- "status": {
1242
- "enum": [
1243
- "訓練",
1244
- "試験",
1245
- "通常"
1246
- ],
1247
- "type": "string"
1248
- },
1249
- "editorialOffice": {
1250
- "type": "string"
1251
- },
1252
- "publishingOffice": {
1253
- "type": "array",
1254
- "items": {
1255
- "type": "string"
1256
- }
1257
- },
1258
- "pressDateTime": {
1259
- "type": "string"
1260
- },
1261
- "reportDateTime": {
1262
- "type": "string"
1263
- },
1264
- "targetDateTime": {
1265
- "type": "string"
1266
- },
1267
- "targetDateTimeDubious": {
1268
- "type": "string"
1269
- },
1270
- "targetDuration": {
1271
- "type": "string"
1272
- },
1273
- "validDateTime": {
1274
- "type": "string"
1275
- },
1276
- "infoKindVersion": {
1277
- "type": "string"
1278
- },
1279
- "headline": {
1280
- "type": [
1281
- "null",
1282
- "string"
1283
- ]
1284
- }
1285
- },
1286
- "required": [
1287
- "_originalId",
1288
- "_schema",
1289
- "body",
1290
- "editorialOffice",
1291
- "eventId",
1292
- "headline",
1293
- "infoKind",
1294
- "infoKindVersion",
1295
- "infoType",
1296
- "pressDateTime",
1297
- "publishingOffice",
1298
- "reportDateTime",
1299
- "serialNo",
1300
- "status",
1301
- "targetDateTime",
1302
- "title",
1303
- "type"
1304
- ]
1305
- },
1306
- "EarthquakeInformation.PublicBodyVXSE62": {
1307
- "type": "object",
1308
- "properties": {
1309
- "earthquake": {
1310
- "$ref": "#/definitions/Earthquake"
1311
- },
1312
- "intensity": {
1313
- "type": "object",
1314
- "properties": {
1315
- "maxInt": {
1316
- "$ref": "#/definitions/EarthquakeInformation.IntensityClass"
1317
- },
1318
- "maxLpgmInt": {
1319
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1320
- },
1321
- "lpgmCategory": {
1322
- "$ref": "#/definitions/EarthquakeInformation.LpgmCategory"
1323
- },
1324
- "prefectures": {
1325
- "type": "array",
1326
- "items": {
1327
- "allOf": [
1328
- {
1329
- "type": "object",
1330
- "properties": {
1331
- "name": {
1332
- "type": "string"
1333
- },
1334
- "code": {
1335
- "type": "string"
1336
- },
1337
- "maxInt": {
1338
- "enum": [
1339
- "1",
1340
- "2",
1341
- "3",
1342
- "4",
1343
- "5+",
1344
- "5-",
1345
- "6+",
1346
- "6-",
1347
- "7"
1348
- ],
1349
- "type": "string"
1350
- },
1351
- "revise": {
1352
- "enum": [
1353
- "上方修正",
1354
- "追加"
1355
- ],
1356
- "type": "string"
1357
- }
1358
- },
1359
- "required": [
1360
- "code",
1361
- "name"
1362
- ]
1363
- },
1364
- {
1365
- "type": "object",
1366
- "properties": {
1367
- "maxLpgmInt": {
1368
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1369
- }
1370
- },
1371
- "required": [
1372
- "maxLpgmInt"
1373
- ]
1374
- }
1375
- ]
1376
- }
1377
- },
1378
- "regions": {
1379
- "type": "array",
1380
- "items": {
1381
- "allOf": [
1382
- {
1383
- "type": "object",
1384
- "properties": {
1385
- "name": {
1386
- "type": "string"
1387
- },
1388
- "code": {
1389
- "type": "string"
1390
- },
1391
- "maxInt": {
1392
- "enum": [
1393
- "1",
1394
- "2",
1395
- "3",
1396
- "4",
1397
- "5+",
1398
- "5-",
1399
- "6+",
1400
- "6-",
1401
- "7"
1402
- ],
1403
- "type": "string"
1404
- },
1405
- "revise": {
1406
- "enum": [
1407
- "上方修正",
1408
- "追加"
1409
- ],
1410
- "type": "string"
1411
- }
1412
- },
1413
- "required": [
1414
- "code",
1415
- "name"
1416
- ]
1417
- },
1418
- {
1419
- "type": "object",
1420
- "properties": {
1421
- "maxLpgmInt": {
1422
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1423
- }
1424
- },
1425
- "required": [
1426
- "maxLpgmInt"
1427
- ]
1428
- }
1429
- ]
1430
- }
1431
- },
1432
- "stations": {
1433
- "type": "array",
1434
- "items": {
1435
- "allOf": [
1436
- {
1437
- "type": "object",
1438
- "properties": {
1439
- "name": {
1440
- "type": "string"
1441
- },
1442
- "code": {
1443
- "type": "string"
1444
- },
1445
- "int": {
1446
- "enum": [
1447
- "!5-",
1448
- "1",
1449
- "2",
1450
- "3",
1451
- "4",
1452
- "5+",
1453
- "5-",
1454
- "6+",
1455
- "6-",
1456
- "7"
1457
- ],
1458
- "type": "string"
1459
- },
1460
- "revise": {
1461
- "enum": [
1462
- "上方修正",
1463
- "追加"
1464
- ],
1465
- "type": "string"
1466
- },
1467
- "condition": {
1468
- "enum": [
1469
- "震度5弱以上未入電"
1470
- ],
1471
- "type": "string"
1472
- }
1473
- },
1474
- "required": [
1475
- "code",
1476
- "int",
1477
- "name"
1478
- ]
1479
- },
1480
- {
1481
- "type": "object",
1482
- "properties": {
1483
- "lpgmInt": {
1484
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1485
- },
1486
- "sva": {
1487
- "type": "object",
1488
- "properties": {
1489
- "unit": {
1490
- "type": "string",
1491
- "enum": [
1492
- "cm/s"
1493
- ]
1494
- },
1495
- "value": {
1496
- "type": "string"
1497
- }
1498
- },
1499
- "required": [
1500
- "unit",
1501
- "value"
1502
- ]
1503
- },
1504
- "prePeriods": {
1505
- "type": "array",
1506
- "items": {
1507
- "type": "object",
1508
- "properties": {
1509
- "periodicBand": {
1510
- "type": "object",
1511
- "properties": {
1512
- "unit": {
1513
- "type": "string",
1514
- "enum": [
1515
- "秒台"
1516
- ]
1517
- },
1518
- "value": {
1519
- "type": "string"
1520
- }
1521
- },
1522
- "required": [
1523
- "unit",
1524
- "value"
1525
- ]
1526
- },
1527
- "lpgmInt": {
1528
- "$ref": "#/definitions/EarthquakeInformation.LpgmIntensityClass"
1529
- },
1530
- "sva": {
1531
- "type": "object",
1532
- "properties": {
1533
- "unit": {
1534
- "type": "string",
1535
- "enum": [
1536
- "cm/s"
1537
- ]
1538
- },
1539
- "value": {
1540
- "type": "string"
1541
- }
1542
- },
1543
- "required": [
1544
- "unit",
1545
- "value"
1546
- ]
1547
- }
1548
- },
1549
- "required": [
1550
- "lpgmInt",
1551
- "periodicBand",
1552
- "sva"
1553
- ]
1554
- }
1555
- }
1556
- },
1557
- "required": [
1558
- "lpgmInt",
1559
- "prePeriods",
1560
- "sva"
1561
- ]
1562
- }
1563
- ]
1564
- }
1565
- }
1566
- },
1567
- "required": [
1568
- "lpgmCategory",
1569
- "maxInt",
1570
- "maxLpgmInt",
1571
- "prefectures",
1572
- "regions",
1573
- "stations"
1574
- ]
1575
- },
1576
- "text": {
1577
- "type": "string"
1578
- },
1579
- "comments": {
1580
- "type": "object",
1581
- "properties": {
1582
- "free": {
1583
- "type": "string"
1584
- },
1585
- "forecast": {
1586
- "type": "object",
1587
- "properties": {
1588
- "text": {
1589
- "type": "string"
1590
- },
1591
- "codes": {
1592
- "type": "array",
1593
- "items": {
1594
- "type": "string"
1595
- }
1596
- }
1597
- },
1598
- "required": [
1599
- "codes",
1600
- "text"
1601
- ]
1602
- },
1603
- "var": {
1604
- "type": "object",
1605
- "properties": {
1606
- "text": {
1607
- "type": "string"
1608
- },
1609
- "codes": {
1610
- "type": "array",
1611
- "items": {
1612
- "type": "string"
1613
- }
1614
- }
1615
- },
1616
- "required": [
1617
- "codes",
1618
- "text"
1619
- ]
1620
- }
1621
- }
1622
- }
1623
- },
1624
- "required": [
1625
- "comments",
1626
- "earthquake"
1627
- ]
1628
- },
1629
- "EarthquakeInformation.LpgmIntensityClass": {
1630
- "enum": [
1631
- "0",
1632
- "1",
1633
- "2",
1634
- "3",
1635
- "4"
1636
- ],
1637
- "type": "string"
1638
- },
1639
- "EarthquakeInformation.LpgmCategory": {
1640
- "enum": [
1641
- "1",
1642
- "2",
1643
- "3",
1644
- "4"
1645
- ],
1646
- "type": "string"
1647
- },
1648
- "EarthquakeInformation.Channel": {
1649
- "type": "object",
1650
- "properties": {
1651
- "_schema": {
1652
- "$ref": "#/definitions/EarthquakeInformation.Schema"
1653
- },
1654
- "type": {
1655
- "enum": [
1656
- "長周期地震動に関する観測情報",
1657
- "震度速報",
1658
- "震源に関する情報",
1659
- "震源・震度に関する情報"
1660
- ],
1661
- "type": "string"
1662
- },
1663
- "title": {
1664
- "enum": [
1665
- "遠地地震に関する情報",
1666
- "長周期地震動に関する観測情報",
1667
- "震度速報",
1668
- "震源に関する情報",
1669
- "震源・震度情報"
1670
- ],
1671
- "type": "string"
1672
- },
1673
- "infoKind": {
1674
- "type": "string",
1675
- "enum": [
1676
- "震度速報"
1677
- ]
1678
- },
1679
- "eventId": {
1680
- "type": "string"
1681
- },
1682
- "infoType": {
1683
- "type": "string",
1684
- "enum": [
1685
- "取消"
1686
- ]
1687
- },
1688
- "body": {
1689
- "$ref": "#/definitions/EarthquakeInformation.ChancelBody"
1690
- },
1691
- "_originalId": {
1692
- "type": "string"
1693
- },
1694
- "status": {
1695
- "enum": [
1696
- "訓練",
1697
- "試験",
1698
- "通常"
1699
- ],
1700
- "type": "string"
1701
- },
1702
- "editorialOffice": {
1703
- "type": "string"
1704
- },
1705
- "publishingOffice": {
1706
- "type": "array",
1707
- "items": {
1708
- "type": "string"
1709
- }
1710
- },
1711
- "pressDateTime": {
1712
- "type": "string"
1713
- },
1714
- "reportDateTime": {
1715
- "type": "string"
1716
- },
1717
- "targetDateTime": {
1718
- "type": "string"
1719
- },
1720
- "targetDateTimeDubious": {
1721
- "type": "string"
1722
- },
1723
- "targetDuration": {
1724
- "type": "string"
1725
- },
1726
- "validDateTime": {
1727
- "type": "string"
1728
- },
1729
- "serialNo": {
1730
- "type": [
1731
- "null",
1732
- "string"
1733
- ]
1734
- },
1735
- "infoKindVersion": {
1736
- "type": "string"
1737
- },
1738
- "headline": {
1739
- "type": [
1740
- "null",
1741
- "string"
1742
- ]
1743
- }
1744
- },
1745
- "required": [
1746
- "_originalId",
1747
- "_schema",
1748
- "body",
1749
- "editorialOffice",
1750
- "eventId",
1751
- "headline",
1752
- "infoKind",
1753
- "infoKindVersion",
1754
- "infoType",
1755
- "pressDateTime",
1756
- "publishingOffice",
1757
- "reportDateTime",
1758
- "serialNo",
1759
- "status",
1760
- "targetDateTime",
1761
- "title",
1762
- "type"
1763
- ]
1764
- },
1765
- "EarthquakeInformation.ChancelBody": {
1766
- "type": "object",
1767
- "properties": {
1768
- "text": {
1769
- "type": "string"
1770
- }
1771
- },
1772
- "required": [
1773
- "text"
1774
- ]
1775
- }
1776
- },
1777
- "$schema": "http://json-schema.org/draft-07/schema#"
1778
- }