@dmdata/telegram-json-types 1.0.8 → 1.0.9-jschema.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/LICENSE +21 -0
- package/README.md +60 -0
- package/dist/build.d.ts +1 -0
- package/dist/build.js +68 -0
- package/dist/config.d.ts +3 -0
- package/dist/config.js +7 -0
- 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 -0
- package/dist/jschema/earthquake-information_1.1.0.json +1 -0
- package/dist/jschema/earthquake-nankai_1.0.0.json +1 -0
- package/dist/jschema/eew-information_1.0.0.json +1 -0
- package/dist/jschema/tsunami-information_1.0.0.json +1 -0
- package/dist/jschema/volcano-information_1.0.0.json +1 -0
- package/dist/jschema/weather-typhoon_1.0.0.json +1 -0
- package/dist/jschema-load.d.ts +1 -0
- package/dist/jschema-load.js +44 -0
- package/index.d.ts +2 -1
- package/package.json +21 -11
- package/tsconfig.json +27 -15
- package/types/{schema/component → component}/coordinate.d.ts +15 -15
- package/types/{schema/component → component}/earthquake.d.ts +56 -56
- package/types/{schema/component → component}/unit-value.d.ts +13 -13
- package/types/index.d.ts +21 -3
- 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 +165 -0
- package/types/schema/{earthquake-information.d.ts → earthquake-information/1.1.0.d.ts} +212 -177
- package/types/schema/earthquake-information/index.d.ts +9 -0
- 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 +176 -0
- package/types/schema/eew-information/index.d.ts +7 -0
- package/types/schema/{tsunami-information.d.ts → tsunami-information/1.0.0.d.ts} +243 -229
- package/types/schema/tsunami-information/index.d.ts +7 -0
- 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.d.ts → weather-typhoon/1.0.0.d.ts} +124 -117
- package/types/schema/weather-typhoon/index.d.ts +7 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { TelegramJSONMain } from '@t/main';
|
|
2
|
+
import { Earthquake } from '@t/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
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { TelegramJSONMain } from '@t/main';
|
|
2
|
+
import { Earthquake } from '@t/component/earthquake';
|
|
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
|
+
|
|
12
|
+
export type IntensityMaxInt = {
|
|
13
|
+
name: string;
|
|
14
|
+
code: string;
|
|
15
|
+
maxInt: IntensityClass;
|
|
16
|
+
};
|
|
17
|
+
export type IntensityMaxIntOnRevise = {
|
|
18
|
+
name: string;
|
|
19
|
+
code: string;
|
|
20
|
+
maxInt?: IntensityClass;
|
|
21
|
+
revise?: '上方修正' | '追加';
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type IntensityCity = {
|
|
25
|
+
name: string;
|
|
26
|
+
code: string;
|
|
27
|
+
maxInt?: IntensityClass;
|
|
28
|
+
revise?: '上方修正' | '追加';
|
|
29
|
+
condition?: '震度5弱以上未入電';
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type IntensityStation = {
|
|
33
|
+
name: string;
|
|
34
|
+
code: string;
|
|
35
|
+
int: IntensityClass | '!5-';
|
|
36
|
+
revise?: '上方修正' | '追加';
|
|
37
|
+
condition?: '震度5弱以上未入電';
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export type Comment = {
|
|
41
|
+
free?: string;
|
|
42
|
+
forecast?: {
|
|
43
|
+
text: string;
|
|
44
|
+
codes: string[];
|
|
45
|
+
};
|
|
46
|
+
var?: {
|
|
47
|
+
text: string;
|
|
48
|
+
codes: string[];
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
export type IntensityVXSE51 = {
|
|
54
|
+
maxInt: IntensityClass;
|
|
55
|
+
prefectures: IntensityMaxInt[];
|
|
56
|
+
regions: IntensityMaxInt[];
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type IntensityVXSE53 = {
|
|
60
|
+
maxInt: IntensityClass;
|
|
61
|
+
prefectures: IntensityMaxIntOnRevise[];
|
|
62
|
+
regions: IntensityMaxIntOnRevise[];
|
|
63
|
+
cities: IntensityCity[];
|
|
64
|
+
stations: IntensityStation[];
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
export interface PublicBodyVXSE51 {
|
|
69
|
+
intensity: IntensityVXSE51;
|
|
70
|
+
text?: string;
|
|
71
|
+
comments: Omit<Comment, 'var'>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface PublicBodyVXSE52 {
|
|
75
|
+
earthquake: Earthquake;
|
|
76
|
+
text?: string;
|
|
77
|
+
comments: Omit<Comment, 'var'>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface PublicBodyVXSE53 {
|
|
81
|
+
earthquake: Earthquake;
|
|
82
|
+
intensity?: IntensityVXSE53;
|
|
83
|
+
text?: string;
|
|
84
|
+
comments: Comment;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface PublicBodyVXZSE40 {
|
|
88
|
+
text: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export interface CancelBody {
|
|
92
|
+
text: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface PublicVXSE51 extends TelegramJSONMain {
|
|
96
|
+
_schema: Schema;
|
|
97
|
+
type: '震度速報';
|
|
98
|
+
title: '震度速報';
|
|
99
|
+
infoType: '発表' | '訂正';
|
|
100
|
+
targetDateTimeDubious: never;
|
|
101
|
+
targetDuration: never;
|
|
102
|
+
validDateTime: never;
|
|
103
|
+
eventId: string;
|
|
104
|
+
serialNo: null;
|
|
105
|
+
infoKind: '震度速報';
|
|
106
|
+
body: PublicBodyVXSE51;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export interface PublicVXSE52 extends TelegramJSONMain {
|
|
110
|
+
_schema: Schema;
|
|
111
|
+
type: '震源に関する情報';
|
|
112
|
+
title: '震源に関する情報';
|
|
113
|
+
infoType: '発表' | '訂正';
|
|
114
|
+
targetDateTimeDubious: never;
|
|
115
|
+
targetDuration: never;
|
|
116
|
+
validDateTime: never;
|
|
117
|
+
eventId: string;
|
|
118
|
+
serialNo: null;
|
|
119
|
+
infoKind: '震源速報';
|
|
120
|
+
body: PublicBodyVXSE52;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface PublicVXSE53 extends TelegramJSONMain {
|
|
124
|
+
_schema: Schema;
|
|
125
|
+
type: '震源・震度に関する情報';
|
|
126
|
+
title: '震源・震度情報' | '遠地地震に関する情報';
|
|
127
|
+
infoType: '発表' | '訂正';
|
|
128
|
+
targetDateTimeDubious: never;
|
|
129
|
+
targetDuration: never;
|
|
130
|
+
validDateTime: never;
|
|
131
|
+
eventId: string;
|
|
132
|
+
serialNo: string;
|
|
133
|
+
infoKind: '地震情報';
|
|
134
|
+
body: PublicBodyVXSE53;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface PublicVZSE40 extends TelegramJSONMain {
|
|
138
|
+
_schema: Schema;
|
|
139
|
+
type: '地震・津波に関するお知らせ';
|
|
140
|
+
title: '地震・津波に関するお知らせ';
|
|
141
|
+
infoType: '発表' | '訂正';
|
|
142
|
+
targetDateTimeDubious: never;
|
|
143
|
+
targetDuration: never;
|
|
144
|
+
validDateTime: never;
|
|
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: '震度速報' | '震源に関する情報' | '震源・震度情報' | '遠地地震に関する情報' | '地震・津波に関するお知らせ';
|
|
155
|
+
infoType: '取消';
|
|
156
|
+
targetDateTimeDubious: never;
|
|
157
|
+
targetDuration: never;
|
|
158
|
+
validDateTime: never;
|
|
159
|
+
eventId: string;
|
|
160
|
+
infoKind: '震度速報' | '震源速報' | '地震情報' | '地震・津波に関するお知らせ';
|
|
161
|
+
body: CancelBody;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53 | PublicVZSE40) | Cancel;
|
|
165
|
+
}
|
|
@@ -1,177 +1,212 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { UnitValueNotNull } from '
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export type
|
|
13
|
-
export type
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
infoType: '発表' | '訂正';
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
1
|
+
import { TelegramJSONMain } from '@t/main';
|
|
2
|
+
import { Earthquake } from '@t/component/earthquake';
|
|
3
|
+
import { UnitValueNotNull } from '@t/component/unit-value';
|
|
4
|
+
|
|
5
|
+
export namespace EarthquakeInformation {
|
|
6
|
+
export interface Schema {
|
|
7
|
+
type: 'earthquake-information';
|
|
8
|
+
version: '1.1.0';
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type IntensityClass = '1' | '2' | '3' | '4' | '5-' | '5+' | '6-' | '6+' | '7';
|
|
12
|
+
export type LpgmIntensityClass = '0' | '1' | '2' | '3' | '4';
|
|
13
|
+
export type LpgmCategory = '1' | '2' | '3' | '4';
|
|
14
|
+
|
|
15
|
+
export type IntensityMaxInt = {
|
|
16
|
+
name: string;
|
|
17
|
+
code: string;
|
|
18
|
+
maxInt: IntensityClass;
|
|
19
|
+
};
|
|
20
|
+
export type IntensityMaxIntOnRevise = {
|
|
21
|
+
name: string;
|
|
22
|
+
code: string;
|
|
23
|
+
maxInt?: IntensityClass;
|
|
24
|
+
revise?: '上方修正' | '追加';
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type IntensityCity = {
|
|
28
|
+
name: string;
|
|
29
|
+
code: string;
|
|
30
|
+
maxInt?: IntensityClass;
|
|
31
|
+
revise?: '上方修正' | '追加';
|
|
32
|
+
condition?: '震度5弱以上未入電';
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export type IntensityStation = {
|
|
36
|
+
name: string;
|
|
37
|
+
code: string;
|
|
38
|
+
int: IntensityClass | '!5-';
|
|
39
|
+
revise?: '上方修正' | '追加';
|
|
40
|
+
condition?: '震度5弱以上未入電';
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export type IntensityLpgmMaxInt = IntensityMaxIntOnRevise & {
|
|
44
|
+
maxLpgmInt: LpgmIntensityClass;
|
|
45
|
+
};
|
|
46
|
+
export type IntensityLpgmStationPrePeriod = {
|
|
47
|
+
periodicBand: UnitValueNotNull<never, '秒台'>;
|
|
48
|
+
lpgmInt: LpgmIntensityClass;
|
|
49
|
+
sva: UnitValueNotNull<never, 'cm/s'>;
|
|
50
|
+
};
|
|
51
|
+
export type IntensityLpgmStation = IntensityStation & {
|
|
52
|
+
lpgmInt: LpgmIntensityClass;
|
|
53
|
+
sva: UnitValueNotNull<never, 'cm/s'>;
|
|
54
|
+
prePeriods: IntensityLpgmStationPrePeriod[];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type Comment = {
|
|
58
|
+
free?: string;
|
|
59
|
+
forecast?: {
|
|
60
|
+
text: string;
|
|
61
|
+
codes: string[];
|
|
62
|
+
};
|
|
63
|
+
var?: {
|
|
64
|
+
text: string;
|
|
65
|
+
codes: string[];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
export type IntensityVXSE51 = {
|
|
71
|
+
maxInt: IntensityClass;
|
|
72
|
+
prefectures: IntensityMaxInt[];
|
|
73
|
+
regions: IntensityMaxInt[];
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export type IntensityVXSE53 = {
|
|
77
|
+
maxInt: IntensityClass;
|
|
78
|
+
prefectures: IntensityMaxIntOnRevise[];
|
|
79
|
+
regions: IntensityMaxIntOnRevise[];
|
|
80
|
+
cities: IntensityCity[];
|
|
81
|
+
stations: IntensityStation[];
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type IntensityVXSE62 = {
|
|
85
|
+
maxInt: IntensityClass;
|
|
86
|
+
maxLpgmInt: LpgmIntensityClass;
|
|
87
|
+
lpgmCategory: LpgmCategory;
|
|
88
|
+
prefectures: IntensityLpgmMaxInt[];
|
|
89
|
+
regions: IntensityLpgmMaxInt[];
|
|
90
|
+
stations: IntensityLpgmStation[];
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
export interface PublicBodyVXSE51 {
|
|
95
|
+
intensity: IntensityVXSE51;
|
|
96
|
+
text?: string;
|
|
97
|
+
comments: Omit<Comment, 'var'>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export interface PublicBodyVXSE52 {
|
|
101
|
+
earthquake: Earthquake;
|
|
102
|
+
text?: string;
|
|
103
|
+
comments: Omit<Comment, 'var'>;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface PublicBodyVXSE53 {
|
|
107
|
+
earthquake: Earthquake;
|
|
108
|
+
intensity?: IntensityVXSE53;
|
|
109
|
+
text?: string;
|
|
110
|
+
comments: Comment;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface PublicBodyVXSE62 {
|
|
114
|
+
earthquake: Earthquake;
|
|
115
|
+
intensity?: IntensityVXSE62;
|
|
116
|
+
text?: string;
|
|
117
|
+
comments: Comment;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export interface PublicBodyVXZSE40 {
|
|
121
|
+
text: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface CancelBody {
|
|
125
|
+
text: string;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export interface PublicVXSE51 extends TelegramJSONMain {
|
|
129
|
+
_schema: Schema;
|
|
130
|
+
type: '震度速報';
|
|
131
|
+
title: '震度速報';
|
|
132
|
+
infoType: '発表' | '訂正';
|
|
133
|
+
targetDateTimeDubious: never;
|
|
134
|
+
targetDuration: never;
|
|
135
|
+
validDateTime: never;
|
|
136
|
+
eventId: string;
|
|
137
|
+
serialNo: null;
|
|
138
|
+
infoKind: '震度速報';
|
|
139
|
+
body: PublicBodyVXSE51;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface PublicVXSE52 extends TelegramJSONMain {
|
|
143
|
+
_schema: Schema;
|
|
144
|
+
type: '震源に関する情報';
|
|
145
|
+
title: '震源に関する情報';
|
|
146
|
+
infoType: '発表' | '訂正';
|
|
147
|
+
targetDateTimeDubious: never;
|
|
148
|
+
targetDuration: never;
|
|
149
|
+
validDateTime: never;
|
|
150
|
+
eventId: string;
|
|
151
|
+
serialNo: null;
|
|
152
|
+
infoKind: '震源速報';
|
|
153
|
+
body: PublicBodyVXSE52;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export interface PublicVXSE53 extends TelegramJSONMain {
|
|
157
|
+
_schema: Schema;
|
|
158
|
+
type: '震源・震度に関する情報';
|
|
159
|
+
title: '震源・震度情報' | '遠地地震に関する情報';
|
|
160
|
+
infoType: '発表' | '訂正';
|
|
161
|
+
targetDateTimeDubious: never;
|
|
162
|
+
targetDuration: never;
|
|
163
|
+
validDateTime: never;
|
|
164
|
+
eventId: string;
|
|
165
|
+
serialNo: string;
|
|
166
|
+
infoKind: '地震情報';
|
|
167
|
+
body: PublicBodyVXSE53;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export interface PublicVXSE62 extends TelegramJSONMain {
|
|
171
|
+
_schema: Schema;
|
|
172
|
+
type: '長周期地震動に関する観測情報';
|
|
173
|
+
title: '長周期地震動に関する観測情報';
|
|
174
|
+
infoType: '発表' | '訂正';
|
|
175
|
+
targetDateTimeDubious: never;
|
|
176
|
+
targetDuration: never;
|
|
177
|
+
validDateTime: never;
|
|
178
|
+
eventId: string;
|
|
179
|
+
serialNo: string;
|
|
180
|
+
infoKind: '長周期地震動に関する観測情報';
|
|
181
|
+
body: PublicBodyVXSE62;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface PublicVZSE40 extends TelegramJSONMain {
|
|
185
|
+
_schema: Schema;
|
|
186
|
+
type: '地震・津波に関するお知らせ';
|
|
187
|
+
title: '地震・津波に関するお知らせ';
|
|
188
|
+
infoType: '発表' | '訂正';
|
|
189
|
+
targetDateTimeDubious: never;
|
|
190
|
+
targetDuration: never;
|
|
191
|
+
validDateTime: never;
|
|
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: '震度速報' | '震源に関する情報' | '震源・震度情報' | '遠地地震に関する情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
202
|
+
infoType: '取消';
|
|
203
|
+
targetDateTimeDubious: never;
|
|
204
|
+
targetDuration: never;
|
|
205
|
+
validDateTime: never;
|
|
206
|
+
eventId: string;
|
|
207
|
+
infoKind: '震度速報' | '震源速報' | '地震情報' | '長周期地震動に関する観測情報' | '地震・津波に関するお知らせ';
|
|
208
|
+
body: CancelBody;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53 | PublicVXSE62 | PublicVZSE40) | Cancel;
|
|
212
|
+
}
|