@dmdata/telegram-json-types 1.0.9-jschema.2 → 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/dist/build.js +9 -4
- package/dist/config.d.ts +2 -1
- package/dist/config.js +3 -2
- 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-information_1.0.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/tsunami-information_1.0.0.json +1 -1
- package/dist/jschema/volcano-information_1.0.0.json +1 -1
- package/dist/jschema/weather-typhoon_1.0.0.json +1 -1
- package/package.json +2 -2
- package/tsconfig.json +27 -20
- 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 +2 -2
- package/types/schema/earthquake-information/1.1.0.d.ts +3 -3
- package/types/schema/earthquake-nankai/1.0.0.d.ts +87 -87
- package/types/schema/eew-information/1.0.0.d.ts +3 -3
- package/types/schema/tsunami-information/1.0.0.d.ts +2 -2
- package/types/schema/volcano-information/1.0.0.d.ts +449 -449
- package/types/schema/weather-typhoon/1.0.0.d.ts +3 -3
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { TelegramJSONMain } from '
|
|
2
|
-
|
|
3
|
-
export namespace EarthquakeCounts {
|
|
4
|
-
export interface Schema {
|
|
5
|
-
type: 'earthquake-counts';
|
|
6
|
-
version: '1.0.0';
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface EarthquakeCountTargetTime {
|
|
10
|
-
start: string;
|
|
11
|
-
end: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface EarthquakeCountValues {
|
|
15
|
-
all: string | null;
|
|
16
|
-
felt: string | null;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface EarthquakeCount {
|
|
20
|
-
type: '1時間地震回数' | '累計地震回数' | '地震回数';
|
|
21
|
-
targetTime: EarthquakeCountTargetTime;
|
|
22
|
-
values: EarthquakeCountValues;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface Comments {
|
|
26
|
-
free: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface PublicBody {
|
|
30
|
-
earthquakeCounts?: EarthquakeCount;
|
|
31
|
-
nextAdvisory?: string;
|
|
32
|
-
text?: string;
|
|
33
|
-
comments?: Comments;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface CancelBody {
|
|
37
|
-
text: string;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface Public extends TelegramJSONMain {
|
|
41
|
-
_schema: Schema;
|
|
42
|
-
type: '地震回数に関する情報';
|
|
43
|
-
title: '地震回数に関する情報';
|
|
44
|
-
infoType: '発表' | '訂正';
|
|
45
|
-
targetDateTimeDubious: never;
|
|
46
|
-
targetDuration: never;
|
|
47
|
-
validDateTime: never;
|
|
48
|
-
eventId: string;
|
|
49
|
-
serialNo: string;
|
|
50
|
-
infoKind: '地震回数情報';
|
|
51
|
-
body: PublicBody;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface Cancel extends TelegramJSONMain {
|
|
55
|
-
_schema: Schema;
|
|
56
|
-
type: '地震回数に関する情報';
|
|
57
|
-
title: '地震回数に関する情報';
|
|
58
|
-
infoType: '取消';
|
|
59
|
-
targetDateTimeDubious: never;
|
|
60
|
-
targetDuration: never;
|
|
61
|
-
validDateTime: never;
|
|
62
|
-
eventId: string;
|
|
63
|
-
serialNo: string;
|
|
64
|
-
infoKind: '地震回数情報';
|
|
65
|
-
body: CancelBody;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export type Main = Public | Cancel;
|
|
69
|
-
}
|
|
1
|
+
import { TelegramJSONMain } from '@t/main';
|
|
2
|
+
|
|
3
|
+
export namespace EarthquakeCounts {
|
|
4
|
+
export interface Schema {
|
|
5
|
+
type: 'earthquake-counts';
|
|
6
|
+
version: '1.0.0';
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface EarthquakeCountTargetTime {
|
|
10
|
+
start: string;
|
|
11
|
+
end: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface EarthquakeCountValues {
|
|
15
|
+
all: string | null;
|
|
16
|
+
felt: string | null;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface EarthquakeCount {
|
|
20
|
+
type: '1時間地震回数' | '累計地震回数' | '地震回数';
|
|
21
|
+
targetTime: EarthquakeCountTargetTime;
|
|
22
|
+
values: EarthquakeCountValues;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface Comments {
|
|
26
|
+
free: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface PublicBody {
|
|
30
|
+
earthquakeCounts?: EarthquakeCount;
|
|
31
|
+
nextAdvisory?: string;
|
|
32
|
+
text?: string;
|
|
33
|
+
comments?: Comments;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface CancelBody {
|
|
37
|
+
text: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface Public extends TelegramJSONMain {
|
|
41
|
+
_schema: Schema;
|
|
42
|
+
type: '地震回数に関する情報';
|
|
43
|
+
title: '地震回数に関する情報';
|
|
44
|
+
infoType: '発表' | '訂正';
|
|
45
|
+
targetDateTimeDubious: never;
|
|
46
|
+
targetDuration: never;
|
|
47
|
+
validDateTime: never;
|
|
48
|
+
eventId: string;
|
|
49
|
+
serialNo: string;
|
|
50
|
+
infoKind: '地震回数情報';
|
|
51
|
+
body: PublicBody;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface Cancel extends TelegramJSONMain {
|
|
55
|
+
_schema: Schema;
|
|
56
|
+
type: '地震回数に関する情報';
|
|
57
|
+
title: '地震回数に関する情報';
|
|
58
|
+
infoType: '取消';
|
|
59
|
+
targetDateTimeDubious: never;
|
|
60
|
+
targetDuration: never;
|
|
61
|
+
validDateTime: never;
|
|
62
|
+
eventId: string;
|
|
63
|
+
serialNo: string;
|
|
64
|
+
infoKind: '地震回数情報';
|
|
65
|
+
body: CancelBody;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export type Main = Public | Cancel;
|
|
69
|
+
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { TelegramJSONMain } from '
|
|
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
|
-
}
|
|
1
|
+
import { TelegramJSONMain } from '@t/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
|
+
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { TelegramJSONMain } from '
|
|
2
|
-
import { Earthquake } from '
|
|
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
|
+
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
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TelegramJSONMain } from '
|
|
2
|
-
import { Earthquake } from '
|
|
1
|
+
import { TelegramJSONMain } from '@t/main';
|
|
2
|
+
import { Earthquake } from '@t/component/earthquake';
|
|
3
3
|
|
|
4
4
|
export namespace EarthquakeInformation {
|
|
5
5
|
export interface Schema {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { UnitValueNotNull } from '
|
|
1
|
+
import { TelegramJSONMain } from '@t/main';
|
|
2
|
+
import { Earthquake } from '@t/component/earthquake';
|
|
3
|
+
import { UnitValueNotNull } from '@t/component/unit-value';
|
|
4
4
|
|
|
5
5
|
export namespace EarthquakeInformation {
|
|
6
6
|
export interface Schema {
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
import { TelegramJSONMain } from '
|
|
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
|
+
import { TelegramJSONMain } from '@t/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 '@t/main';
|
|
2
|
+
import { Coordinate } from '@t/component/coordinate';
|
|
3
|
+
import { UnitValueNotNull } from '@t/component/unit-value';
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export namespace EewInformation {
|