@dmdata/telegram-json-types 1.0.9-jschema.1 → 1.0.9-jschema.2
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/jschema/earthquake-counts_1.0.0.json +1 -0
- package/dist/jschema/earthquake-explanation_1.0.0.json +1 -0
- package/dist/jschema/earthquake-hypocenter-update_1.0.0.json +1 -0
- 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 -0
- package/dist/jschema/eew-information_1.0.0.json +1 -1
- package/dist/jschema/tsunami-information_1.0.0.json +1 -1
- package/dist/jschema/volcano-information_1.0.0.json +1 -0
- package/dist/jschema/weather-typhoon_1.0.0.json +1 -1
- package/package.json +1 -1
- package/tsconfig.json +5 -0
- package/types/component/coordinate.d.ts +2 -2
- package/types/component/unit-value.d.ts +13 -13
- package/types/index.d.ts +11 -1
- package/types/schema/earthquake-counts/1.0.0.d.ts +69 -0
- package/types/schema/earthquake-counts/index.d.ts +7 -0
- package/types/schema/earthquake-explanation/1.0.0.d.ts +57 -0
- package/types/schema/earthquake-explanation/index.d.ts +7 -0
- package/types/schema/earthquake-hypocenter-update/1.0.0.d.ts +53 -0
- package/types/schema/earthquake-hypocenter-update/index.d.ts +7 -0
- package/types/schema/earthquake-information/1.0.0.d.ts +45 -15
- package/types/schema/earthquake-information/1.1.0.d.ts +48 -15
- package/types/schema/earthquake-information/index.d.ts +0 -2
- package/types/schema/earthquake-nankai/1.0.0.d.ts +87 -0
- package/types/schema/earthquake-nankai/index.d.ts +7 -0
- package/types/schema/eew-information/1.0.0.d.ts +22 -13
- package/types/schema/eew-information/index.d.ts +0 -2
- package/types/schema/tsunami-information/1.0.0.d.ts +25 -12
- package/types/schema/tsunami-information/index.d.ts +0 -2
- package/types/schema/volcano-information/1.0.0.d.ts +449 -0
- package/types/schema/volcano-information/index.d.ts +7 -0
- package/types/schema/weather-typhoon/1.0.0.d.ts +5 -3
- package/types/schema/weather-typhoon/index.d.ts +0 -2
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { TelegramJSONMain } from '@/types/main';
|
|
2
|
+
|
|
3
|
+
export namespace EarthquakeExplanation {
|
|
4
|
+
export interface Schema {
|
|
5
|
+
type: 'earthquake-explanation';
|
|
6
|
+
version: '1.0.0';
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface Naming {
|
|
10
|
+
text: string;
|
|
11
|
+
en?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface Comments {
|
|
15
|
+
free: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface PublicBody {
|
|
19
|
+
naming?: Naming;
|
|
20
|
+
text: string;
|
|
21
|
+
comments?: Comments;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface CancelBody {
|
|
25
|
+
text: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface Public extends TelegramJSONMain {
|
|
29
|
+
_schema: Schema;
|
|
30
|
+
type: '地震の活動状況等に関する情報';
|
|
31
|
+
title: '地震の活動状況等に関する情報';
|
|
32
|
+
infoType: '発表' | '訂正';
|
|
33
|
+
targetDateTimeDubious: never;
|
|
34
|
+
targetDuration: never;
|
|
35
|
+
validDateTime: never;
|
|
36
|
+
eventId: string;
|
|
37
|
+
serialNo: null;
|
|
38
|
+
infoKind: '地震の活動状況等に関する情報';
|
|
39
|
+
body: PublicBody;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface Cancel extends TelegramJSONMain {
|
|
43
|
+
_schema: Schema;
|
|
44
|
+
type: '地震の活動状況等に関する情報';
|
|
45
|
+
title: '地震の活動状況等に関する情報';
|
|
46
|
+
infoType: '取消';
|
|
47
|
+
targetDateTimeDubious: never;
|
|
48
|
+
targetDuration: never;
|
|
49
|
+
validDateTime: never;
|
|
50
|
+
eventId: string;
|
|
51
|
+
serialNo: null;
|
|
52
|
+
infoKind: '地震の活動状況等に関する情報';
|
|
53
|
+
body: CancelBody;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type Main = Public | Cancel;
|
|
57
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { TelegramJSONMain } from '../../main';
|
|
2
|
+
import { Earthquake } from '../../component/earthquake';
|
|
3
|
+
|
|
4
|
+
export namespace EarthquakeHypocenterUpdate {
|
|
5
|
+
export interface Schema {
|
|
6
|
+
type: 'earthquake-hypocenter-update';
|
|
7
|
+
version: '1.0.0';
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface Comments {
|
|
11
|
+
free: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface PublicBody {
|
|
15
|
+
earthquake: Earthquake;
|
|
16
|
+
text: string;
|
|
17
|
+
comments?: Comments;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface CancelBody {
|
|
21
|
+
text: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface Public extends TelegramJSONMain {
|
|
25
|
+
_schema: Schema;
|
|
26
|
+
type: '顕著な地震の震源要素更新のお知らせ';
|
|
27
|
+
title: '顕著な地震の震源要素更新のお知らせ';
|
|
28
|
+
infoType: '発表' | '訂正';
|
|
29
|
+
targetDateTimeDubious: never;
|
|
30
|
+
targetDuration: never;
|
|
31
|
+
validDateTime: never;
|
|
32
|
+
eventId: string;
|
|
33
|
+
serialNo: null;
|
|
34
|
+
infoKind: '震源要素更新のお知らせ';
|
|
35
|
+
body: PublicBody;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface Cancel extends TelegramJSONMain {
|
|
39
|
+
_schema: Schema;
|
|
40
|
+
type: '顕著な地震の震源要素更新のお知らせ';
|
|
41
|
+
title: '顕著な地震の震源要素更新のお知らせ';
|
|
42
|
+
infoType: '取消';
|
|
43
|
+
targetDateTimeDubious: never;
|
|
44
|
+
targetDuration: never;
|
|
45
|
+
validDateTime: never;
|
|
46
|
+
eventId: string;
|
|
47
|
+
serialNo: null;
|
|
48
|
+
infoKind: '震源要素更新のお知らせ';
|
|
49
|
+
body: CancelBody;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type Main = Public | Cancel;
|
|
53
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { TelegramJSONMain } from '@/types/main';
|
|
2
|
+
import { Earthquake } from '@/types/component/earthquake';
|
|
3
3
|
|
|
4
4
|
export namespace EarthquakeInformation {
|
|
5
5
|
export interface Schema {
|
|
@@ -84,7 +84,11 @@ export namespace EarthquakeInformation {
|
|
|
84
84
|
comments: Comment;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
export interface
|
|
87
|
+
export interface PublicBodyVXZSE40 {
|
|
88
|
+
text: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export interface CancelBody {
|
|
88
92
|
text: string;
|
|
89
93
|
}
|
|
90
94
|
|
|
@@ -92,10 +96,13 @@ export namespace EarthquakeInformation {
|
|
|
92
96
|
_schema: Schema;
|
|
93
97
|
type: '震度速報';
|
|
94
98
|
title: '震度速報';
|
|
95
|
-
|
|
99
|
+
infoType: '発表' | '訂正';
|
|
100
|
+
targetDateTimeDubious: never;
|
|
101
|
+
targetDuration: never;
|
|
102
|
+
validDateTime: never;
|
|
96
103
|
eventId: string;
|
|
97
104
|
serialNo: null;
|
|
98
|
-
|
|
105
|
+
infoKind: '震度速報';
|
|
99
106
|
body: PublicBodyVXSE51;
|
|
100
107
|
}
|
|
101
108
|
|
|
@@ -103,10 +110,13 @@ export namespace EarthquakeInformation {
|
|
|
103
110
|
_schema: Schema;
|
|
104
111
|
type: '震源に関する情報';
|
|
105
112
|
title: '震源に関する情報';
|
|
106
|
-
|
|
113
|
+
infoType: '発表' | '訂正';
|
|
114
|
+
targetDateTimeDubious: never;
|
|
115
|
+
targetDuration: never;
|
|
116
|
+
validDateTime: never;
|
|
107
117
|
eventId: string;
|
|
108
118
|
serialNo: null;
|
|
109
|
-
|
|
119
|
+
infoKind: '震源速報';
|
|
110
120
|
body: PublicBodyVXSE52;
|
|
111
121
|
}
|
|
112
122
|
|
|
@@ -114,22 +124,42 @@ export namespace EarthquakeInformation {
|
|
|
114
124
|
_schema: Schema;
|
|
115
125
|
type: '震源・震度に関する情報';
|
|
116
126
|
title: '震源・震度情報' | '遠地地震に関する情報';
|
|
117
|
-
|
|
127
|
+
infoType: '発表' | '訂正';
|
|
128
|
+
targetDateTimeDubious: never;
|
|
129
|
+
targetDuration: never;
|
|
130
|
+
validDateTime: never;
|
|
118
131
|
eventId: string;
|
|
119
132
|
serialNo: string;
|
|
120
|
-
|
|
133
|
+
infoKind: '地震情報';
|
|
121
134
|
body: PublicBodyVXSE53;
|
|
122
135
|
}
|
|
123
136
|
|
|
124
|
-
export interface
|
|
137
|
+
export interface PublicVZSE40 extends TelegramJSONMain {
|
|
125
138
|
_schema: Schema;
|
|
126
|
-
type: '
|
|
127
|
-
title: '
|
|
128
|
-
|
|
139
|
+
type: '地震・津波に関するお知らせ';
|
|
140
|
+
title: '地震・津波に関するお知らせ';
|
|
141
|
+
infoType: '発表' | '訂正';
|
|
142
|
+
targetDateTimeDubious: never;
|
|
143
|
+
targetDuration: never;
|
|
144
|
+
validDateTime: never;
|
|
129
145
|
eventId: string;
|
|
146
|
+
serialNo: null;
|
|
147
|
+
infoKind: '地震・津波に関するお知らせ';
|
|
148
|
+
body: PublicBodyVXZSE40;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export interface Cancel extends TelegramJSONMain {
|
|
152
|
+
_schema: Schema;
|
|
153
|
+
type: '震度速報' | '震源に関する情報' | '震源・震度に関する情報' | '地震・津波に関するお知らせ';
|
|
154
|
+
title: '震度速報' | '震源に関する情報' | '震源・震度情報' | '遠地地震に関する情報' | '地震・津波に関するお知らせ';
|
|
130
155
|
infoType: '取消';
|
|
131
|
-
|
|
156
|
+
targetDateTimeDubious: never;
|
|
157
|
+
targetDuration: never;
|
|
158
|
+
validDateTime: never;
|
|
159
|
+
eventId: string;
|
|
160
|
+
infoKind: '震度速報' | '震源速報' | '地震情報' | '地震・津波に関するお知らせ';
|
|
161
|
+
body: CancelBody;
|
|
132
162
|
}
|
|
133
163
|
|
|
134
|
-
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53) |
|
|
164
|
+
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53 | PublicVZSE40) | Cancel;
|
|
135
165
|
}
|
|
@@ -117,7 +117,11 @@ export namespace EarthquakeInformation {
|
|
|
117
117
|
comments: Comment;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export interface
|
|
120
|
+
export interface PublicBodyVXZSE40 {
|
|
121
|
+
text: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface CancelBody {
|
|
121
125
|
text: string;
|
|
122
126
|
}
|
|
123
127
|
|
|
@@ -125,10 +129,13 @@ export namespace EarthquakeInformation {
|
|
|
125
129
|
_schema: Schema;
|
|
126
130
|
type: '震度速報';
|
|
127
131
|
title: '震度速報';
|
|
128
|
-
|
|
132
|
+
infoType: '発表' | '訂正';
|
|
133
|
+
targetDateTimeDubious: never;
|
|
134
|
+
targetDuration: never;
|
|
135
|
+
validDateTime: never;
|
|
129
136
|
eventId: string;
|
|
130
137
|
serialNo: null;
|
|
131
|
-
|
|
138
|
+
infoKind: '震度速報';
|
|
132
139
|
body: PublicBodyVXSE51;
|
|
133
140
|
}
|
|
134
141
|
|
|
@@ -136,10 +143,13 @@ export namespace EarthquakeInformation {
|
|
|
136
143
|
_schema: Schema;
|
|
137
144
|
type: '震源に関する情報';
|
|
138
145
|
title: '震源に関する情報';
|
|
139
|
-
|
|
146
|
+
infoType: '発表' | '訂正';
|
|
147
|
+
targetDateTimeDubious: never;
|
|
148
|
+
targetDuration: never;
|
|
149
|
+
validDateTime: never;
|
|
140
150
|
eventId: string;
|
|
141
151
|
serialNo: null;
|
|
142
|
-
|
|
152
|
+
infoKind: '震源速報';
|
|
143
153
|
body: PublicBodyVXSE52;
|
|
144
154
|
}
|
|
145
155
|
|
|
@@ -147,10 +157,13 @@ export namespace EarthquakeInformation {
|
|
|
147
157
|
_schema: Schema;
|
|
148
158
|
type: '震源・震度に関する情報';
|
|
149
159
|
title: '震源・震度情報' | '遠地地震に関する情報';
|
|
150
|
-
|
|
160
|
+
infoType: '発表' | '訂正';
|
|
161
|
+
targetDateTimeDubious: never;
|
|
162
|
+
targetDuration: never;
|
|
163
|
+
validDateTime: never;
|
|
151
164
|
eventId: string;
|
|
152
165
|
serialNo: string;
|
|
153
|
-
|
|
166
|
+
infoKind: '地震情報';
|
|
154
167
|
body: PublicBodyVXSE53;
|
|
155
168
|
}
|
|
156
169
|
|
|
@@ -158,22 +171,42 @@ export namespace EarthquakeInformation {
|
|
|
158
171
|
_schema: Schema;
|
|
159
172
|
type: '長周期地震動に関する観測情報';
|
|
160
173
|
title: '長周期地震動に関する観測情報';
|
|
161
|
-
|
|
174
|
+
infoType: '発表' | '訂正';
|
|
175
|
+
targetDateTimeDubious: never;
|
|
176
|
+
targetDuration: never;
|
|
177
|
+
validDateTime: never;
|
|
162
178
|
eventId: string;
|
|
163
179
|
serialNo: string;
|
|
164
|
-
|
|
180
|
+
infoKind: '長周期地震動に関する観測情報';
|
|
165
181
|
body: PublicBodyVXSE62;
|
|
166
182
|
}
|
|
167
183
|
|
|
168
|
-
export interface
|
|
184
|
+
export interface PublicVZSE40 extends TelegramJSONMain {
|
|
169
185
|
_schema: Schema;
|
|
170
|
-
type: '
|
|
171
|
-
title: '
|
|
172
|
-
|
|
186
|
+
type: '地震・津波に関するお知らせ';
|
|
187
|
+
title: '地震・津波に関するお知らせ';
|
|
188
|
+
infoType: '発表' | '訂正';
|
|
189
|
+
targetDateTimeDubious: never;
|
|
190
|
+
targetDuration: never;
|
|
191
|
+
validDateTime: never;
|
|
173
192
|
eventId: string;
|
|
193
|
+
serialNo: null;
|
|
194
|
+
infoKind: '地震・津波に関するお知らせ';
|
|
195
|
+
body: PublicBodyVXZSE40;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export interface Cancel extends TelegramJSONMain {
|
|
199
|
+
_schema: Schema;
|
|
200
|
+
type: '震度速報' | '震源に関する情報' | '震源・震度に関する情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
201
|
+
title: '震度速報' | '震源に関する情報' | '震源・震度情報' | '遠地地震に関する情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
174
202
|
infoType: '取消';
|
|
175
|
-
|
|
203
|
+
targetDateTimeDubious: never;
|
|
204
|
+
targetDuration: never;
|
|
205
|
+
validDateTime: never;
|
|
206
|
+
eventId: string;
|
|
207
|
+
infoKind: '震度速報' | '震源速報' | '地震情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
208
|
+
body: CancelBody;
|
|
176
209
|
}
|
|
177
210
|
|
|
178
|
-
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53 | PublicVXSE62) |
|
|
211
|
+
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53 | PublicVXSE62 | PublicVZSE40) | Cancel;
|
|
179
212
|
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { TelegramJSONMain } from '@/types/main';
|
|
2
|
+
|
|
3
|
+
export namespace EarthquakeNankai {
|
|
4
|
+
export interface Schema {
|
|
5
|
+
type: 'earthquake-nankai';
|
|
6
|
+
version: '1.0.0';
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface EarthquakeInfoKind {
|
|
10
|
+
code: string;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface EarthquakeInfo {
|
|
15
|
+
kind?: EarthquakeInfoKind;
|
|
16
|
+
text: string;
|
|
17
|
+
appendix?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
export interface PublicBody {
|
|
22
|
+
earthquakeInfo?: EarthquakeInfo;
|
|
23
|
+
nextAdvisory?: string;
|
|
24
|
+
text?: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface CancelBody {
|
|
28
|
+
text: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface PublicVYSE50 extends TelegramJSONMain {
|
|
32
|
+
_schema: Schema;
|
|
33
|
+
type: '南海トラフ地震臨時情報';
|
|
34
|
+
title: string;
|
|
35
|
+
infoType: '発表' | '訂正';
|
|
36
|
+
targetDateTimeDubious: never;
|
|
37
|
+
targetDuration: never;
|
|
38
|
+
validDateTime: never;
|
|
39
|
+
eventId: string;
|
|
40
|
+
serialNo: null;
|
|
41
|
+
infoKind: '南海トラフ地震に関連する情報';
|
|
42
|
+
body: PublicBody;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface PublicVYSE51 extends TelegramJSONMain {
|
|
46
|
+
_schema: Schema;
|
|
47
|
+
type: '南海トラフ地震関連解説情報';
|
|
48
|
+
title: string;
|
|
49
|
+
infoType: '発表' | '訂正';
|
|
50
|
+
targetDateTimeDubious: never;
|
|
51
|
+
targetDuration: never;
|
|
52
|
+
validDateTime: never;
|
|
53
|
+
eventId: string;
|
|
54
|
+
serialNo: string;
|
|
55
|
+
infoKind: '南海トラフ地震に関連する情報';
|
|
56
|
+
body: PublicBody;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface PublicVYSE52 extends TelegramJSONMain {
|
|
60
|
+
_schema: Schema;
|
|
61
|
+
type: '南海トラフ地震関連解説情報';
|
|
62
|
+
title: string;
|
|
63
|
+
infoType: '発表' | '訂正';
|
|
64
|
+
targetDateTimeDubious: never;
|
|
65
|
+
targetDuration: never;
|
|
66
|
+
validDateTime: never;
|
|
67
|
+
eventId: string;
|
|
68
|
+
serialNo: null;
|
|
69
|
+
infoKind: '南海トラフ地震に関連する情報';
|
|
70
|
+
body: PublicBody;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface Cancel extends TelegramJSONMain {
|
|
74
|
+
_schema: Schema;
|
|
75
|
+
type: '南海トラフ地震臨時情報' | '南海トラフ地震関連解説情報';
|
|
76
|
+
title: string;
|
|
77
|
+
infoType: '取消';
|
|
78
|
+
targetDateTimeDubious: never;
|
|
79
|
+
targetDuration: never;
|
|
80
|
+
validDateTime: never;
|
|
81
|
+
eventId: string;
|
|
82
|
+
infoKind: '南海トラフ地震に関連する情報';
|
|
83
|
+
body: CancelBody;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export type Main = PublicVYSE50 | PublicVYSE51 | PublicVYSE52 | Cancel;
|
|
87
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TelegramJSONMain } from '
|
|
2
|
-
import { Coordinate } from '
|
|
3
|
-
import { UnitValueNotNull } from '
|
|
1
|
+
import { TelegramJSONMain } from '@/types/main';
|
|
2
|
+
import { Coordinate } from '@/types/component/coordinate';
|
|
3
|
+
import { UnitValueNotNull } from '@/types/component/unit-value';
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export namespace EewInformation {
|
|
@@ -124,7 +124,7 @@ export namespace EewInformation {
|
|
|
124
124
|
text: string;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
export interface
|
|
127
|
+
export interface CancelBody {
|
|
128
128
|
isLastInfo: true;
|
|
129
129
|
text: string;
|
|
130
130
|
}
|
|
@@ -133,10 +133,13 @@ export namespace EewInformation {
|
|
|
133
133
|
_schema: Schema;
|
|
134
134
|
type: '緊急地震速報(予報)' | '緊急地震速報(地震動予報)' | '緊急地震速報(警報)';
|
|
135
135
|
title: '緊急地震速報(予報)' | '緊急地震速報(地震動予報)' | '緊急地震速報(警報)';
|
|
136
|
-
|
|
136
|
+
infoType: '発表' | '訂正';
|
|
137
|
+
targetDateTimeDubious: never;
|
|
138
|
+
targetDuration: never;
|
|
139
|
+
validDateTime: never;
|
|
137
140
|
eventId: string;
|
|
138
141
|
serialNo: string;
|
|
139
|
-
|
|
142
|
+
infoKind: '緊急地震速報';
|
|
140
143
|
body: PublicCommonBody;
|
|
141
144
|
}
|
|
142
145
|
|
|
@@ -144,24 +147,30 @@ export namespace EewInformation {
|
|
|
144
147
|
_schema: Schema;
|
|
145
148
|
type: '緊急地震速報テスト';
|
|
146
149
|
title: '緊急地震速報テスト';
|
|
147
|
-
|
|
150
|
+
infoType: '発表' | '訂正';
|
|
151
|
+
targetDateTimeDubious: never;
|
|
152
|
+
targetDuration: never;
|
|
153
|
+
validDateTime: never;
|
|
148
154
|
eventId: string;
|
|
149
155
|
serialNo: string;
|
|
150
|
-
|
|
156
|
+
infoKind: '緊急地震速報';
|
|
151
157
|
body: PublicTesting;
|
|
152
158
|
}
|
|
153
159
|
|
|
154
|
-
export interface
|
|
160
|
+
export interface Cancel extends TelegramJSONMain {
|
|
155
161
|
_schema: Schema;
|
|
156
162
|
type: '緊急地震速報(予報)' | '緊急地震速報(地震動予報)' | '緊急地震速報(警報)' | '緊急地震速報テスト';
|
|
157
163
|
title: '緊急地震速報(予報)' | '緊急地震速報(地震動予報)' | '緊急地震速報(警報)' | '緊急地震速報テスト';
|
|
158
|
-
|
|
164
|
+
infoType: '取消';
|
|
165
|
+
targetDateTimeDubious: never;
|
|
166
|
+
targetDuration: never;
|
|
167
|
+
validDateTime: never;
|
|
159
168
|
eventId: string;
|
|
160
169
|
serialNo: string;
|
|
161
|
-
|
|
162
|
-
body:
|
|
170
|
+
infoKind: '緊急地震速報';
|
|
171
|
+
body: CancelBody;
|
|
163
172
|
}
|
|
164
173
|
|
|
165
|
-
export type Main = PublicCommon | PublicTesting |
|
|
174
|
+
export type Main = PublicCommon | PublicTesting | Cancel;
|
|
166
175
|
|
|
167
176
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { TelegramJSONMain } from '@/types/main';
|
|
2
|
+
import { Earthquake } from '@/types/component/earthquake';
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export namespace TsunamiInformation {
|
|
@@ -156,7 +156,7 @@ export namespace TsunamiInformation {
|
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
export interface
|
|
159
|
+
export interface CancelBody {
|
|
160
160
|
text: string;
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -186,10 +186,13 @@ export namespace TsunamiInformation {
|
|
|
186
186
|
_schema: Schema;
|
|
187
187
|
type: '津波警報・注意報・予報a';
|
|
188
188
|
title: string;
|
|
189
|
-
|
|
189
|
+
infoType: '発表' | '訂正';
|
|
190
|
+
targetDateTimeDubious: never;
|
|
191
|
+
targetDuration: never;
|
|
192
|
+
validDateTime?: string;
|
|
190
193
|
eventId: string;
|
|
191
194
|
serialNo: null;
|
|
192
|
-
|
|
195
|
+
infoKind: '津波警報・注意報・予報';
|
|
193
196
|
body: PublicBodyVTSE41;
|
|
194
197
|
}
|
|
195
198
|
|
|
@@ -197,10 +200,13 @@ export namespace TsunamiInformation {
|
|
|
197
200
|
_schema: Schema;
|
|
198
201
|
type: '津波情報a';
|
|
199
202
|
title: '各地の満潮時刻・津波到達予想時刻に関する情報' | '津波観測に関する情報';
|
|
200
|
-
|
|
203
|
+
infoType: '発表' | '訂正';
|
|
204
|
+
targetDateTimeDubious: never;
|
|
205
|
+
targetDuration: never;
|
|
206
|
+
validDateTime: never;
|
|
201
207
|
eventId: string;
|
|
202
208
|
serialNo: string;
|
|
203
|
-
|
|
209
|
+
infoKind:'津波情報';
|
|
204
210
|
body: PublicBodyVTSE51;
|
|
205
211
|
}
|
|
206
212
|
|
|
@@ -209,22 +215,29 @@ export namespace TsunamiInformation {
|
|
|
209
215
|
_schema: Schema;
|
|
210
216
|
type: '沖合の津波観測に関する情報';
|
|
211
217
|
title: '沖合の津波観測に関する情報';
|
|
212
|
-
|
|
218
|
+
infoType: '発表' | '訂正';
|
|
219
|
+
targetDateTimeDubious: never;
|
|
220
|
+
targetDuration: never;
|
|
221
|
+
validDateTime: never;
|
|
213
222
|
eventId: string;
|
|
214
223
|
serialNo: string;
|
|
215
|
-
|
|
224
|
+
infoKind: '津波情報';
|
|
216
225
|
body: PublicBodyVTSE52;
|
|
217
226
|
}
|
|
218
227
|
|
|
219
228
|
|
|
220
229
|
|
|
221
|
-
export interface
|
|
230
|
+
export interface Cancel extends TelegramJSONMain {
|
|
222
231
|
type: '大津波警報・津波警報・津波予報a' | '津波情報a' | '各地の満潮時刻・津波到達予想時刻に関する情報' | '津波観測に関する情報';
|
|
223
232
|
infoType: '取消';
|
|
233
|
+
targetDateTimeDubious: never;
|
|
234
|
+
targetDuration: never;
|
|
235
|
+
validDateTime: never;
|
|
224
236
|
eventId: string;
|
|
225
|
-
|
|
237
|
+
infoKind: '津波警報・注意報・予報'| '津波情報';
|
|
238
|
+
body: CancelBody;
|
|
226
239
|
}
|
|
227
240
|
|
|
228
|
-
export type Main = (PublicVTSE41 | PublicVTSE51 | PublicVTSE52) |
|
|
241
|
+
export type Main = (PublicVTSE41 | PublicVTSE51 | PublicVTSE52) | Cancel;
|
|
229
242
|
|
|
230
243
|
}
|