@golemio/pid 2.1.4 → 2.1.6-dev.449180636
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/db/example/__truncate_tables.sql +1 -0
- package/db/example/ropidvymi_example.sql +12 -12
- package/db/example/zzz_precomputed_tables.sql +70 -0
- package/db/migrations/postgresql/20211213120726-ropidvymi-refactoring.js +53 -0
- package/db/migrations/postgresql/20220112085841-ropidgtfs-scheduled-trips.js +53 -0
- package/db/migrations/postgresql/package.json +3 -0
- package/db/migrations/postgresql/sqls/20211213120726-ropidvymi-refactoring-down.sql +45 -0
- package/db/migrations/postgresql/sqls/20211213120726-ropidvymi-refactoring-up.sql +54 -0
- package/db/migrations/postgresql/sqls/20220112085841-ropidgtfs-scheduled-trips-down.sql +2 -0
- package/db/migrations/postgresql/sqls/20220112085841-ropidgtfs-scheduled-trips-up.sql +39 -0
- package/db/migrations/postgresql/sqls/package.json +3 -0
- package/dist/integration-engine/queueDefinitions.js +13 -3
- package/dist/integration-engine/queueDefinitions.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMetadataModel.d.ts +3 -36
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMetadataModel.js +21 -321
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMetadataModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSScheduledTripsModel.d.ts +21 -0
- package/dist/integration-engine/ropid-gtfs/RopidGTFSScheduledTripsModel.js +150 -0
- package/dist/integration-engine/ropid-gtfs/RopidGTFSScheduledTripsModel.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.d.ts +1 -0
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.js +16 -12
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/index.d.ts +1 -0
- package/dist/integration-engine/ropid-gtfs/index.js +1 -0
- package/dist/integration-engine/ropid-gtfs/index.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/RopidVYMIEventsTransformation.d.ts +11 -11
- package/dist/integration-engine/ropid-vymi/RopidVYMIEventsTransformation.js +45 -39
- package/dist/integration-engine/ropid-vymi/RopidVYMIEventsTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/RopidVYMIWorker.d.ts +15 -2
- package/dist/integration-engine/ropid-vymi/RopidVYMIWorker.js +115 -17
- package/dist/integration-engine/ropid-vymi/RopidVYMIWorker.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsModel.d.ts +0 -16
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsModel.js +2 -46
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsModel.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsRoutesModel.d.ts +0 -14
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsRoutesModel.js +2 -48
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsRoutesModel.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsStopsModel.d.ts +0 -13
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsStopsModel.js +2 -50
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIEventsStopsModel.js.map +1 -1
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIMetadataModel.d.ts +8 -0
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIMetadataModel.js +44 -0
- package/dist/integration-engine/ropid-vymi/models/RopidVYMIMetadataModel.js.map +1 -0
- package/dist/integration-engine/ropid-vymi/models/index.d.ts +1 -0
- package/dist/integration-engine/ropid-vymi/models/index.js +1 -0
- package/dist/integration-engine/ropid-vymi/models/index.js.map +1 -1
- package/dist/integration-engine/shared/RopidMetadataModel.d.ts +29 -0
- package/dist/integration-engine/shared/RopidMetadataModel.js +261 -0
- package/dist/integration-engine/shared/RopidMetadataModel.js.map +1 -0
- package/dist/integration-engine/shared/index.d.ts +1 -0
- package/dist/integration-engine/shared/index.js +14 -0
- package/dist/integration-engine/shared/index.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/VehiclePositionsRunsModel.d.ts +2 -0
- package/dist/integration-engine/vehicle-positions/VehiclePositionsRunsModel.js +21 -85
- package/dist/integration-engine/vehicle-positions/VehiclePositionsRunsModel.js.map +1 -1
- package/dist/output-gateway/departure-boards/DepartureBoardsRouter.d.ts +0 -4
- package/dist/output-gateway/departure-boards/DepartureBoardsRouter.js +6 -25
- package/dist/output-gateway/departure-boards/DepartureBoardsRouter.js.map +1 -1
- package/dist/output-gateway/pid/PIDRouter.d.ts +0 -4
- package/dist/output-gateway/pid/PIDRouter.js +7 -16
- package/dist/output-gateway/pid/PIDRouter.js.map +1 -1
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js +1 -1
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js.map +1 -1
- package/dist/output-gateway/pid/models/RopidVYMIEventsStopsModel.js +2 -3
- package/dist/output-gateway/pid/models/RopidVYMIEventsStopsModel.js.map +1 -1
- package/dist/output-gateway/shared/RopidRouterUtils.d.ts +12 -0
- package/dist/output-gateway/shared/RopidRouterUtils.js +45 -0
- package/dist/output-gateway/shared/RopidRouterUtils.js.map +1 -0
- package/dist/output-gateway/shared/index.d.ts +1 -0
- package/dist/output-gateway/shared/index.js +14 -0
- package/dist/output-gateway/shared/index.js.map +1 -0
- package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.d.ts +0 -9
- package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.js +6 -47
- package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.d.ts +65 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.js +100 -0
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/index.d.ts +2 -604
- package/dist/schema-definitions/ropid-gtfs/index.js +3 -24
- package/dist/schema-definitions/ropid-gtfs/index.js.map +1 -1
- package/dist/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.d.ts +135 -126
- package/dist/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.js +138 -129
- package/dist/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.js.map +1 -1
- package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.js +24 -23
- package/dist/schema-definitions/ropid-vymi/RopidVYMISDMA.js.map +1 -1
- package/dist/schema-definitions/ropid-vymi/index.d.ts +2 -181
- package/dist/schema-definitions/ropid-vymi/index.js +7 -0
- package/dist/schema-definitions/ropid-vymi/index.js.map +1 -1
- package/dist/schema-definitions/shared/index.d.ts +15 -0
- package/dist/schema-definitions/shared/index.js +29 -0
- package/dist/schema-definitions/shared/index.js.map +1 -0
- package/package.json +83 -83
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-gtfs/index.ts"],"names":[],"mappings":";;;;;;AACA,oFAA4D;AAC5D,2DAA2E;AAC3E,0EAA4F;AAC5F,+DAA0E;AAC1E,+DAA0E;AAC1E,qEAAgF;AAChF,2DAAsE;AACtE,iEAA4E;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-gtfs/index.ts"],"names":[],"mappings":";;;;;;AACA,oFAA4D;AAC5D,2DAA2E;AAC3E,0EAA4F;AAC5F,+DAA0E;AAC1E,+DAA0E;AAC1E,qEAAgF;AAChF,2DAAsE;AACtE,iEAA4E;AAC5E,sCAA6F;AAE7F,8BAA8B;AAC9B,yCAAyC;AAEzC,qBAAqB;AACrB,MAAM,yBAAyB,GAAqB;IAChD,YAAY,EAAE;QACV;YACI,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC1B,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;YAC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,yCAAmB,EAChC,GAAG,EAAE,yCAAmB,EACxB,iBAAiB,EAAjB,iDAAiB,GACpB,CAAC;AAIoB,8BAAS"}
|
|
@@ -1,141 +1,150 @@
|
|
|
1
1
|
declare const outputEventsJsonSchema: {
|
|
2
2
|
type: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
3
|
+
items: {
|
|
4
|
+
type: string;
|
|
5
|
+
properties: {
|
|
6
|
+
vymi_id: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
vymi_id_dtb: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
state: {
|
|
13
|
+
type: string;
|
|
14
|
+
};
|
|
15
|
+
pa_01: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
pa_02: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
pa_03: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
pa_04: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
record_type: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
event_type: {
|
|
31
|
+
type: string[];
|
|
32
|
+
};
|
|
33
|
+
channels: {
|
|
34
|
+
type: string;
|
|
35
|
+
};
|
|
36
|
+
title: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
time_from: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
time_to_type: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
time_to: {
|
|
46
|
+
type: string[];
|
|
47
|
+
};
|
|
48
|
+
expiration_date: {
|
|
49
|
+
type: string[];
|
|
50
|
+
};
|
|
51
|
+
transportation_type: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
priority: {
|
|
55
|
+
type: string[];
|
|
56
|
+
};
|
|
57
|
+
cause: {
|
|
58
|
+
type: string[];
|
|
59
|
+
};
|
|
60
|
+
link: {
|
|
61
|
+
type: string[];
|
|
62
|
+
};
|
|
63
|
+
ropid_action: {
|
|
64
|
+
type: string[];
|
|
65
|
+
};
|
|
66
|
+
dpp_action: {
|
|
67
|
+
type: string[];
|
|
68
|
+
};
|
|
69
|
+
description: {
|
|
70
|
+
type: string[];
|
|
71
|
+
};
|
|
69
72
|
};
|
|
70
73
|
};
|
|
71
74
|
};
|
|
72
75
|
declare const outputEventsRoutesJsonSchema: {
|
|
73
76
|
type: string;
|
|
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
|
-
|
|
77
|
+
items: {
|
|
78
|
+
type: string;
|
|
79
|
+
properties: {
|
|
80
|
+
event_id: {
|
|
81
|
+
type: string;
|
|
82
|
+
};
|
|
83
|
+
gtfs_route_id: {
|
|
84
|
+
type: string[];
|
|
85
|
+
};
|
|
86
|
+
vymi_id: {
|
|
87
|
+
type: string;
|
|
88
|
+
};
|
|
89
|
+
vymi_id_dtb: {
|
|
90
|
+
type: string;
|
|
91
|
+
};
|
|
92
|
+
number: {
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
name: {
|
|
96
|
+
type: string;
|
|
97
|
+
};
|
|
98
|
+
route_type: {
|
|
99
|
+
type: string;
|
|
100
|
+
};
|
|
101
|
+
valid_from: {
|
|
102
|
+
type: string[];
|
|
103
|
+
};
|
|
104
|
+
valid_to: {
|
|
105
|
+
type: string[];
|
|
106
|
+
};
|
|
107
|
+
text: {
|
|
108
|
+
type: string[];
|
|
109
|
+
};
|
|
104
110
|
};
|
|
105
111
|
};
|
|
106
112
|
};
|
|
107
113
|
declare const outputEventsStopsJsonSchema: {
|
|
108
114
|
type: string;
|
|
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
|
-
|
|
115
|
+
items: {
|
|
116
|
+
type: string;
|
|
117
|
+
properties: {
|
|
118
|
+
event_id: {
|
|
119
|
+
type: string;
|
|
120
|
+
};
|
|
121
|
+
gtfs_stop_id: {
|
|
122
|
+
type: string[];
|
|
123
|
+
};
|
|
124
|
+
vymi_id: {
|
|
125
|
+
type: string;
|
|
126
|
+
};
|
|
127
|
+
vymi_id_dtb: {
|
|
128
|
+
type: string;
|
|
129
|
+
};
|
|
130
|
+
node_number: {
|
|
131
|
+
type: string;
|
|
132
|
+
};
|
|
133
|
+
stop_number: {
|
|
134
|
+
type: string;
|
|
135
|
+
};
|
|
136
|
+
stop_type: {
|
|
137
|
+
type: string;
|
|
138
|
+
};
|
|
139
|
+
valid_from: {
|
|
140
|
+
type: string[];
|
|
141
|
+
};
|
|
142
|
+
valid_to: {
|
|
143
|
+
type: string[];
|
|
144
|
+
};
|
|
145
|
+
text: {
|
|
146
|
+
type: string[];
|
|
147
|
+
};
|
|
139
148
|
};
|
|
140
149
|
};
|
|
141
150
|
};
|
|
@@ -2,145 +2,154 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.outputEventsStopsJsonSchema = exports.outputEventsRoutesJsonSchema = exports.outputEventsJsonSchema = void 0;
|
|
4
4
|
const outputEventsJsonSchema = {
|
|
5
|
-
type: "
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
5
|
+
type: "array",
|
|
6
|
+
items: {
|
|
7
|
+
type: "object",
|
|
8
|
+
properties: {
|
|
9
|
+
vymi_id: {
|
|
10
|
+
type: "number",
|
|
11
|
+
},
|
|
12
|
+
vymi_id_dtb: {
|
|
13
|
+
type: "number",
|
|
14
|
+
},
|
|
15
|
+
state: {
|
|
16
|
+
type: "number",
|
|
17
|
+
},
|
|
18
|
+
pa_01: {
|
|
19
|
+
type: "string",
|
|
20
|
+
},
|
|
21
|
+
pa_02: {
|
|
22
|
+
type: "string",
|
|
23
|
+
},
|
|
24
|
+
pa_03: {
|
|
25
|
+
type: "string",
|
|
26
|
+
},
|
|
27
|
+
pa_04: {
|
|
28
|
+
type: "string",
|
|
29
|
+
},
|
|
30
|
+
record_type: {
|
|
31
|
+
type: "number",
|
|
32
|
+
},
|
|
33
|
+
event_type: {
|
|
34
|
+
type: ["null", "number"],
|
|
35
|
+
},
|
|
36
|
+
channels: {
|
|
37
|
+
type: "number",
|
|
38
|
+
},
|
|
39
|
+
title: {
|
|
40
|
+
type: "string",
|
|
41
|
+
},
|
|
42
|
+
time_from: {
|
|
43
|
+
type: "string",
|
|
44
|
+
},
|
|
45
|
+
time_to_type: {
|
|
46
|
+
type: "number",
|
|
47
|
+
},
|
|
48
|
+
time_to: {
|
|
49
|
+
type: ["null", "string"],
|
|
50
|
+
},
|
|
51
|
+
expiration_date: {
|
|
52
|
+
type: ["null", "string"],
|
|
53
|
+
},
|
|
54
|
+
transportation_type: {
|
|
55
|
+
type: "number",
|
|
56
|
+
},
|
|
57
|
+
priority: {
|
|
58
|
+
type: ["null", "number"],
|
|
59
|
+
},
|
|
60
|
+
cause: {
|
|
61
|
+
type: ["null", "string"],
|
|
62
|
+
},
|
|
63
|
+
link: {
|
|
64
|
+
type: ["null", "string"],
|
|
65
|
+
},
|
|
66
|
+
ropid_action: {
|
|
67
|
+
type: ["null", "string"],
|
|
68
|
+
},
|
|
69
|
+
dpp_action: {
|
|
70
|
+
type: ["null", "string"],
|
|
71
|
+
},
|
|
72
|
+
description: {
|
|
73
|
+
type: ["null", "string"],
|
|
74
|
+
},
|
|
72
75
|
},
|
|
73
76
|
},
|
|
74
77
|
};
|
|
75
78
|
exports.outputEventsJsonSchema = outputEventsJsonSchema;
|
|
76
79
|
const outputEventsRoutesJsonSchema = {
|
|
77
|
-
type: "
|
|
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
|
-
|
|
80
|
+
type: "array",
|
|
81
|
+
items: {
|
|
82
|
+
type: "object",
|
|
83
|
+
properties: {
|
|
84
|
+
event_id: {
|
|
85
|
+
type: "number",
|
|
86
|
+
},
|
|
87
|
+
gtfs_route_id: {
|
|
88
|
+
type: ["null", "string"],
|
|
89
|
+
},
|
|
90
|
+
vymi_id: {
|
|
91
|
+
type: "number",
|
|
92
|
+
},
|
|
93
|
+
vymi_id_dtb: {
|
|
94
|
+
type: "number",
|
|
95
|
+
},
|
|
96
|
+
number: {
|
|
97
|
+
type: "number",
|
|
98
|
+
},
|
|
99
|
+
name: {
|
|
100
|
+
type: "string",
|
|
101
|
+
},
|
|
102
|
+
route_type: {
|
|
103
|
+
type: "number",
|
|
104
|
+
},
|
|
105
|
+
valid_from: {
|
|
106
|
+
type: ["null", "string"],
|
|
107
|
+
},
|
|
108
|
+
valid_to: {
|
|
109
|
+
type: ["null", "string"],
|
|
110
|
+
},
|
|
111
|
+
text: {
|
|
112
|
+
type: ["null", "string"],
|
|
113
|
+
},
|
|
108
114
|
},
|
|
109
115
|
},
|
|
110
116
|
};
|
|
111
117
|
exports.outputEventsRoutesJsonSchema = outputEventsRoutesJsonSchema;
|
|
112
118
|
const outputEventsStopsJsonSchema = {
|
|
113
|
-
type: "
|
|
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
|
-
|
|
119
|
+
type: "array",
|
|
120
|
+
items: {
|
|
121
|
+
type: "object",
|
|
122
|
+
properties: {
|
|
123
|
+
event_id: {
|
|
124
|
+
type: "number",
|
|
125
|
+
},
|
|
126
|
+
gtfs_stop_id: {
|
|
127
|
+
type: ["null", "string"],
|
|
128
|
+
},
|
|
129
|
+
vymi_id: {
|
|
130
|
+
type: "number",
|
|
131
|
+
},
|
|
132
|
+
vymi_id_dtb: {
|
|
133
|
+
type: "number",
|
|
134
|
+
},
|
|
135
|
+
node_number: {
|
|
136
|
+
type: "number",
|
|
137
|
+
},
|
|
138
|
+
stop_number: {
|
|
139
|
+
type: "number",
|
|
140
|
+
},
|
|
141
|
+
stop_type: {
|
|
142
|
+
type: "number",
|
|
143
|
+
},
|
|
144
|
+
valid_from: {
|
|
145
|
+
type: ["null", "string"],
|
|
146
|
+
},
|
|
147
|
+
valid_to: {
|
|
148
|
+
type: ["null", "string"],
|
|
149
|
+
},
|
|
150
|
+
text: {
|
|
151
|
+
type: ["null", "string"],
|
|
152
|
+
},
|
|
144
153
|
},
|
|
145
154
|
},
|
|
146
155
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RopidVYMIOutputSchemas.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.ts"],"names":[],"mappings":";;;AAAA,MAAM,sBAAsB,GAAG;IAC3B,IAAI,EAAE,QAAQ;
|
|
1
|
+
{"version":3,"file":"RopidVYMIOutputSchemas.js","sourceRoot":"","sources":["../../../src/schema-definitions/ropid-vymi/RopidVYMIOutputSchemas.ts"],"names":[],"mappings":";;;AAAA,MAAM,sBAAsB,GAAG;IAC3B,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACR,OAAO,EAAE;gBACL,IAAI,EAAE,QAAQ;aACjB;YACD,WAAW,EAAE;gBACT,IAAI,EAAE,QAAQ;aACjB;YACD,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;YACD,WAAW,EAAE;gBACT,IAAI,EAAE,QAAQ;aACjB;YACD,UAAU,EAAE;gBACR,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;aAC3B;YACD,QAAQ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