@dmdata/telegram-json-types 1.1.13 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/dist/build.d.ts +1 -1
- package/dist/build.js +72 -68
- package/dist/config.d.ts +3 -3
- package/dist/config.js +7 -7
- package/dist/jschema/earthquake-counts_1.0.0.json +1 -1
- package/dist/jschema/earthquake-explanation_1.0.0.json +1 -1
- package/dist/jschema/earthquake-hypocenter-update_1.0.0.json +1 -1
- package/dist/jschema/earthquake-information_1.0.0.json +1 -1
- package/dist/jschema/earthquake-information_1.1.0.json +1 -1
- package/dist/jschema/earthquake-nankai_1.0.0.json +1 -1
- package/dist/jschema/eew-information_1.0.0.json +1 -1
- package/dist/jschema/forecast-2week-temperature_1.0.0.json +1 -0
- package/dist/jschema/forecast-prefecture_1.0.0.json +1 -0
- package/dist/jschema/forecast-season_1.0.0.json +1 -0
- package/dist/jschema/forecast-warning-possibility_1.0.0.json +1 -0
- package/dist/jschema/forecast-weathermap_1.0.0.json +1 -0
- package/dist/jschema/tsunami-information_1.0.0.json +1 -1
- package/dist/jschema/volcano-information_1.0.0.json +1 -1
- package/dist/jschema/weather-early_1.0.0.json +1 -1
- package/dist/jschema/weather-impact-society_1.0.0.json +1 -1
- package/dist/jschema/weather-impact-society_1.0.1.json +1 -0
- package/dist/jschema/weather-information_1.0.0.json +1 -1
- package/dist/jschema/weather-landslide_1.0.0.json +1 -1
- package/dist/jschema/weather-river-flood_1.0.0.json +1 -1
- package/dist/jschema/weather-tornado_1.0.0.json +1 -1
- package/dist/jschema/weather-typhoon_1.0.0.json +1 -1
- package/dist/jschema/weather-warning_1.0.0.json +1 -1
- package/dist/jschema-load.d.ts +1 -1
- package/dist/jschema-load.js +48 -44
- package/package.json +11 -12
- package/test/sample-schema-check.test.ts +23 -14
- package/types/component/coordinate.d.ts +6 -6
- package/types/component/earthquake.d.ts +4 -4
- package/types/component/unit-value.d.ts +2 -2
- package/types/index.d.ts +18 -2
- package/types/schema/earthquake-counts/1.0.0.d.ts +6 -6
- package/types/schema/earthquake-explanation/1.0.0.d.ts +6 -6
- package/types/schema/earthquake-hypocenter-update/1.0.0.d.ts +6 -6
- package/types/schema/earthquake-information/1.0.0.d.ts +17 -17
- package/types/schema/earthquake-information/1.1.0.d.ts +43 -26
- package/types/schema/earthquake-nankai/1.0.0.d.ts +12 -12
- package/types/schema/eew-information/1.0.0.d.ts +16 -16
- package/types/schema/forecast-2week-temperature/1.0.0.d.ts +110 -0
- package/types/schema/forecast-2week-temperature/index.d.ts +7 -0
- package/types/schema/forecast-prefecture/1.0.0.d.ts +526 -0
- package/types/schema/forecast-prefecture/index.d.ts +7 -0
- package/types/schema/forecast-season/1.0.0.d.ts +169 -0
- package/types/schema/forecast-season/index.d.ts +7 -0
- package/types/schema/forecast-warning-possibility/1.0.0.d.ts +382 -0
- package/types/schema/forecast-warning-possibility/index.d.ts +7 -0
- package/types/schema/forecast-weathermap/1.0.0.d.ts +194 -0
- package/types/schema/forecast-weathermap/index.d.ts +7 -0
- package/types/schema/tsunami-information/1.0.0.d.ts +26 -26
- package/types/schema/volcano-information/1.0.0.d.ts +25 -25
- package/types/schema/weather-early/1.0.0.d.ts +0 -25
- package/types/schema/weather-impact-society/1.0.0.d.ts +7 -5
- package/types/schema/weather-impact-society/1.0.1.d.ts +117 -0
- package/types/schema/weather-impact-society/index.d.ts +3 -1
- package/types/schema/weather-information/1.0.0.d.ts +43 -6
- package/types/schema/weather-landslide/1.0.0.d.ts +3 -3
- package/types/schema/weather-river-flood/1.0.0.d.ts +3 -3
- package/types/schema/weather-tornado/1.0.0.d.ts +2 -2
- package/types/schema/weather-typhoon/1.0.0.d.ts +3 -3
- package/types/schema/weather-warning/1.0.0.d.ts +11 -11
|
@@ -19,7 +19,7 @@ export namespace TsunamiInformation {
|
|
|
19
19
|
arrivalTime: string;
|
|
20
20
|
condition?: 'ただちに津波来襲と予測';
|
|
21
21
|
} | {
|
|
22
|
-
arrivalTime
|
|
22
|
+
arrivalTime?: never;
|
|
23
23
|
condition: '津波到達中と推測' | '第1波の到達を確認';
|
|
24
24
|
}) &
|
|
25
25
|
{
|
|
@@ -32,10 +32,10 @@ export namespace TsunamiInformation {
|
|
|
32
32
|
} & ({
|
|
33
33
|
value: string;
|
|
34
34
|
over?: true;
|
|
35
|
-
condition
|
|
35
|
+
condition?: never;
|
|
36
36
|
} | {
|
|
37
37
|
value: null;
|
|
38
|
-
over
|
|
38
|
+
over?: never;
|
|
39
39
|
condition?: '巨大' | '高い';
|
|
40
40
|
});
|
|
41
41
|
|
|
@@ -58,7 +58,7 @@ export namespace TsunamiInformation {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
export interface TsunamiForecastVXSE41 extends TsunamiForecast {
|
|
61
|
-
stations
|
|
61
|
+
stations?: never;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
export interface TsunamiForecastVXSE51 extends TsunamiForecast {
|
|
@@ -68,10 +68,10 @@ export namespace TsunamiInformation {
|
|
|
68
68
|
export type TsunamiObservationStationFirstHeight = ({
|
|
69
69
|
arrivalTime: string;
|
|
70
70
|
initial?: '押し' | '引き';
|
|
71
|
-
condition
|
|
71
|
+
condition?: never;
|
|
72
72
|
} | {
|
|
73
|
-
arrivalTime
|
|
74
|
-
initial
|
|
73
|
+
arrivalTime?: never;
|
|
74
|
+
initial?: never;
|
|
75
75
|
condition: '第1波識別不能';
|
|
76
76
|
}) & {
|
|
77
77
|
revise?: '追加' | '更新';
|
|
@@ -92,11 +92,11 @@ export namespace TsunamiInformation {
|
|
|
92
92
|
condition?: '重要';
|
|
93
93
|
} | {
|
|
94
94
|
dateTime: string;
|
|
95
|
-
height
|
|
95
|
+
height?: never;
|
|
96
96
|
condition: '微弱';
|
|
97
97
|
} | {
|
|
98
|
-
dateTime
|
|
99
|
-
height
|
|
98
|
+
dateTime?: never;
|
|
99
|
+
height?: never;
|
|
100
100
|
condition: '観測中';
|
|
101
101
|
}) &
|
|
102
102
|
{
|
|
@@ -139,8 +139,8 @@ export namespace TsunamiInformation {
|
|
|
139
139
|
height: TsunamiEstimationMaxHeightValue;
|
|
140
140
|
condition?: '重要';
|
|
141
141
|
} | {
|
|
142
|
-
dateTime
|
|
143
|
-
height
|
|
142
|
+
dateTime?: never;
|
|
143
|
+
height?: never;
|
|
144
144
|
condition: '推定中';
|
|
145
145
|
}) &
|
|
146
146
|
{
|
|
@@ -205,8 +205,8 @@ export namespace TsunamiInformation {
|
|
|
205
205
|
type: '津波警報・注意報・予報a';
|
|
206
206
|
title: string;
|
|
207
207
|
infoType: '発表' | '訂正';
|
|
208
|
-
targetDateTimeDubious
|
|
209
|
-
targetDuration
|
|
208
|
+
targetDateTimeDubious?: never;
|
|
209
|
+
targetDuration?: never;
|
|
210
210
|
validDateTime?: string;
|
|
211
211
|
eventId: string;
|
|
212
212
|
serialNo: null;
|
|
@@ -217,14 +217,14 @@ export namespace TsunamiInformation {
|
|
|
217
217
|
export interface PublicVTSE51 extends TelegramJSONMain {
|
|
218
218
|
_schema: Schema;
|
|
219
219
|
type: '津波情報a';
|
|
220
|
-
title:
|
|
220
|
+
title: '各地の満潮時刻・津波到達予想時刻に関する情報' | '津波観測に関する情報';
|
|
221
221
|
infoType: '発表' | '訂正';
|
|
222
|
-
targetDateTimeDubious
|
|
223
|
-
targetDuration
|
|
224
|
-
validDateTime
|
|
222
|
+
targetDateTimeDubious?: never;
|
|
223
|
+
targetDuration?: never;
|
|
224
|
+
validDateTime?: never;
|
|
225
225
|
eventId: string;
|
|
226
226
|
serialNo: string;
|
|
227
|
-
infoKind:'津波情報';
|
|
227
|
+
infoKind: '津波情報';
|
|
228
228
|
body: PublicBodyVTSE51;
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -234,9 +234,9 @@ export namespace TsunamiInformation {
|
|
|
234
234
|
type: '沖合の津波観測に関する情報';
|
|
235
235
|
title: '沖合の津波観測に関する情報';
|
|
236
236
|
infoType: '発表' | '訂正';
|
|
237
|
-
targetDateTimeDubious
|
|
238
|
-
targetDuration
|
|
239
|
-
validDateTime
|
|
237
|
+
targetDateTimeDubious?: never;
|
|
238
|
+
targetDuration?: never;
|
|
239
|
+
validDateTime?: never;
|
|
240
240
|
eventId: string;
|
|
241
241
|
serialNo: string;
|
|
242
242
|
infoKind: '津波情報';
|
|
@@ -248,11 +248,11 @@ export namespace TsunamiInformation {
|
|
|
248
248
|
export interface Cancel extends TelegramJSONMain {
|
|
249
249
|
type: '津波警報・注意報・予報a' | '津波情報a' | '各地の満潮時刻・津波到達予想時刻に関する情報' | '津波観測に関する情報';
|
|
250
250
|
infoType: '取消';
|
|
251
|
-
targetDateTimeDubious
|
|
252
|
-
targetDuration
|
|
253
|
-
validDateTime
|
|
251
|
+
targetDateTimeDubious?: never;
|
|
252
|
+
targetDuration?: never;
|
|
253
|
+
validDateTime?: never;
|
|
254
254
|
eventId: string;
|
|
255
|
-
infoKind: '津波警報・注意報・予報'| '津波情報';
|
|
255
|
+
infoKind: '津波警報・注意報・予報' | '津波情報';
|
|
256
256
|
body: CancelBody;
|
|
257
257
|
}
|
|
258
258
|
|
|
@@ -45,7 +45,7 @@ export namespace VolcanoInformation {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export interface TargetEWF extends Target {
|
|
48
|
-
crater
|
|
48
|
+
crater?: never;
|
|
49
49
|
kind: TargetKindEWF;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -151,7 +151,7 @@ export namespace VolcanoInformation {
|
|
|
151
151
|
unit: '漢字';
|
|
152
152
|
} & ({
|
|
153
153
|
value: Direction8 | '直上' | '流向不明';
|
|
154
|
-
condition
|
|
154
|
+
condition?: never;
|
|
155
155
|
} | {
|
|
156
156
|
value: null;
|
|
157
157
|
condition: '噴煙なし';
|
|
@@ -301,9 +301,9 @@ export namespace VolcanoInformation {
|
|
|
301
301
|
type: '噴火警報・予報';
|
|
302
302
|
title: string;
|
|
303
303
|
infoType: '発表' | '訂正';
|
|
304
|
-
targetDateTimeDubious
|
|
305
|
-
targetDuration
|
|
306
|
-
validDateTime
|
|
304
|
+
targetDateTimeDubious?: never;
|
|
305
|
+
targetDuration?: never;
|
|
306
|
+
validDateTime?: never;
|
|
307
307
|
eventId: string;
|
|
308
308
|
serialNo: null;
|
|
309
309
|
infoKind: '噴火警報・予報';
|
|
@@ -315,9 +315,9 @@ export namespace VolcanoInformation {
|
|
|
315
315
|
type: '火山の状況に関する解説情報';
|
|
316
316
|
title: string;
|
|
317
317
|
infoType: '発表' | '訂正';
|
|
318
|
-
targetDateTimeDubious
|
|
319
|
-
targetDuration
|
|
320
|
-
validDateTime
|
|
318
|
+
targetDateTimeDubious?: never;
|
|
319
|
+
targetDuration?: never;
|
|
320
|
+
validDateTime?: never;
|
|
321
321
|
eventId: string;
|
|
322
322
|
serialNo: string;
|
|
323
323
|
infoKind: '火山の状況に関する解説情報';
|
|
@@ -331,8 +331,8 @@ export namespace VolcanoInformation {
|
|
|
331
331
|
infoType: '発表' | '訂正';
|
|
332
332
|
targetDateTime: string | null;
|
|
333
333
|
targetDateTimeDubious?: '年頃' | '月頃' | '日頃' | '時頃' | '分頃' | '秒頃' | '頃';
|
|
334
|
-
targetDuration
|
|
335
|
-
validDateTime
|
|
334
|
+
targetDuration?: never;
|
|
335
|
+
validDateTime?: never;
|
|
336
336
|
eventId: string;
|
|
337
337
|
serialNo: string;
|
|
338
338
|
infoKind: '噴火に関する火山観測報';
|
|
@@ -344,8 +344,8 @@ export namespace VolcanoInformation {
|
|
|
344
344
|
type: '降灰予報(定時)';
|
|
345
345
|
title: string;
|
|
346
346
|
infoType: '発表' | '訂正';
|
|
347
|
-
targetDateTimeDubious
|
|
348
|
-
targetDuration
|
|
347
|
+
targetDateTimeDubious?: never;
|
|
348
|
+
targetDuration?: never;
|
|
349
349
|
validDateTime: string;
|
|
350
350
|
eventId: string;
|
|
351
351
|
serialNo: string;
|
|
@@ -358,8 +358,8 @@ export namespace VolcanoInformation {
|
|
|
358
358
|
type: '降灰予報(速報)';
|
|
359
359
|
title: string;
|
|
360
360
|
infoType: '発表' | '訂正';
|
|
361
|
-
targetDateTimeDubious
|
|
362
|
-
targetDuration
|
|
361
|
+
targetDateTimeDubious?: never;
|
|
362
|
+
targetDuration?: never;
|
|
363
363
|
validDateTime: string;
|
|
364
364
|
eventId: string;
|
|
365
365
|
serialNo: string;
|
|
@@ -372,8 +372,8 @@ export namespace VolcanoInformation {
|
|
|
372
372
|
type: '降灰予報(詳細)';
|
|
373
373
|
title: string;
|
|
374
374
|
infoType: '発表' | '訂正';
|
|
375
|
-
targetDateTimeDubious
|
|
376
|
-
targetDuration
|
|
375
|
+
targetDateTimeDubious?: never;
|
|
376
|
+
targetDuration?: never;
|
|
377
377
|
validDateTime: string;
|
|
378
378
|
eventId: string;
|
|
379
379
|
serialNo: string;
|
|
@@ -387,8 +387,8 @@ export namespace VolcanoInformation {
|
|
|
387
387
|
title: string;
|
|
388
388
|
infoType: '発表' | '訂正';
|
|
389
389
|
targetDateTimeDubious?: '年頃' | '月頃' | '日頃' | '時頃' | '分頃' | '秒頃' | '頃';
|
|
390
|
-
targetDuration
|
|
391
|
-
validDateTime
|
|
390
|
+
targetDuration?: never;
|
|
391
|
+
validDateTime?: never;
|
|
392
392
|
eventId: string;
|
|
393
393
|
serialNo: null;
|
|
394
394
|
infoKind: '噴火速報';
|
|
@@ -400,9 +400,9 @@ export namespace VolcanoInformation {
|
|
|
400
400
|
type: '火山現象に関する海上警報・海上予報';
|
|
401
401
|
title: string;
|
|
402
402
|
infoType: '発表' | '訂正';
|
|
403
|
-
targetDateTimeDubious
|
|
404
|
-
targetDuration
|
|
405
|
-
validDateTime
|
|
403
|
+
targetDateTimeDubious?: never;
|
|
404
|
+
targetDuration?: never;
|
|
405
|
+
validDateTime?: never;
|
|
406
406
|
eventId: string;
|
|
407
407
|
serialNo: null;
|
|
408
408
|
infoKind: '火山現象に関する海上警報・海上予報';
|
|
@@ -414,9 +414,9 @@ export namespace VolcanoInformation {
|
|
|
414
414
|
type: '火山に関するお知らせ';
|
|
415
415
|
title: string;
|
|
416
416
|
infoType: '発表' | '訂正';
|
|
417
|
-
targetDateTimeDubious
|
|
418
|
-
targetDuration
|
|
419
|
-
validDateTime
|
|
417
|
+
targetDateTimeDubious?: never;
|
|
418
|
+
targetDuration?: never;
|
|
419
|
+
validDateTime?: never;
|
|
420
420
|
eventId: string;
|
|
421
421
|
serialNo: null;
|
|
422
422
|
infoKind: '火山に関するお知らせ';
|
|
@@ -429,7 +429,7 @@ export namespace VolcanoInformation {
|
|
|
429
429
|
title: string;
|
|
430
430
|
infoType: '取消';
|
|
431
431
|
targetDateTimeDubious?: '年頃' | '月頃' | '日頃' | '時頃' | '分頃' | '秒頃' | '頃';
|
|
432
|
-
targetDuration
|
|
432
|
+
targetDuration?: never;
|
|
433
433
|
validDateTime?: string;
|
|
434
434
|
eventId: string;
|
|
435
435
|
infoKind: '噴火警報・予報' | '火山の状況に関する解説情報' | '噴火に関する火山観測報' | '降灰予報' | '噴火速報' | '火山現象に関する海上警報・海上予報' | '火山に関するお知らせ';
|
|
@@ -23,36 +23,11 @@ export namespace WeatherEarly {
|
|
|
23
23
|
export interface MainTextZone extends Components.CodeName {
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
27
26
|
export interface MainText {
|
|
28
27
|
text: string;
|
|
29
28
|
zones: MainTextZone[];
|
|
30
29
|
}
|
|
31
30
|
|
|
32
|
-
export interface StatisticPeriodDateTime {
|
|
33
|
-
value: string;
|
|
34
|
-
validFormat?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface StatisticPeriod {
|
|
38
|
-
dateTime: StatisticPeriodDateTime;
|
|
39
|
-
duration: string;
|
|
40
|
-
name: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface StatisticStationObservedValue {
|
|
44
|
-
type: string;
|
|
45
|
-
unit: string;
|
|
46
|
-
value: string | null;
|
|
47
|
-
condition?: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export interface StatisticStation extends Components.CodeName {
|
|
51
|
-
type: '天候の状況(速報値)';
|
|
52
|
-
observedValues: StatisticStationObservedValue[];
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
31
|
export interface EarlyBaseZone extends Components.CodeName {
|
|
57
32
|
}
|
|
58
33
|
|
|
@@ -111,9 +111,9 @@ export namespace WeatherImpactSociety {
|
|
|
111
111
|
type: '全般天候情報' | '地方天候情報' | '府県天候情報';
|
|
112
112
|
title: string;
|
|
113
113
|
infoType: '発表' | '訂正' | '取消';
|
|
114
|
-
targetDateTimeDubious
|
|
115
|
-
targetDuration
|
|
116
|
-
validDateTime
|
|
114
|
+
targetDateTimeDubious?: never;
|
|
115
|
+
targetDuration?: never;
|
|
116
|
+
validDateTime?: string;
|
|
117
117
|
eventId: string;
|
|
118
118
|
serialNo: string;
|
|
119
119
|
infoKind: '天候情報';
|
|
@@ -122,17 +122,19 @@ export namespace WeatherImpactSociety {
|
|
|
122
122
|
|
|
123
123
|
export interface PublicZone extends Public {
|
|
124
124
|
type: '全般天候情報' | '地方天候情報';
|
|
125
|
+
validDateTime: string;
|
|
125
126
|
body: PublicBodyZone;
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
export interface PublicPrefecture extends Public {
|
|
129
130
|
type: '府県天候情報';
|
|
131
|
+
validDateTime: string;
|
|
130
132
|
body: PublicBodyPrefecture;
|
|
131
133
|
}
|
|
132
134
|
|
|
133
|
-
export interface PublicZoneSeason extends
|
|
135
|
+
export interface PublicZoneSeason extends Public {
|
|
134
136
|
type: '地方天候情報';
|
|
135
|
-
validDateTime
|
|
137
|
+
validDateTime?: never;
|
|
136
138
|
body: PublicBodyZoneSeason;
|
|
137
139
|
}
|
|
138
140
|
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { TelegramJSONMain } from '../../main';
|
|
2
|
+
import { Components } from '../../component';
|
|
3
|
+
|
|
4
|
+
export namespace WeatherImpactSociety {
|
|
5
|
+
export interface Schema {
|
|
6
|
+
type: 'weather-impact-society';
|
|
7
|
+
version: '1.0.1';
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface Target extends Components.CodeName {
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface TargetTimeDateTime {
|
|
14
|
+
value: string;
|
|
15
|
+
validFormat: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface TargetTime {
|
|
19
|
+
dateTime: TargetTimeDateTime;
|
|
20
|
+
duration?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface MainTextZone extends Components.CodeName {
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface MainText {
|
|
27
|
+
text: string;
|
|
28
|
+
zones: MainTextZone[];
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface StatisticPeriodDateTime {
|
|
32
|
+
value: string;
|
|
33
|
+
validFormat?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface StatisticPeriod {
|
|
37
|
+
dateTime: StatisticPeriodDateTime;
|
|
38
|
+
duration: string;
|
|
39
|
+
name: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface StatisticStationObservedValue {
|
|
43
|
+
type: string;
|
|
44
|
+
unit: string;
|
|
45
|
+
value: string | null;
|
|
46
|
+
condition?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface StatisticStation extends Components.CodeName {
|
|
50
|
+
type: '天候の状況(速報値)';
|
|
51
|
+
observedValues: StatisticStationObservedValue[];
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface Statistic {
|
|
55
|
+
type: '気象官署及び特別地域気象観測所' | 'アメダス';
|
|
56
|
+
period: StatisticPeriod;
|
|
57
|
+
text?: string;
|
|
58
|
+
stations: StatisticStation[];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface SeasonZoneEventDataDate {
|
|
62
|
+
value: string;
|
|
63
|
+
dubious: '頃';
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface SeasonZoneEventData {
|
|
67
|
+
date?: SeasonZoneEventDataDate;
|
|
68
|
+
normal: SeasonZoneEventDataDate;
|
|
69
|
+
lastYear?: SeasonZoneEventDataDate;
|
|
70
|
+
remark?: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface SeasonZone extends Components.CodeName {
|
|
74
|
+
type: '梅雨入り' | '梅雨明け';
|
|
75
|
+
eventData: SeasonZoneEventData;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface Season {
|
|
79
|
+
type: '梅雨';
|
|
80
|
+
zones: SeasonZone[];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export interface PublicBody {
|
|
84
|
+
notice?: string;
|
|
85
|
+
target: Target;
|
|
86
|
+
targetTime: TargetTime;
|
|
87
|
+
mainTexts: MainText [];
|
|
88
|
+
statistics?: Statistic[];
|
|
89
|
+
comment?: string;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface PublicBodySeason extends PublicBody {
|
|
93
|
+
season: Season;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface Public extends TelegramJSONMain {
|
|
97
|
+
_schema: Schema;
|
|
98
|
+
type: '全般天候情報' | '地方天候情報';
|
|
99
|
+
title: string;
|
|
100
|
+
infoType: '発表' | '訂正' | '取消';
|
|
101
|
+
targetDateTimeDubious?: never;
|
|
102
|
+
targetDuration?: never;
|
|
103
|
+
validDateTime?: string;
|
|
104
|
+
eventId: string;
|
|
105
|
+
serialNo: string;
|
|
106
|
+
infoKind: '天候情報';
|
|
107
|
+
body: PublicBody;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export interface PublicZoneSeason extends Public {
|
|
111
|
+
type: '地方天候情報';
|
|
112
|
+
validDateTime?: never;
|
|
113
|
+
body: PublicBodySeason;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type Main = Public | PublicZoneSeason;
|
|
117
|
+
}
|
|
@@ -7,24 +7,61 @@ export namespace WeatherInformation {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export interface PublicBody {
|
|
10
|
-
target
|
|
10
|
+
target?: never;
|
|
11
11
|
notice: string | null;
|
|
12
12
|
comment: string;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export interface
|
|
15
|
+
export interface PublicBodyVPFG50 {
|
|
16
|
+
target: {
|
|
17
|
+
name: string;
|
|
18
|
+
code: string
|
|
19
|
+
};
|
|
20
|
+
notice: string | null;
|
|
21
|
+
comment: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface Public extends TelegramJSONMain {
|
|
16
25
|
_schema: Schema;
|
|
17
26
|
type: '全般台風情報' | '全般台風情報(定型)' | '全般台風情報(詳細)' | '全般スモッグ気象情報' | 'スモッグ気象情報' | '地方高温注意情報' | '府県高温注意情報' | '熱中症警戒アラート' | '全般潮位情報' | '地方潮位情報' | '府県潮位情報' | '全般気象情報' | '地方気象情報' | '府県気象情報';
|
|
18
27
|
title: string;
|
|
19
28
|
infoType: '発表' | '訂正' | '取消';
|
|
20
|
-
targetDateTimeDubious
|
|
21
|
-
targetDuration
|
|
22
|
-
validDateTime
|
|
29
|
+
targetDateTimeDubious?: never;
|
|
30
|
+
targetDuration?: never;
|
|
31
|
+
validDateTime?: never;
|
|
23
32
|
eventId: string;
|
|
24
33
|
serialNo: string | null;
|
|
25
34
|
infoKind: '同一現象用平文情報';
|
|
26
35
|
body: PublicBody;
|
|
27
36
|
}
|
|
28
37
|
|
|
29
|
-
export
|
|
38
|
+
export interface PublicVPZK70 extends TelegramJSONMain {
|
|
39
|
+
_schema: Schema;
|
|
40
|
+
type: '全般季節予報(2週間気温予報)';
|
|
41
|
+
title: string;
|
|
42
|
+
infoType: '発表' | '訂正' | '取消';
|
|
43
|
+
targetDateTimeDubious?: never;
|
|
44
|
+
targetDuration?: never;
|
|
45
|
+
validDateTime?: never;
|
|
46
|
+
eventId: null;
|
|
47
|
+
serialNo: null;
|
|
48
|
+
infoKind: '平文情報';
|
|
49
|
+
body: PublicBody;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface PublicVPFG50 extends TelegramJSONMain {
|
|
53
|
+
_schema: Schema;
|
|
54
|
+
type: '府県天気概況';
|
|
55
|
+
title: string;
|
|
56
|
+
infoType: '発表' | '訂正' | '取消';
|
|
57
|
+
targetDateTimeDubious?: never;
|
|
58
|
+
targetDuration?: never;
|
|
59
|
+
validDateTime?: never;
|
|
60
|
+
eventId: null;
|
|
61
|
+
serialNo: null;
|
|
62
|
+
infoKind: '平文情報';
|
|
63
|
+
body: PublicBodyVPFG50;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type Main = Public | PublicVPZK70 | PublicVPFG50;
|
|
30
67
|
}
|
|
@@ -38,9 +38,9 @@ export namespace WeatherLandslide {
|
|
|
38
38
|
type: '土砂災害警戒情報';
|
|
39
39
|
title: string;
|
|
40
40
|
infoType: '発表';
|
|
41
|
-
targetDateTimeDubious
|
|
42
|
-
targetDuration
|
|
43
|
-
validDateTime
|
|
41
|
+
targetDateTimeDubious?: never;
|
|
42
|
+
targetDuration?: never;
|
|
43
|
+
validDateTime?: never;
|
|
44
44
|
eventId: string;
|
|
45
45
|
serialNo: string;
|
|
46
46
|
infoKind: '土砂災害警戒情報';
|
|
@@ -179,9 +179,9 @@ export namespace WeatherRiverFlood {
|
|
|
179
179
|
type: '指定河川洪水予報';
|
|
180
180
|
title: string;
|
|
181
181
|
infoType: '発表' | '訂正' | '取消';
|
|
182
|
-
targetDateTimeDubious
|
|
183
|
-
targetDuration
|
|
184
|
-
validDateTime
|
|
182
|
+
targetDateTimeDubious?: never;
|
|
183
|
+
targetDuration?: never;
|
|
184
|
+
validDateTime?: never;
|
|
185
185
|
eventId: string;
|
|
186
186
|
serialNo: string;
|
|
187
187
|
infoKind: '指定河川洪水予報';
|
|
@@ -38,8 +38,8 @@ export namespace WeatherTornado {
|
|
|
38
38
|
type: '竜巻注意情報(目撃情報付き)';
|
|
39
39
|
title: string;
|
|
40
40
|
infoType: '発表' | '訂正';
|
|
41
|
-
targetDateTimeDubious
|
|
42
|
-
targetDuration
|
|
41
|
+
targetDateTimeDubious?: never;
|
|
42
|
+
targetDuration?: never;
|
|
43
43
|
validDateTime: string;
|
|
44
44
|
eventId: null;
|
|
45
45
|
serialNo: string;
|
|
@@ -34,7 +34,7 @@ export namespace WeatherTyphoon {
|
|
|
34
34
|
unit: 'km/h';
|
|
35
35
|
} & ({
|
|
36
36
|
value: string;
|
|
37
|
-
condition
|
|
37
|
+
condition?: never;
|
|
38
38
|
} | {
|
|
39
39
|
value: null;
|
|
40
40
|
condition: 'ゆっくり' | 'ほとんど停滞';
|
|
@@ -118,9 +118,9 @@ export namespace WeatherTyphoon {
|
|
|
118
118
|
_schema: Schema;
|
|
119
119
|
type: '台風解析・予報情報(5日予報)(H30)' | '台風解析・予報情報(5日予報)' | '台風解析・予報情報(3日予報)';
|
|
120
120
|
title: '台風解析・予報情報';
|
|
121
|
-
targetDateTimeDubious
|
|
121
|
+
targetDateTimeDubious?: never;
|
|
122
122
|
targetDuration: string;
|
|
123
|
-
validDateTime
|
|
123
|
+
validDateTime?: never;
|
|
124
124
|
infoKind: '台風解析・予報情報(5日予報)' | '台風解析・予報情報(3日予報)';
|
|
125
125
|
eventId: string;
|
|
126
126
|
serialNo: string;
|
|
@@ -37,14 +37,14 @@ export namespace WeatherWarning {
|
|
|
37
37
|
changeStatus: '警報・注意報種別に変化有' | '警報・注意報種別に変化無、量的予想事項等に変化有' | '変化無';
|
|
38
38
|
fullStatus: '全域' | '一部';
|
|
39
39
|
editingMark: boolean;
|
|
40
|
-
condition
|
|
40
|
+
condition?: never;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export interface PrefectureNone extends Components.CodeName {
|
|
44
|
-
kinds:
|
|
45
|
-
changeStatus
|
|
46
|
-
fullStatus
|
|
47
|
-
editingMark
|
|
44
|
+
kinds: [];
|
|
45
|
+
changeStatus?: never;
|
|
46
|
+
fullStatus?: never;
|
|
47
|
+
editingMark?: never;
|
|
48
48
|
condition: '発表警報・注意報はなし';
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -185,9 +185,9 @@ export namespace WeatherWarning {
|
|
|
185
185
|
type: '気象警報・注意報(H27)';
|
|
186
186
|
title: string;
|
|
187
187
|
infoType: '発表' | '訂正';
|
|
188
|
-
targetDateTimeDubious
|
|
189
|
-
targetDuration
|
|
190
|
-
validDateTime
|
|
188
|
+
targetDateTimeDubious?: never;
|
|
189
|
+
targetDuration?: never;
|
|
190
|
+
validDateTime?: never;
|
|
191
191
|
eventId: null;
|
|
192
192
|
serialNo: null;
|
|
193
193
|
infoKind: '気象警報・注意報';
|
|
@@ -199,9 +199,9 @@ export namespace WeatherWarning {
|
|
|
199
199
|
type: '記録的短時間大雨情報';
|
|
200
200
|
title: string;
|
|
201
201
|
infoType: '発表' | '訂正' | '取消';
|
|
202
|
-
targetDateTimeDubious
|
|
203
|
-
targetDuration
|
|
204
|
-
validDateTime
|
|
202
|
+
targetDateTimeDubious?: never;
|
|
203
|
+
targetDuration?: never;
|
|
204
|
+
validDateTime?: never;
|
|
205
205
|
eventId: string;
|
|
206
206
|
serialNo: string;
|
|
207
207
|
infoKind: '記録的短時間大雨情報';
|