@dmdata/telegram-json-types 1.0.6 → 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.
- package/LICENSE +21 -0
- package/README.md +55 -0
- package/dist/build.d.ts +1 -0
- package/dist/build.js +63 -0
- package/dist/config.d.ts +2 -0
- package/dist/config.js +6 -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/eew-information_1.0.0.json +1 -0
- package/dist/jschema/tsunami-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/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 +0 -0
- package/types/index.d.ts +11 -2
- package/types/schema/earthquake-information/1.0.0.d.ts +135 -0
- package/types/schema/{earthquake-information.d.ts → earthquake-information/1.1.0.d.ts} +179 -177
- package/types/schema/earthquake-information/index.d.ts +11 -0
- package/types/schema/eew-information/1.0.0.d.ts +167 -0
- package/types/schema/eew-information/index.d.ts +9 -0
- package/types/schema/tsunami-information/1.0.0.d.ts +230 -0
- package/types/schema/tsunami-information/index.d.ts +9 -0
- package/types/schema/{weather-typhoon.d.ts → weather-typhoon/1.0.0.d.ts} +122 -117
- package/types/schema/weather-typhoon/index.d.ts +9 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
import { Coordinate } from './coordinate';
|
|
2
|
-
import { UnitValueNotNull } from './unit-value';
|
|
3
|
-
|
|
4
|
-
type Depth = {
|
|
5
|
-
type: '深さ';
|
|
6
|
-
unit: 'km';
|
|
7
|
-
} & ({
|
|
8
|
-
value: null;
|
|
9
|
-
condition: '不明';
|
|
10
|
-
} | {
|
|
11
|
-
value: '0';
|
|
12
|
-
condition: 'ごく浅い';
|
|
13
|
-
} | {
|
|
14
|
-
value: '700';
|
|
15
|
-
condition: '700km以上';
|
|
16
|
-
} | {
|
|
17
|
-
value: string;
|
|
18
|
-
condition:
|
|
19
|
-
});
|
|
20
|
-
type Magnitude = {
|
|
21
|
-
type: 'マグニチュード';
|
|
22
|
-
unit: 'Mj' | 'M';
|
|
23
|
-
} & ({
|
|
24
|
-
value: null;
|
|
25
|
-
condition: 'M不明' | 'M8を超える巨大地震';
|
|
26
|
-
} | {
|
|
27
|
-
value: string;
|
|
28
|
-
condition:
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
export interface Earthquake {
|
|
32
|
-
originTime: string;
|
|
33
|
-
arrivalTime: string;
|
|
34
|
-
hypocenter: {
|
|
35
|
-
name: string;
|
|
36
|
-
code: string;
|
|
37
|
-
coordinate: Coordinate<'日本測地系' | undefined>;
|
|
38
|
-
depth: Depth;
|
|
39
|
-
detailed?: {
|
|
40
|
-
code: string;
|
|
41
|
-
name: string;
|
|
42
|
-
};
|
|
43
|
-
auxiliary?: {
|
|
44
|
-
text: string;
|
|
45
|
-
code: string;
|
|
46
|
-
name: string;
|
|
47
|
-
direction: string;
|
|
48
|
-
distance: Omit<UnitValueNotNull<never, 'km'>, 'type' | 'condition'>;
|
|
49
|
-
};
|
|
50
|
-
source?: 'PTWC' | 'USGS' | 'WCATWC';
|
|
51
|
-
};
|
|
52
|
-
magnitude: Magnitude;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
1
|
+
import { Coordinate } from './coordinate';
|
|
2
|
+
import { UnitValueNotNull } from './unit-value';
|
|
3
|
+
|
|
4
|
+
type Depth = {
|
|
5
|
+
type: '深さ';
|
|
6
|
+
unit: 'km';
|
|
7
|
+
} & ({
|
|
8
|
+
value: null;
|
|
9
|
+
condition: '不明';
|
|
10
|
+
} | {
|
|
11
|
+
value: '0';
|
|
12
|
+
condition: 'ごく浅い';
|
|
13
|
+
} | {
|
|
14
|
+
value: '700';
|
|
15
|
+
condition: '700km以上';
|
|
16
|
+
} | {
|
|
17
|
+
value: string;
|
|
18
|
+
condition: never;
|
|
19
|
+
});
|
|
20
|
+
type Magnitude = {
|
|
21
|
+
type: 'マグニチュード';
|
|
22
|
+
unit: 'Mj' | 'M';
|
|
23
|
+
} & ({
|
|
24
|
+
value: null;
|
|
25
|
+
condition: 'M不明' | 'M8を超える巨大地震';
|
|
26
|
+
} | {
|
|
27
|
+
value: string;
|
|
28
|
+
condition: never;
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export interface Earthquake {
|
|
32
|
+
originTime: string;
|
|
33
|
+
arrivalTime: string;
|
|
34
|
+
hypocenter: {
|
|
35
|
+
name: string;
|
|
36
|
+
code: string;
|
|
37
|
+
coordinate: Coordinate<'日本測地系' | undefined>;
|
|
38
|
+
depth: Depth;
|
|
39
|
+
detailed?: {
|
|
40
|
+
code: string;
|
|
41
|
+
name: string;
|
|
42
|
+
};
|
|
43
|
+
auxiliary?: {
|
|
44
|
+
text: string;
|
|
45
|
+
code: string;
|
|
46
|
+
name: string;
|
|
47
|
+
direction: string;
|
|
48
|
+
distance: Omit<UnitValueNotNull<never, 'km'>, 'type' | 'condition'>;
|
|
49
|
+
};
|
|
50
|
+
source?: 'PTWC' | 'USGS' | 'WCATWC';
|
|
51
|
+
};
|
|
52
|
+
magnitude: Magnitude;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
File without changes
|
package/types/index.d.ts
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as EarthquakeInformation from './schema/earthquake-information';
|
|
2
|
+
import * as EewInformation from './schema/eew-information';
|
|
3
|
+
import * as WeatherTyphoon from './schema/eew-information';
|
|
4
|
+
import * as TsunamiInformation from './schema/tsunami-information';
|
|
5
|
+
|
|
6
|
+
export {
|
|
7
|
+
EarthquakeInformation,
|
|
8
|
+
EewInformation,
|
|
9
|
+
TsunamiInformation,
|
|
10
|
+
WeatherTyphoon
|
|
11
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { Earthquake } from '../../component/earthquake';
|
|
2
|
+
import { TelegramJSONMain } from '../../main';
|
|
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 ChancelBody {
|
|
88
|
+
text: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export interface PublicVXSE51 extends TelegramJSONMain {
|
|
92
|
+
_schema: Schema;
|
|
93
|
+
type: '震度速報';
|
|
94
|
+
title: '震度速報';
|
|
95
|
+
infoKind: '震度速報';
|
|
96
|
+
eventId: string;
|
|
97
|
+
serialNo: null;
|
|
98
|
+
infoType: '発表' | '訂正';
|
|
99
|
+
body: PublicBodyVXSE51;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface PublicVXSE52 extends TelegramJSONMain {
|
|
103
|
+
_schema: Schema;
|
|
104
|
+
type: '震源に関する情報';
|
|
105
|
+
title: '震源に関する情報';
|
|
106
|
+
infoKind: '震源速報';
|
|
107
|
+
eventId: string;
|
|
108
|
+
serialNo: null;
|
|
109
|
+
infoType: '発表' | '訂正';
|
|
110
|
+
body: PublicBodyVXSE52;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface PublicVXSE53 extends TelegramJSONMain {
|
|
114
|
+
_schema: Schema;
|
|
115
|
+
type: '震源・震度に関する情報';
|
|
116
|
+
title: '震源・震度情報' | '遠地地震に関する情報';
|
|
117
|
+
infoKind: '地震情報';
|
|
118
|
+
eventId: string;
|
|
119
|
+
serialNo: string;
|
|
120
|
+
infoType: '発表' | '訂正';
|
|
121
|
+
body: PublicBodyVXSE53;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface Channel extends TelegramJSONMain {
|
|
125
|
+
_schema: Schema;
|
|
126
|
+
type: '震度速報' | '震源に関する情報' | '震源・震度に関する情報' | '長周期地震動に関する観測情報';
|
|
127
|
+
title: '震度速報' | '震源に関する情報' | '震源・震度情報' | '遠地地震に関する情報' | '長周期地震動に関する観測情報';
|
|
128
|
+
infoKind: '震度速報';
|
|
129
|
+
eventId: string;
|
|
130
|
+
infoType: '取消';
|
|
131
|
+
body: ChancelBody;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53) | Channel;
|
|
135
|
+
}
|
|
@@ -1,177 +1,179 @@
|
|
|
1
|
-
import { Earthquake } from '
|
|
2
|
-
import { TelegramJSONMain } from '
|
|
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
|
-
|
|
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 { Earthquake } from '../../component/earthquake';
|
|
2
|
+
import { TelegramJSONMain } from '../../main';
|
|
3
|
+
import { UnitValueNotNull } from '../../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 ChancelBody {
|
|
121
|
+
text: string;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface PublicVXSE51 extends TelegramJSONMain {
|
|
125
|
+
_schema: Schema;
|
|
126
|
+
type: '震度速報';
|
|
127
|
+
title: '震度速報';
|
|
128
|
+
infoKind: '震度速報';
|
|
129
|
+
eventId: string;
|
|
130
|
+
serialNo: null;
|
|
131
|
+
infoType: '発表' | '訂正';
|
|
132
|
+
body: PublicBodyVXSE51;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export interface PublicVXSE52 extends TelegramJSONMain {
|
|
136
|
+
_schema: Schema;
|
|
137
|
+
type: '震源に関する情報';
|
|
138
|
+
title: '震源に関する情報';
|
|
139
|
+
infoKind: '震源速報';
|
|
140
|
+
eventId: string;
|
|
141
|
+
serialNo: null;
|
|
142
|
+
infoType: '発表' | '訂正';
|
|
143
|
+
body: PublicBodyVXSE52;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export interface PublicVXSE53 extends TelegramJSONMain {
|
|
147
|
+
_schema: Schema;
|
|
148
|
+
type: '震源・震度に関する情報';
|
|
149
|
+
title: '震源・震度情報' | '遠地地震に関する情報';
|
|
150
|
+
infoKind: '地震情報';
|
|
151
|
+
eventId: string;
|
|
152
|
+
serialNo: string;
|
|
153
|
+
infoType: '発表' | '訂正';
|
|
154
|
+
body: PublicBodyVXSE53;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface PublicVXSE62 extends TelegramJSONMain {
|
|
158
|
+
_schema: Schema;
|
|
159
|
+
type: '長周期地震動に関する観測情報';
|
|
160
|
+
title: '長周期地震動に関する観測情報';
|
|
161
|
+
infoKind: '長周期地震動に関する観測情報';
|
|
162
|
+
eventId: string;
|
|
163
|
+
serialNo: string;
|
|
164
|
+
infoType: '発表' | '訂正';
|
|
165
|
+
body: PublicBodyVXSE62;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export interface Channel extends TelegramJSONMain {
|
|
169
|
+
_schema: Schema;
|
|
170
|
+
type: '震度速報' | '震源に関する情報' | '震源・震度に関する情報' | '長周期地震動に関する観測情報';
|
|
171
|
+
title: '震度速報' | '震源に関する情報' | '震源・震度情報' | '遠地地震に関する情報' | '長周期地震動に関する観測情報';
|
|
172
|
+
infoKind: '震度速報';
|
|
173
|
+
eventId: string;
|
|
174
|
+
infoType: '取消';
|
|
175
|
+
body: ChancelBody;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export type Main = (PublicVXSE51 | PublicVXSE52 | PublicVXSE53 | PublicVXSE62) | Channel;
|
|
179
|
+
}
|