@dmdata/telegram-json-types 1.2.1 → 1.2.3
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/.github/workflows/release.yml +33 -0
- package/LICENSE +21 -21
- package/README.md +79 -79
- package/dist/jschema/forecast-weathermap_1.0.0.json +1 -1
- package/dist/jschema/weather-warning-timeseries_1.0.0.json +1 -1
- package/index.d.ts +2 -2
- package/package.json +30 -32
- package/test/sample-schema-check.test.ts +68 -68
- package/tsconfig.json +25 -25
- package/types/component/coordinate.d.ts +27 -27
- package/types/component/earthquake.d.ts +77 -77
- package/types/component/index.d.ts +17 -17
- package/types/component/unit-value.d.ts +13 -13
- package/types/component/util.d.ts +20 -20
- package/types/index.d.ts +84 -84
- package/types/schema/earthquake-counts/1.0.0.d.ts +69 -69
- package/types/schema/earthquake-explanation/1.0.0.d.ts +57 -57
- package/types/schema/earthquake-hypocenter-update/1.0.0.d.ts +53 -53
- package/types/schema/earthquake-information/1.0.0.d.ts +158 -158
- package/types/schema/earthquake-information/1.1.0.d.ts +224 -224
- package/types/schema/earthquake-information/index.d.ts +9 -9
- package/types/schema/earthquake-nankai/1.0.0.d.ts +101 -101
- package/types/schema/eew-information/1.0.0.d.ts +221 -221
- package/types/schema/eew-information/index.d.ts +7 -7
- package/types/schema/forecast-2week-temperature/1.0.0.d.ts +110 -110
- package/types/schema/forecast-prefecture/1.0.0.d.ts +537 -537
- package/types/schema/forecast-season/1.0.0.d.ts +169 -169
- package/types/schema/forecast-warning-possibility/1.0.0.d.ts +388 -388
- package/types/schema/forecast-warning-possibility/1.1.0.d.ts +129 -129
- package/types/schema/forecast-warning-possibility/index.d.ts +9 -9
- package/types/schema/forecast-weathermap/1.0.0.d.ts +206 -194
- package/types/schema/tsunami-information/1.0.0.d.ts +261 -261
- package/types/schema/tsunami-information/1.1.0.d.ts +298 -298
- package/types/schema/tsunami-information/index.d.ts +9 -9
- package/types/schema/volcano-information/1.0.0.d.ts +450 -450
- package/types/schema/weather-commentary/1.0.0.d.ts +984 -984
- package/types/schema/weather-commentary/index.d.ts +7 -7
- package/types/schema/weather-early/1.0.0.d.ts +111 -111
- package/types/schema/weather-impact-society/1.0.0.d.ts +143 -143
- package/types/schema/weather-impact-society/1.0.1.d.ts +118 -118
- package/types/schema/weather-information/1.0.0.d.ts +67 -67
- package/types/schema/weather-landslide/1.0.0.d.ts +51 -51
- package/types/schema/weather-river-flood/1.0.0.d.ts +192 -192
- package/types/schema/weather-tornado/1.0.0.d.ts +55 -55
- package/types/schema/weather-typhoon/1.0.0.d.ts +146 -146
- package/types/schema/weather-typhoon/index.d.ts +7 -7
- package/types/schema/weather-warning/1.0.0.d.ts +213 -213
- package/types/schema/weather-warning/1.1.0.d.ts +469 -469
- package/types/schema/weather-warning/index.d.ts +9 -9
- package/types/schema/weather-warning-timeseries/1.0.0.d.ts +357 -385
- package/types/schema/weather-warning-timeseries/index.d.ts +7 -7
|
@@ -1,224 +1,224 @@
|
|
|
1
|
-
import { TelegramJSONMain } from '../../main';
|
|
2
|
-
import { Components } from '../../component/';
|
|
3
|
-
|
|
4
|
-
export namespace EarthquakeInformation {
|
|
5
|
-
export interface Schema {
|
|
6
|
-
type: 'earthquake-information';
|
|
7
|
-
version: '1.1.0';
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export type IntensityClass = '1' | '2' | '3' | '4' | '5-' | '5+' | '6-' | '6+' | '7';
|
|
11
|
-
export type LgIntensityClass = '0' | '1' | '2' | '3' | '4';
|
|
12
|
-
export type LgCategory = '1' | '2' | '3' | '4';
|
|
13
|
-
|
|
14
|
-
export interface IntensityMaxInt extends Components.CodeName {
|
|
15
|
-
maxInt: IntensityClass;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface IntensityMaxIntOnRevise extends Components.CodeName {
|
|
19
|
-
maxInt?: IntensityClass;
|
|
20
|
-
revise?: '上方修正' | '下方修正' | '追加';
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface IntensityCity extends Components.CodeName {
|
|
24
|
-
maxInt?: IntensityClass;
|
|
25
|
-
revise?: '上方修正' | '下方修正' | '追加';
|
|
26
|
-
condition?: '震度5弱以上未入電';
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface IntensityStation extends Components.CodeName {
|
|
30
|
-
int: IntensityClass | '!5-';
|
|
31
|
-
revise?: '上方修正' | '下方修正' | '追加';
|
|
32
|
-
condition?: '震度5弱以上未入電';
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface IntensityLgMaxInt extends IntensityMaxIntOnRevise {
|
|
36
|
-
maxLgInt: LgIntensityClass;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface IntensityPeriodicBand extends Omit<Components.UnitValueNotNull<void, '秒台'>, 'type'> {
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export interface IntensitySva extends Omit<Components.UnitValueNotNull<void, 'cm/s'>, 'type'> {
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export type IntensityLgStationPrePeriod = {
|
|
46
|
-
periodicBand: IntensityPeriodicBand;
|
|
47
|
-
lgInt: LgIntensityClass;
|
|
48
|
-
sva: IntensitySva;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export interface IntensityLgStation extends Components.CodeName {
|
|
52
|
-
int?: IntensityClass;
|
|
53
|
-
revise?: '上方修正' | '下方修正' | '追加';
|
|
54
|
-
lgInt: LgIntensityClass;
|
|
55
|
-
sva: IntensitySva;
|
|
56
|
-
prePeriods: IntensityLgStationPrePeriod[];
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export interface Comments {
|
|
60
|
-
free?: string;
|
|
61
|
-
forecast?: {
|
|
62
|
-
text: string;
|
|
63
|
-
codes: string[];
|
|
64
|
-
};
|
|
65
|
-
var?: {
|
|
66
|
-
text: string;
|
|
67
|
-
codes: string[];
|
|
68
|
-
};
|
|
69
|
-
uri?: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface CommentsVXSE51Or52 extends Comments {
|
|
73
|
-
var?: never;
|
|
74
|
-
uri?: never;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export interface CommentsVXSE53 extends Comments {
|
|
78
|
-
uri?: never;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
export interface IntensityVXSE51 {
|
|
83
|
-
maxInt: IntensityClass;
|
|
84
|
-
prefectures: IntensityMaxInt[];
|
|
85
|
-
regions: IntensityMaxInt[];
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface IntensityVXSE53 {
|
|
89
|
-
maxInt: IntensityClass;
|
|
90
|
-
prefectures: IntensityMaxIntOnRevise[];
|
|
91
|
-
regions: IntensityMaxIntOnRevise[];
|
|
92
|
-
cities: IntensityCity[];
|
|
93
|
-
stations: IntensityStation[];
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export interface IntensityVXSE62 {
|
|
97
|
-
maxInt: IntensityClass;
|
|
98
|
-
maxLgInt: LgIntensityClass;
|
|
99
|
-
lgCategory: LgCategory;
|
|
100
|
-
prefectures: IntensityLgMaxInt[];
|
|
101
|
-
regions: IntensityLgMaxInt[];
|
|
102
|
-
stations: IntensityLgStation[];
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export interface PublicBodyVXSE51 {
|
|
107
|
-
intensity: IntensityVXSE51;
|
|
108
|
-
text?: string;
|
|
109
|
-
comments: CommentsVXSE51Or52;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export interface PublicBodyVXSE52 {
|
|
113
|
-
earthquake: Components.Earthquake;
|
|
114
|
-
text?: string;
|
|
115
|
-
comments: CommentsVXSE51Or52;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export interface PublicBodyVXSE53 {
|
|
119
|
-
earthquake: Components.Earthquake;
|
|
120
|
-
intensity?: IntensityVXSE53;
|
|
121
|
-
text?: string;
|
|
122
|
-
comments: CommentsVXSE53;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
export interface PublicBodyVXSE62 {
|
|
126
|
-
earthquake: Components.Earthquake;
|
|
127
|
-
intensity?: IntensityVXSE62;
|
|
128
|
-
text?: string;
|
|
129
|
-
comments: Comments;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export interface PublicBodyVZSE40 {
|
|
133
|
-
text: string;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export interface CancelBody {
|
|
137
|
-
text: string;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export interface PublicVXSE51 extends TelegramJSONMain {
|
|
141
|
-
_schema: Schema;
|
|
142
|
-
type: '震度速報';
|
|
143
|
-
title: '震度速報';
|
|
144
|
-
infoType: '発表' | '訂正';
|
|
145
|
-
targetDateTimeDubious?: never;
|
|
146
|
-
targetDuration?: never;
|
|
147
|
-
validDateTime?: never;
|
|
148
|
-
eventId: string;
|
|
149
|
-
serialNo: null;
|
|
150
|
-
infoKind: '震度速報';
|
|
151
|
-
body: PublicBodyVXSE51;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
export interface PublicVXSE52 extends TelegramJSONMain {
|
|
155
|
-
_schema: Schema;
|
|
156
|
-
type: '震源に関する情報';
|
|
157
|
-
title: '震源に関する情報';
|
|
158
|
-
infoType: '発表' | '訂正';
|
|
159
|
-
targetDateTimeDubious?: never;
|
|
160
|
-
targetDuration?: never;
|
|
161
|
-
validDateTime?: never;
|
|
162
|
-
eventId: string;
|
|
163
|
-
serialNo: null;
|
|
164
|
-
infoKind: '震源速報';
|
|
165
|
-
body: PublicBodyVXSE52;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export interface PublicVXSE53 extends TelegramJSONMain {
|
|
169
|
-
_schema: Schema;
|
|
170
|
-
type: '震源・震度に関する情報';
|
|
171
|
-
title: '震源・震度情報' | '遠地地震に関する情報';
|
|
172
|
-
infoType: '発表' | '訂正';
|
|
173
|
-
targetDateTimeDubious?: never;
|
|
174
|
-
targetDuration?: never;
|
|
175
|
-
validDateTime?: never;
|
|
176
|
-
eventId: string;
|
|
177
|
-
serialNo: string;
|
|
178
|
-
infoKind: '地震情報';
|
|
179
|
-
body: PublicBodyVXSE53;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export interface PublicVXSE62 extends TelegramJSONMain {
|
|
183
|
-
_schema: Schema;
|
|
184
|
-
type: '長周期地震動に関する観測情報';
|
|
185
|
-
title: '長周期地震動に関する観測情報';
|
|
186
|
-
infoType: '発表' | '訂正';
|
|
187
|
-
targetDateTimeDubious?: never;
|
|
188
|
-
targetDuration?: never;
|
|
189
|
-
validDateTime?: never;
|
|
190
|
-
eventId: string;
|
|
191
|
-
serialNo: string;
|
|
192
|
-
infoKind: '長周期地震動に関する観測情報';
|
|
193
|
-
body: PublicBodyVXSE62;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export interface PublicVZSE40 extends TelegramJSONMain {
|
|
197
|
-
_schema: Schema;
|
|
198
|
-
type: '地震・津波に関するお知らせ';
|
|
199
|
-
title: '地震・津波に関するお知らせ';
|
|
200
|
-
infoType: '発表' | '訂正';
|
|
201
|
-
targetDateTimeDubious?: never;
|
|
202
|
-
targetDuration?: never;
|
|
203
|
-
validDateTime?: never;
|
|
204
|
-
eventId: string;
|
|
205
|
-
serialNo: null;
|
|
206
|
-
infoKind: '地震・津波に関するお知らせ';
|
|
207
|
-
body: PublicBodyVZSE40;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export interface Cancel extends TelegramJSONMain {
|
|
211
|
-
_schema: Schema;
|
|
212
|
-
type: '震度速報' | '震源に関する情報' | '震源・震度に関する情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
213
|
-
title: '震度速報' | '震源に関する情報' | '震源・震度情報' | '遠地地震に関する情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
214
|
-
infoType: '取消';
|
|
215
|
-
targetDateTimeDubious?: never;
|
|
216
|
-
targetDuration?: never;
|
|
217
|
-
validDateTime?: never;
|
|
218
|
-
eventId: string;
|
|
219
|
-
infoKind: '震度速報' | '震源速報' | '地震情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
220
|
-
body: CancelBody;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53 | PublicVXSE62 | PublicVZSE40) | Cancel;
|
|
224
|
-
}
|
|
1
|
+
import { TelegramJSONMain } from '../../main';
|
|
2
|
+
import { Components } from '../../component/';
|
|
3
|
+
|
|
4
|
+
export namespace EarthquakeInformation {
|
|
5
|
+
export interface Schema {
|
|
6
|
+
type: 'earthquake-information';
|
|
7
|
+
version: '1.1.0';
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type IntensityClass = '1' | '2' | '3' | '4' | '5-' | '5+' | '6-' | '6+' | '7';
|
|
11
|
+
export type LgIntensityClass = '0' | '1' | '2' | '3' | '4';
|
|
12
|
+
export type LgCategory = '1' | '2' | '3' | '4';
|
|
13
|
+
|
|
14
|
+
export interface IntensityMaxInt extends Components.CodeName {
|
|
15
|
+
maxInt: IntensityClass;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface IntensityMaxIntOnRevise extends Components.CodeName {
|
|
19
|
+
maxInt?: IntensityClass;
|
|
20
|
+
revise?: '上方修正' | '下方修正' | '追加';
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface IntensityCity extends Components.CodeName {
|
|
24
|
+
maxInt?: IntensityClass;
|
|
25
|
+
revise?: '上方修正' | '下方修正' | '追加';
|
|
26
|
+
condition?: '震度5弱以上未入電';
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface IntensityStation extends Components.CodeName {
|
|
30
|
+
int: IntensityClass | '!5-';
|
|
31
|
+
revise?: '上方修正' | '下方修正' | '追加';
|
|
32
|
+
condition?: '震度5弱以上未入電';
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface IntensityLgMaxInt extends IntensityMaxIntOnRevise {
|
|
36
|
+
maxLgInt: LgIntensityClass;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface IntensityPeriodicBand extends Omit<Components.UnitValueNotNull<void, '秒台'>, 'type'> {
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface IntensitySva extends Omit<Components.UnitValueNotNull<void, 'cm/s'>, 'type'> {
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type IntensityLgStationPrePeriod = {
|
|
46
|
+
periodicBand: IntensityPeriodicBand;
|
|
47
|
+
lgInt: LgIntensityClass;
|
|
48
|
+
sva: IntensitySva;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export interface IntensityLgStation extends Components.CodeName {
|
|
52
|
+
int?: IntensityClass;
|
|
53
|
+
revise?: '上方修正' | '下方修正' | '追加';
|
|
54
|
+
lgInt: LgIntensityClass;
|
|
55
|
+
sva: IntensitySva;
|
|
56
|
+
prePeriods: IntensityLgStationPrePeriod[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface Comments {
|
|
60
|
+
free?: string;
|
|
61
|
+
forecast?: {
|
|
62
|
+
text: string;
|
|
63
|
+
codes: string[];
|
|
64
|
+
};
|
|
65
|
+
var?: {
|
|
66
|
+
text: string;
|
|
67
|
+
codes: string[];
|
|
68
|
+
};
|
|
69
|
+
uri?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface CommentsVXSE51Or52 extends Comments {
|
|
73
|
+
var?: never;
|
|
74
|
+
uri?: never;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface CommentsVXSE53 extends Comments {
|
|
78
|
+
uri?: never;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
export interface IntensityVXSE51 {
|
|
83
|
+
maxInt: IntensityClass;
|
|
84
|
+
prefectures: IntensityMaxInt[];
|
|
85
|
+
regions: IntensityMaxInt[];
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface IntensityVXSE53 {
|
|
89
|
+
maxInt: IntensityClass;
|
|
90
|
+
prefectures: IntensityMaxIntOnRevise[];
|
|
91
|
+
regions: IntensityMaxIntOnRevise[];
|
|
92
|
+
cities: IntensityCity[];
|
|
93
|
+
stations: IntensityStation[];
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface IntensityVXSE62 {
|
|
97
|
+
maxInt: IntensityClass;
|
|
98
|
+
maxLgInt: LgIntensityClass;
|
|
99
|
+
lgCategory: LgCategory;
|
|
100
|
+
prefectures: IntensityLgMaxInt[];
|
|
101
|
+
regions: IntensityLgMaxInt[];
|
|
102
|
+
stations: IntensityLgStation[];
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
export interface PublicBodyVXSE51 {
|
|
107
|
+
intensity: IntensityVXSE51;
|
|
108
|
+
text?: string;
|
|
109
|
+
comments: CommentsVXSE51Or52;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export interface PublicBodyVXSE52 {
|
|
113
|
+
earthquake: Components.Earthquake;
|
|
114
|
+
text?: string;
|
|
115
|
+
comments: CommentsVXSE51Or52;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export interface PublicBodyVXSE53 {
|
|
119
|
+
earthquake: Components.Earthquake;
|
|
120
|
+
intensity?: IntensityVXSE53;
|
|
121
|
+
text?: string;
|
|
122
|
+
comments: CommentsVXSE53;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export interface PublicBodyVXSE62 {
|
|
126
|
+
earthquake: Components.Earthquake;
|
|
127
|
+
intensity?: IntensityVXSE62;
|
|
128
|
+
text?: string;
|
|
129
|
+
comments: Comments;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export interface PublicBodyVZSE40 {
|
|
133
|
+
text: string;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export interface CancelBody {
|
|
137
|
+
text: string;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export interface PublicVXSE51 extends TelegramJSONMain {
|
|
141
|
+
_schema: Schema;
|
|
142
|
+
type: '震度速報';
|
|
143
|
+
title: '震度速報';
|
|
144
|
+
infoType: '発表' | '訂正';
|
|
145
|
+
targetDateTimeDubious?: never;
|
|
146
|
+
targetDuration?: never;
|
|
147
|
+
validDateTime?: never;
|
|
148
|
+
eventId: string;
|
|
149
|
+
serialNo: null;
|
|
150
|
+
infoKind: '震度速報';
|
|
151
|
+
body: PublicBodyVXSE51;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface PublicVXSE52 extends TelegramJSONMain {
|
|
155
|
+
_schema: Schema;
|
|
156
|
+
type: '震源に関する情報';
|
|
157
|
+
title: '震源に関する情報';
|
|
158
|
+
infoType: '発表' | '訂正';
|
|
159
|
+
targetDateTimeDubious?: never;
|
|
160
|
+
targetDuration?: never;
|
|
161
|
+
validDateTime?: never;
|
|
162
|
+
eventId: string;
|
|
163
|
+
serialNo: null;
|
|
164
|
+
infoKind: '震源速報';
|
|
165
|
+
body: PublicBodyVXSE52;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export interface PublicVXSE53 extends TelegramJSONMain {
|
|
169
|
+
_schema: Schema;
|
|
170
|
+
type: '震源・震度に関する情報';
|
|
171
|
+
title: '震源・震度情報' | '遠地地震に関する情報';
|
|
172
|
+
infoType: '発表' | '訂正';
|
|
173
|
+
targetDateTimeDubious?: never;
|
|
174
|
+
targetDuration?: never;
|
|
175
|
+
validDateTime?: never;
|
|
176
|
+
eventId: string;
|
|
177
|
+
serialNo: string;
|
|
178
|
+
infoKind: '地震情報';
|
|
179
|
+
body: PublicBodyVXSE53;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export interface PublicVXSE62 extends TelegramJSONMain {
|
|
183
|
+
_schema: Schema;
|
|
184
|
+
type: '長周期地震動に関する観測情報';
|
|
185
|
+
title: '長周期地震動に関する観測情報';
|
|
186
|
+
infoType: '発表' | '訂正';
|
|
187
|
+
targetDateTimeDubious?: never;
|
|
188
|
+
targetDuration?: never;
|
|
189
|
+
validDateTime?: never;
|
|
190
|
+
eventId: string;
|
|
191
|
+
serialNo: string;
|
|
192
|
+
infoKind: '長周期地震動に関する観測情報';
|
|
193
|
+
body: PublicBodyVXSE62;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export interface PublicVZSE40 extends TelegramJSONMain {
|
|
197
|
+
_schema: Schema;
|
|
198
|
+
type: '地震・津波に関するお知らせ';
|
|
199
|
+
title: '地震・津波に関するお知らせ';
|
|
200
|
+
infoType: '発表' | '訂正';
|
|
201
|
+
targetDateTimeDubious?: never;
|
|
202
|
+
targetDuration?: never;
|
|
203
|
+
validDateTime?: never;
|
|
204
|
+
eventId: string;
|
|
205
|
+
serialNo: null;
|
|
206
|
+
infoKind: '地震・津波に関するお知らせ';
|
|
207
|
+
body: PublicBodyVZSE40;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export interface Cancel extends TelegramJSONMain {
|
|
211
|
+
_schema: Schema;
|
|
212
|
+
type: '震度速報' | '震源に関する情報' | '震源・震度に関する情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
213
|
+
title: '震度速報' | '震源に関する情報' | '震源・震度情報' | '遠地地震に関する情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
214
|
+
infoType: '取消';
|
|
215
|
+
targetDateTimeDubious?: never;
|
|
216
|
+
targetDuration?: never;
|
|
217
|
+
validDateTime?: never;
|
|
218
|
+
eventId: string;
|
|
219
|
+
infoKind: '震度速報' | '震源速報' | '地震情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
220
|
+
body: CancelBody;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53 | PublicVXSE62 | PublicVZSE40) | Cancel;
|
|
224
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EarthquakeInformation as v1_1_0 } from './1.1.0';
|
|
2
|
-
import { EarthquakeInformation as v1_0_0 } from './1.0.0';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
v1_1_0 as Latest,
|
|
7
|
-
v1_1_0,
|
|
8
|
-
v1_0_0,
|
|
9
|
-
};
|
|
1
|
+
import { EarthquakeInformation as v1_1_0 } from './1.1.0';
|
|
2
|
+
import { EarthquakeInformation as v1_0_0 } from './1.0.0';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export {
|
|
6
|
+
v1_1_0 as Latest,
|
|
7
|
+
v1_1_0,
|
|
8
|
+
v1_0_0,
|
|
9
|
+
};
|
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
import { TelegramJSONMain } from '../../main';
|
|
2
|
-
import { Components } from '../../component';
|
|
3
|
-
|
|
4
|
-
export namespace EarthquakeNankai {
|
|
5
|
-
export interface Schema {
|
|
6
|
-
type: 'earthquake-nankai';
|
|
7
|
-
version: '1.0.0';
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface EarthquakeInfoKind extends Components.CodeName {
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface EarthquakeInfo {
|
|
14
|
-
kind?: EarthquakeInfoKind;
|
|
15
|
-
text: string;
|
|
16
|
-
appendix?: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export interface PublicBody {
|
|
21
|
-
earthquakeInfo?: EarthquakeInfo;
|
|
22
|
-
nextAdvisory?: string;
|
|
23
|
-
text?: string;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface CancelBody {
|
|
27
|
-
text: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface PublicVYSE50 extends TelegramJSONMain {
|
|
31
|
-
_schema: Schema;
|
|
32
|
-
type: '南海トラフ地震臨時情報';
|
|
33
|
-
title: string;
|
|
34
|
-
infoType: '発表' | '訂正';
|
|
35
|
-
targetDateTimeDubious?: never;
|
|
36
|
-
targetDuration?: never;
|
|
37
|
-
validDateTime?: never;
|
|
38
|
-
eventId: string;
|
|
39
|
-
serialNo: null;
|
|
40
|
-
infoKind: '南海トラフ地震に関連する情報';
|
|
41
|
-
body: PublicBody;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface PublicVYSE51 extends TelegramJSONMain {
|
|
45
|
-
_schema: Schema;
|
|
46
|
-
type: '南海トラフ地震関連解説情報';
|
|
47
|
-
title: string;
|
|
48
|
-
infoType: '発表' | '訂正';
|
|
49
|
-
targetDateTimeDubious?: never;
|
|
50
|
-
targetDuration?: never;
|
|
51
|
-
validDateTime?: never;
|
|
52
|
-
eventId: string;
|
|
53
|
-
serialNo: string;
|
|
54
|
-
infoKind: '南海トラフ地震に関連する情報';
|
|
55
|
-
body: PublicBody;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface PublicVYSE52 extends TelegramJSONMain {
|
|
59
|
-
_schema: Schema;
|
|
60
|
-
type: '南海トラフ地震関連解説情報';
|
|
61
|
-
title: string;
|
|
62
|
-
infoType: '発表' | '訂正';
|
|
63
|
-
targetDateTimeDubious?: never;
|
|
64
|
-
targetDuration?: never;
|
|
65
|
-
validDateTime?: never;
|
|
66
|
-
eventId: string;
|
|
67
|
-
serialNo: null;
|
|
68
|
-
infoKind: '南海トラフ地震に関連する情報';
|
|
69
|
-
body: PublicBody;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface PublicVYSE60 extends TelegramJSONMain {
|
|
73
|
-
_schema: Schema;
|
|
74
|
-
type: '北海道・三陸沖後発地震注意情報';
|
|
75
|
-
title: string;
|
|
76
|
-
infoType: '発表' | '訂正';
|
|
77
|
-
targetDateTimeDubious?: never;
|
|
78
|
-
targetDuration?: never;
|
|
79
|
-
validDateTime?: never;
|
|
80
|
-
eventId: string;
|
|
81
|
-
serialNo: null;
|
|
82
|
-
infoKind: '北海道・三陸沖後発地震注意情報';
|
|
83
|
-
body: PublicBody;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
export interface Cancel extends TelegramJSONMain {
|
|
88
|
-
_schema: Schema;
|
|
89
|
-
type: '南海トラフ地震臨時情報' | '南海トラフ地震関連解説情報' | '北海道・三陸沖後発地震注意情報';
|
|
90
|
-
title: string;
|
|
91
|
-
infoType: '取消';
|
|
92
|
-
targetDateTimeDubious?: never;
|
|
93
|
-
targetDuration?: never;
|
|
94
|
-
validDateTime?: never;
|
|
95
|
-
eventId: string;
|
|
96
|
-
infoKind: '南海トラフ地震に関連する情報' | '北海道・三陸沖後発地震注意情報';
|
|
97
|
-
body: CancelBody;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export type Main = PublicVYSE50 | PublicVYSE51 | PublicVYSE52 | PublicVYSE60 | Cancel;
|
|
101
|
-
}
|
|
1
|
+
import { TelegramJSONMain } from '../../main';
|
|
2
|
+
import { Components } from '../../component';
|
|
3
|
+
|
|
4
|
+
export namespace EarthquakeNankai {
|
|
5
|
+
export interface Schema {
|
|
6
|
+
type: 'earthquake-nankai';
|
|
7
|
+
version: '1.0.0';
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface EarthquakeInfoKind extends Components.CodeName {
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface EarthquakeInfo {
|
|
14
|
+
kind?: EarthquakeInfoKind;
|
|
15
|
+
text: string;
|
|
16
|
+
appendix?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export interface PublicBody {
|
|
21
|
+
earthquakeInfo?: EarthquakeInfo;
|
|
22
|
+
nextAdvisory?: string;
|
|
23
|
+
text?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface CancelBody {
|
|
27
|
+
text: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface PublicVYSE50 extends TelegramJSONMain {
|
|
31
|
+
_schema: Schema;
|
|
32
|
+
type: '南海トラフ地震臨時情報';
|
|
33
|
+
title: string;
|
|
34
|
+
infoType: '発表' | '訂正';
|
|
35
|
+
targetDateTimeDubious?: never;
|
|
36
|
+
targetDuration?: never;
|
|
37
|
+
validDateTime?: never;
|
|
38
|
+
eventId: string;
|
|
39
|
+
serialNo: null;
|
|
40
|
+
infoKind: '南海トラフ地震に関連する情報';
|
|
41
|
+
body: PublicBody;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface PublicVYSE51 extends TelegramJSONMain {
|
|
45
|
+
_schema: Schema;
|
|
46
|
+
type: '南海トラフ地震関連解説情報';
|
|
47
|
+
title: string;
|
|
48
|
+
infoType: '発表' | '訂正';
|
|
49
|
+
targetDateTimeDubious?: never;
|
|
50
|
+
targetDuration?: never;
|
|
51
|
+
validDateTime?: never;
|
|
52
|
+
eventId: string;
|
|
53
|
+
serialNo: string;
|
|
54
|
+
infoKind: '南海トラフ地震に関連する情報';
|
|
55
|
+
body: PublicBody;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface PublicVYSE52 extends TelegramJSONMain {
|
|
59
|
+
_schema: Schema;
|
|
60
|
+
type: '南海トラフ地震関連解説情報';
|
|
61
|
+
title: string;
|
|
62
|
+
infoType: '発表' | '訂正';
|
|
63
|
+
targetDateTimeDubious?: never;
|
|
64
|
+
targetDuration?: never;
|
|
65
|
+
validDateTime?: never;
|
|
66
|
+
eventId: string;
|
|
67
|
+
serialNo: null;
|
|
68
|
+
infoKind: '南海トラフ地震に関連する情報';
|
|
69
|
+
body: PublicBody;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface PublicVYSE60 extends TelegramJSONMain {
|
|
73
|
+
_schema: Schema;
|
|
74
|
+
type: '北海道・三陸沖後発地震注意情報';
|
|
75
|
+
title: string;
|
|
76
|
+
infoType: '発表' | '訂正';
|
|
77
|
+
targetDateTimeDubious?: never;
|
|
78
|
+
targetDuration?: never;
|
|
79
|
+
validDateTime?: never;
|
|
80
|
+
eventId: string;
|
|
81
|
+
serialNo: null;
|
|
82
|
+
infoKind: '北海道・三陸沖後発地震注意情報';
|
|
83
|
+
body: PublicBody;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
export interface Cancel extends TelegramJSONMain {
|
|
88
|
+
_schema: Schema;
|
|
89
|
+
type: '南海トラフ地震臨時情報' | '南海トラフ地震関連解説情報' | '北海道・三陸沖後発地震注意情報';
|
|
90
|
+
title: string;
|
|
91
|
+
infoType: '取消';
|
|
92
|
+
targetDateTimeDubious?: never;
|
|
93
|
+
targetDuration?: never;
|
|
94
|
+
validDateTime?: never;
|
|
95
|
+
eventId: string;
|
|
96
|
+
infoKind: '南海トラフ地震に関連する情報' | '北海道・三陸沖後発地震注意情報';
|
|
97
|
+
body: CancelBody;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export type Main = PublicVYSE50 | PublicVYSE51 | PublicVYSE52 | PublicVYSE60 | Cancel;
|
|
101
|
+
}
|