@golemio/parkings 1.22.5 → 1.22.6-dev.2011057324
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/00_clear_test_data.sql +1 -1
- package/db/example/01_sql_dump.sql +2 -2
- package/db/example/04_tsk_parking_v2.sql +1 -2
- package/db/migrations/postgresql/20250804104739-legacy-api-allowed.js +53 -0
- package/db/migrations/postgresql/20250828092217-tsk-v2-router.js +53 -0
- package/db/migrations/postgresql/sqls/20250804104739-legacy-api-allowed-down.sql +44 -0
- package/db/migrations/postgresql/sqls/20250804104739-legacy-api-allowed-up.sql +6 -0
- package/db/migrations/postgresql/sqls/20250828092217-tsk-v2-router-down.sql +1 -0
- package/db/migrations/postgresql/sqls/20250828092217-tsk-v2-router-up.sql +54 -0
- package/dist/helpers/constants/SourceEnum.d.ts +0 -1
- package/dist/helpers/constants/SourceEnum.js +0 -1
- package/dist/helpers/constants/SourceEnum.js.map +1 -1
- package/dist/integration-engine/businessRules/DataSourceIntegrationChecker.js +0 -1
- package/dist/integration-engine/businessRules/DataSourceIntegrationChecker.js.map +1 -1
- package/dist/integration-engine/helpers/GeodataHelper.d.ts +1 -3
- package/dist/integration-engine/helpers/GeodataHelper.js +1 -26
- package/dist/integration-engine/helpers/GeodataHelper.js.map +1 -1
- package/dist/integration-engine/index.d.ts +1 -1
- package/dist/integration-engine/ioc/Di.js +0 -6
- package/dist/integration-engine/ioc/Di.js.map +1 -1
- package/dist/integration-engine/ioc/ModuleContainerToken.d.ts +0 -1
- package/dist/integration-engine/ioc/ModuleContainerToken.js +0 -1
- package/dist/integration-engine/ioc/ModuleContainerToken.js.map +1 -1
- package/dist/integration-engine/workers/NewParkingsWorker.js +0 -2
- package/dist/integration-engine/workers/NewParkingsWorker.js.map +1 -1
- package/dist/output-gateway/index.js +0 -1
- package/dist/output-gateway/index.js.map +1 -1
- package/dist/output-gateway/ioc/Di.js +1 -1
- package/dist/output-gateway/ioc/Di.js.map +1 -1
- package/dist/output-gateway/models/ParkingsMeasurementsModels.d.ts +0 -5
- package/dist/output-gateway/models/ParkingsMeasurementsModels.js +1 -49
- package/dist/output-gateway/models/ParkingsMeasurementsModels.js.map +1 -1
- package/dist/output-gateway/models/ParkingsModel.d.ts +9 -8
- package/dist/output-gateway/models/ParkingsModel.js +7 -7
- package/dist/output-gateway/models/ParkingsModel.js.map +1 -1
- package/dist/output-gateway/models/helpers/DetailAttributesHelper.js +11 -9
- package/dist/output-gateway/models/helpers/DetailAttributesHelper.js.map +1 -1
- package/dist/output-gateway/routers/constants.d.ts +0 -1
- package/dist/output-gateway/routers/constants.js +0 -1
- package/dist/output-gateway/routers/constants.js.map +1 -1
- package/dist/output-gateway/routers/index.d.ts +0 -1
- package/dist/output-gateway/routers/index.js +0 -1
- package/dist/output-gateway/routers/index.js.map +1 -1
- package/dist/output-gateway/routers/v2/V2ParkingRouter.js +32 -11
- package/dist/output-gateway/routers/v2/V2ParkingRouter.js.map +1 -1
- package/dist/output-gateway/transformations/ParkingsTransformationFabric.d.ts +8 -0
- package/dist/output-gateway/transformations/ParkingsTransformationFabric.js +36 -5
- package/dist/output-gateway/transformations/ParkingsTransformationFabric.js.map +1 -1
- package/dist/schema-definitions/index.d.ts +4 -0
- package/dist/schema-definitions/index.js +10 -0
- package/dist/schema-definitions/index.js.map +1 -1
- package/docs/implementation_documentation.md +0 -28
- package/docs/openapi-output.yaml +258 -611
- package/package.json +1 -1
- package/db/example/99_refresh_views.sql +0 -1
- package/dist/integration-engine/businessRules/AbstractTariffChecker.d.ts +0 -10
- package/dist/integration-engine/businessRules/AbstractTariffChecker.js +0 -26
- package/dist/integration-engine/businessRules/AbstractTariffChecker.js.map +0 -1
- package/dist/integration-engine/businessRules/TariffCheckerFactory.d.ts +0 -8
- package/dist/integration-engine/businessRules/TariffCheckerFactory.js +0 -22
- package/dist/integration-engine/businessRules/TariffCheckerFactory.js.map +0 -1
- package/dist/integration-engine/businessRules/TskTariffChecker.d.ts +0 -6
- package/dist/integration-engine/businessRules/TskTariffChecker.js +0 -13
- package/dist/integration-engine/businessRules/TskTariffChecker.js.map +0 -1
- package/dist/integration-engine/businessRules/interfaces/ITariffChecker.d.ts +0 -4
- package/dist/integration-engine/businessRules/interfaces/ITariffChecker.js +0 -3
- package/dist/integration-engine/businessRules/interfaces/ITariffChecker.js.map +0 -1
- package/dist/integration-engine/businessRules/interfaces/ITariffCheckerResult.d.ts +0 -6
- package/dist/integration-engine/businessRules/interfaces/ITariffCheckerResult.js +0 -3
- package/dist/integration-engine/businessRules/interfaces/ITariffCheckerResult.js.map +0 -1
- package/dist/integration-engine/businessRules/interfaces/ITariffInfo.d.ts +0 -7
- package/dist/integration-engine/businessRules/interfaces/ITariffInfo.js +0 -3
- package/dist/integration-engine/businessRules/interfaces/ITariffInfo.js.map +0 -1
- package/dist/integration-engine/businessRules/rules/IRule.d.ts +0 -3
- package/dist/integration-engine/businessRules/rules/IRule.js +0 -3
- package/dist/integration-engine/businessRules/rules/IRule.js.map +0 -1
- package/dist/integration-engine/businessRules/rules/MaxChargeInteractionsRule.d.ts +0 -5
- package/dist/integration-engine/businessRules/rules/MaxChargeInteractionsRule.js +0 -17
- package/dist/integration-engine/businessRules/rules/MaxChargeInteractionsRule.js.map +0 -1
- package/dist/integration-engine/businessRules/rules/MaxPriceRule.d.ts +0 -5
- package/dist/integration-engine/businessRules/rules/MaxPriceRule.js +0 -15
- package/dist/integration-engine/businessRules/rules/MaxPriceRule.js.map +0 -1
- package/dist/integration-engine/businessRules/rules/RuleEnum.d.ts +0 -5
- package/dist/integration-engine/businessRules/rules/RuleEnum.js +0 -10
- package/dist/integration-engine/businessRules/rules/RuleEnum.js.map +0 -1
- package/dist/integration-engine/businessRules/rules/RuleFactory.d.ts +0 -7
- package/dist/integration-engine/businessRules/rules/RuleFactory.js +0 -23
- package/dist/integration-engine/businessRules/rules/RuleFactory.js.map +0 -1
- package/dist/integration-engine/businessRules/rules/ZeroMaxParkingTime.d.ts +0 -5
- package/dist/integration-engine/businessRules/rules/ZeroMaxParkingTime.js +0 -10
- package/dist/integration-engine/businessRules/rules/ZeroMaxParkingTime.js.map +0 -1
- package/dist/integration-engine/helpers/LocationBuilderHelper.d.ts +0 -6
- package/dist/integration-engine/helpers/LocationBuilderHelper.js +0 -60
- package/dist/integration-engine/helpers/LocationBuilderHelper.js.map +0 -1
- package/dist/integration-engine/helpers/TskCalculationHelper.d.ts +0 -6
- package/dist/integration-engine/helpers/TskCalculationHelper.js +0 -36
- package/dist/integration-engine/helpers/TskCalculationHelper.js.map +0 -1
- package/dist/integration-engine/repositories/ParkingsBusinessErrorsRepository.d.ts +0 -7
- package/dist/integration-engine/repositories/ParkingsBusinessErrorsRepository.js +0 -26
- package/dist/integration-engine/repositories/ParkingsBusinessErrorsRepository.js.map +0 -1
- package/dist/integration-engine/transformations/IPRParkingTransformation.d.ts +0 -21
- package/dist/integration-engine/transformations/IPRParkingTransformation.js +0 -44
- package/dist/integration-engine/transformations/IPRParkingTransformation.js.map +0 -1
- package/dist/integration-engine/transformations/TSKParkingTariffTransformation.d.ts +0 -20
- package/dist/integration-engine/transformations/TSKParkingTariffTransformation.js +0 -135
- package/dist/integration-engine/transformations/TSKParkingTariffTransformation.js.map +0 -1
- package/dist/integration-engine/transformations/TSKParkingTransformation.d.ts +0 -19
- package/dist/integration-engine/transformations/TSKParkingTransformation.js +0 -78
- package/dist/integration-engine/transformations/TSKParkingTransformation.js.map +0 -1
- package/dist/integration-engine/workers/tasks/SaveParkingZonesPrague.d.ts +0 -39
- package/dist/integration-engine/workers/tasks/SaveParkingZonesPrague.js +0 -182
- package/dist/integration-engine/workers/tasks/SaveParkingZonesPrague.js.map +0 -1
- package/dist/output-gateway/data-access/TskDistrictsRepository.d.ts +0 -6
- package/dist/output-gateway/data-access/TskDistrictsRepository.js +0 -21
- package/dist/output-gateway/data-access/TskDistrictsRepository.js.map +0 -1
- package/dist/output-gateway/data-access/TskParkingLotsRepository.d.ts +0 -17
- package/dist/output-gateway/data-access/TskParkingLotsRepository.js +0 -159
- package/dist/output-gateway/data-access/TskParkingLotsRepository.js.map +0 -1
- package/dist/output-gateway/data-access/helpers/TskFeatureMapper.d.ts +0 -11
- package/dist/output-gateway/data-access/helpers/TskFeatureMapper.js +0 -37
- package/dist/output-gateway/data-access/helpers/TskFeatureMapper.js.map +0 -1
- package/dist/output-gateway/routers/v1/V1ParkingRouter.d.ts +0 -3
- package/dist/output-gateway/routers/v1/V1ParkingRouter.js +0 -46
- package/dist/output-gateway/routers/v1/V1ParkingRouter.js.map +0 -1
- package/dist/schema-definitions/datasources/interfaces/IIPRParkingJsonSchema.d.ts +0 -15
- package/dist/schema-definitions/datasources/interfaces/IIPRParkingJsonSchema.js +0 -3
- package/dist/schema-definitions/datasources/interfaces/IIPRParkingJsonSchema.js.map +0 -1
package/docs/openapi-output.yaml
CHANGED
|
@@ -17,7 +17,7 @@ servers:
|
|
|
17
17
|
description: Main (production) server
|
|
18
18
|
tags:
|
|
19
19
|
- name: 🅿️ Parking (v1)
|
|
20
|
-
description: <img src="https://img.shields.io/badge/opendata-available-green" alt="golemioapi-opendata-badge" />
|
|
20
|
+
description: <img src="https://img.shields.io/badge/opendata-available-green" alt="golemioapi-opendata-badge" /> ❌ Removed
|
|
21
21
|
- name: 🅿️ Parking (v2)
|
|
22
22
|
description: <img src="https://img.shields.io/badge/opendata-available-green" alt="golemioapi-opendata-badge" /> 💡 Parking spaces
|
|
23
23
|
- name: 🅿️ Parking (v2) - internal
|
|
@@ -26,165 +26,6 @@ tags:
|
|
|
26
26
|
description: <img src="https://img.shields.io/badge/opendata-available-green" alt="golemioapi-opendata-badge" /> 💡 Parking, occupancy, measurements, tariffs, machines. <em>Note that only a select subset of the data is published as open data.</em>
|
|
27
27
|
|
|
28
28
|
paths:
|
|
29
|
-
/v1/parkings:
|
|
30
|
-
get:
|
|
31
|
-
tags:
|
|
32
|
-
- 🅿️ Parking (v1)
|
|
33
|
-
summary: GET All Parking Lots within the region of interest
|
|
34
|
-
parameters:
|
|
35
|
-
- name: latlng
|
|
36
|
-
in: query
|
|
37
|
-
description: Sorting by location (Latitude and Longitude separated by comma,
|
|
38
|
-
latitude first).
|
|
39
|
-
schema:
|
|
40
|
-
type: string
|
|
41
|
-
example: 50.124935,14.457204
|
|
42
|
-
- name: range
|
|
43
|
-
in: query
|
|
44
|
-
description: Filter by distance from latlng in meters (range query). Depends
|
|
45
|
-
on the latlng parameter.
|
|
46
|
-
schema:
|
|
47
|
-
type: number
|
|
48
|
-
example: 5000
|
|
49
|
-
- name: districts
|
|
50
|
-
in: query
|
|
51
|
-
description: Filter by Prague city districts (slug) separated by comma.
|
|
52
|
-
required: false
|
|
53
|
-
example: ['praha-4']
|
|
54
|
-
schema:
|
|
55
|
-
type: array
|
|
56
|
-
items: {}
|
|
57
|
-
- name: limit
|
|
58
|
-
in: query
|
|
59
|
-
description: Limits number of retrieved items.
|
|
60
|
-
schema:
|
|
61
|
-
type: number
|
|
62
|
-
example: 10
|
|
63
|
-
- name: offset
|
|
64
|
-
in: query
|
|
65
|
-
description: Number of the first items that are skipped.
|
|
66
|
-
schema:
|
|
67
|
-
type: number
|
|
68
|
-
example: 0
|
|
69
|
-
- name: updatedSince
|
|
70
|
-
in: query
|
|
71
|
-
description: Filters all results with older updated_at than this parameter
|
|
72
|
-
required: false
|
|
73
|
-
example: 2019-05-18T07:38:37.000Z
|
|
74
|
-
schema:
|
|
75
|
-
type: string
|
|
76
|
-
responses:
|
|
77
|
-
200:
|
|
78
|
-
description: OK
|
|
79
|
-
headers:
|
|
80
|
-
Cache-Control:
|
|
81
|
-
description: Cache control directive for caching proxies
|
|
82
|
-
schema:
|
|
83
|
-
type: string
|
|
84
|
-
example: public, s-maxage=300, stale-while-revalidate=5
|
|
85
|
-
content:
|
|
86
|
-
application/json; charset=utf-8:
|
|
87
|
-
schema:
|
|
88
|
-
type: object
|
|
89
|
-
properties:
|
|
90
|
-
features:
|
|
91
|
-
type: array
|
|
92
|
-
items:
|
|
93
|
-
$ref: '#/components/schemas/ParkingLotFeature'
|
|
94
|
-
type:
|
|
95
|
-
type: string
|
|
96
|
-
example: FeatureCollection
|
|
97
|
-
401:
|
|
98
|
-
$ref: "#/components/responses/UnauthorizedError"
|
|
99
|
-
404:
|
|
100
|
-
description: Not found
|
|
101
|
-
/v1/parkings/{id}:
|
|
102
|
-
get:
|
|
103
|
-
tags:
|
|
104
|
-
- 🅿️ Parking (v1)
|
|
105
|
-
summary: GET Parking Lot
|
|
106
|
-
parameters:
|
|
107
|
-
- name: id
|
|
108
|
-
in: path
|
|
109
|
-
description: Id of parking location.
|
|
110
|
-
required: true
|
|
111
|
-
schema:
|
|
112
|
-
type: string
|
|
113
|
-
example: "534015"
|
|
114
|
-
responses:
|
|
115
|
-
200:
|
|
116
|
-
description: OK
|
|
117
|
-
headers:
|
|
118
|
-
Cache-Control:
|
|
119
|
-
description: Cache control directive for caching proxies
|
|
120
|
-
schema:
|
|
121
|
-
type: string
|
|
122
|
-
example: public, s-maxage=300, stale-while-revalidate=5
|
|
123
|
-
content:
|
|
124
|
-
application/json; charset=utf-8:
|
|
125
|
-
schema:
|
|
126
|
-
$ref: '#/components/schemas/ParkingLotFeature'
|
|
127
|
-
401:
|
|
128
|
-
$ref: "#/components/responses/UnauthorizedError"
|
|
129
|
-
404:
|
|
130
|
-
description: Not found
|
|
131
|
-
/v1/parkings/history:
|
|
132
|
-
get:
|
|
133
|
-
tags:
|
|
134
|
-
- 🅿️ Parking (v1)
|
|
135
|
-
summary: GET Parking Lot History
|
|
136
|
-
parameters:
|
|
137
|
-
- name: limit
|
|
138
|
-
in: query
|
|
139
|
-
description: Limits number of retrieved items.
|
|
140
|
-
schema:
|
|
141
|
-
type: number
|
|
142
|
-
example: 10
|
|
143
|
-
- name: offset
|
|
144
|
-
in: query
|
|
145
|
-
description: Number of the first items that are skipped.
|
|
146
|
-
schema:
|
|
147
|
-
type: number
|
|
148
|
-
example: 0
|
|
149
|
-
- name: from
|
|
150
|
-
in: query
|
|
151
|
-
description: Date in ISO8601, limits data measured from this datetime
|
|
152
|
-
required: false
|
|
153
|
-
schema:
|
|
154
|
-
type: string
|
|
155
|
-
example: 2019-05-18T07:38:37.000Z
|
|
156
|
-
- name: to
|
|
157
|
-
in: query
|
|
158
|
-
description: Date in ISO8601, limits data measured up to this datetime
|
|
159
|
-
required: false
|
|
160
|
-
schema:
|
|
161
|
-
type: string
|
|
162
|
-
example: 2019-05-19T07:38:37.000Z
|
|
163
|
-
- name: sensorId
|
|
164
|
-
in: query
|
|
165
|
-
description: Limits data measured by sensor with this id (parameter `id` of the parking)
|
|
166
|
-
schema:
|
|
167
|
-
type: string
|
|
168
|
-
example: tsk-143
|
|
169
|
-
responses:
|
|
170
|
-
200:
|
|
171
|
-
description: OK
|
|
172
|
-
headers:
|
|
173
|
-
Cache-Control:
|
|
174
|
-
description: Cache control directive for caching proxies
|
|
175
|
-
schema:
|
|
176
|
-
type: string
|
|
177
|
-
example: public, s-maxage=300, stale-while-revalidate=5
|
|
178
|
-
content:
|
|
179
|
-
application/json; charset=utf-8:
|
|
180
|
-
schema:
|
|
181
|
-
type: array
|
|
182
|
-
items:
|
|
183
|
-
$ref: '#/components/schemas/ParkingLotHistory'
|
|
184
|
-
401:
|
|
185
|
-
$ref: "#/components/responses/UnauthorizedError"
|
|
186
|
-
404:
|
|
187
|
-
description: Not found
|
|
188
29
|
/v2/parking:
|
|
189
30
|
get:
|
|
190
31
|
tags:
|
|
@@ -331,7 +172,7 @@ paths:
|
|
|
331
172
|
description: Filter by data provider.
|
|
332
173
|
schema:
|
|
333
174
|
type: string
|
|
334
|
-
example:
|
|
175
|
+
example: tsk_v2
|
|
335
176
|
- name: sourceId
|
|
336
177
|
in: query
|
|
337
178
|
description: Filter by parking group id. Unique per data provider.
|
|
@@ -1118,172 +959,6 @@ components:
|
|
|
1118
959
|
schema:
|
|
1119
960
|
type: string
|
|
1120
961
|
schemas:
|
|
1121
|
-
ParkingLotFeature:
|
|
1122
|
-
type: object
|
|
1123
|
-
properties:
|
|
1124
|
-
geometry:
|
|
1125
|
-
type: object
|
|
1126
|
-
description: GeoJson geometry
|
|
1127
|
-
properties:
|
|
1128
|
-
coordinates:
|
|
1129
|
-
oneOf:
|
|
1130
|
-
- type: array
|
|
1131
|
-
items:
|
|
1132
|
-
type: number
|
|
1133
|
-
example: [14.441252, 50.109318]
|
|
1134
|
-
description: Point
|
|
1135
|
-
- type: array
|
|
1136
|
-
items:
|
|
1137
|
-
type: array
|
|
1138
|
-
items:
|
|
1139
|
-
type: array
|
|
1140
|
-
items:
|
|
1141
|
-
type: number
|
|
1142
|
-
example:
|
|
1143
|
-
[[
|
|
1144
|
-
[14.50823156003554, 50.10498927328214],
|
|
1145
|
-
[14.505782430390298, 50.1031042405622],
|
|
1146
|
-
[14.509701037821998, 50.1029471511537],
|
|
1147
|
-
[14.50823156003554, 50.10498927328214]
|
|
1148
|
-
]]
|
|
1149
|
-
description: Polygon
|
|
1150
|
-
- type: array
|
|
1151
|
-
items:
|
|
1152
|
-
type: array
|
|
1153
|
-
items:
|
|
1154
|
-
type: array
|
|
1155
|
-
items:
|
|
1156
|
-
type: array
|
|
1157
|
-
items:
|
|
1158
|
-
type: number
|
|
1159
|
-
example:
|
|
1160
|
-
[
|
|
1161
|
-
[[
|
|
1162
|
-
[14.50823156003554, 50.10498927328214],
|
|
1163
|
-
[14.505782430390298, 50.1031042405622],
|
|
1164
|
-
[14.509701037821998, 50.1029471511537],
|
|
1165
|
-
[14.50823156003554, 50.10498927328214]
|
|
1166
|
-
]],
|
|
1167
|
-
[[
|
|
1168
|
-
[14.50823156003554, 50.10498927328214],
|
|
1169
|
-
[14.505782430390298, 50.1031042405622],
|
|
1170
|
-
[14.509701037821998, 50.1029471511537],
|
|
1171
|
-
[14.50823156003554, 50.10498927328214]
|
|
1172
|
-
]]
|
|
1173
|
-
]
|
|
1174
|
-
description: MultiPolygon
|
|
1175
|
-
type:
|
|
1176
|
-
type: string
|
|
1177
|
-
enum:
|
|
1178
|
-
- Point
|
|
1179
|
-
- Polygon
|
|
1180
|
-
- MultiPolygon
|
|
1181
|
-
properties:
|
|
1182
|
-
type: object
|
|
1183
|
-
properties:
|
|
1184
|
-
id:
|
|
1185
|
-
oneOf:
|
|
1186
|
-
- type: string
|
|
1187
|
-
example: tsk-143
|
|
1188
|
-
- type: integer
|
|
1189
|
-
example: 1234
|
|
1190
|
-
name:
|
|
1191
|
-
type: string
|
|
1192
|
-
example: Holešovice
|
|
1193
|
-
parking_type:
|
|
1194
|
-
type: object
|
|
1195
|
-
properties:
|
|
1196
|
-
id:
|
|
1197
|
-
type: number
|
|
1198
|
-
example: 1
|
|
1199
|
-
description:
|
|
1200
|
-
type: string
|
|
1201
|
-
example: P+R parkoviště
|
|
1202
|
-
required:
|
|
1203
|
-
- id
|
|
1204
|
-
- description
|
|
1205
|
-
num_of_free_places:
|
|
1206
|
-
type: number
|
|
1207
|
-
example: 2
|
|
1208
|
-
num_of_taken_places:
|
|
1209
|
-
type: number
|
|
1210
|
-
example: 63
|
|
1211
|
-
updated_at:
|
|
1212
|
-
type: string
|
|
1213
|
-
example: '2020-05-18T07:38:37.000Z'
|
|
1214
|
-
total_num_of_places:
|
|
1215
|
-
type: number
|
|
1216
|
-
example: 65
|
|
1217
|
-
average_occupancy:
|
|
1218
|
-
type: object
|
|
1219
|
-
properties:
|
|
1220
|
-
00:
|
|
1221
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1222
|
-
01:
|
|
1223
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1224
|
-
02:
|
|
1225
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1226
|
-
03:
|
|
1227
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1228
|
-
04:
|
|
1229
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1230
|
-
05:
|
|
1231
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1232
|
-
06:
|
|
1233
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1234
|
-
area:
|
|
1235
|
-
type: number
|
|
1236
|
-
example: 130
|
|
1237
|
-
district:
|
|
1238
|
-
type: string
|
|
1239
|
-
example: praha-10
|
|
1240
|
-
nullable: true
|
|
1241
|
-
address:
|
|
1242
|
-
type: object
|
|
1243
|
-
nullable: true
|
|
1244
|
-
properties:
|
|
1245
|
-
address_country:
|
|
1246
|
-
type: string
|
|
1247
|
-
example: Česko
|
|
1248
|
-
address_formatted:
|
|
1249
|
-
type: string
|
|
1250
|
-
example: Vrbenského, 17000 Praha Holešovice, Česko
|
|
1251
|
-
address_locality:
|
|
1252
|
-
type: string
|
|
1253
|
-
example: Praha
|
|
1254
|
-
address_region:
|
|
1255
|
-
type: string
|
|
1256
|
-
example: Holešovice
|
|
1257
|
-
postal_code:
|
|
1258
|
-
type: string
|
|
1259
|
-
example: 17000
|
|
1260
|
-
street_address:
|
|
1261
|
-
type: string
|
|
1262
|
-
example: Vrbenského
|
|
1263
|
-
house_number:
|
|
1264
|
-
type: string
|
|
1265
|
-
example: 123
|
|
1266
|
-
last_updated:
|
|
1267
|
-
type: number
|
|
1268
|
-
example: 1556868553000
|
|
1269
|
-
nullable: true
|
|
1270
|
-
payment_link:
|
|
1271
|
-
type: string
|
|
1272
|
-
example: 'https://ke-utc.appspot.com/static/onstreet.html?shortname=143'
|
|
1273
|
-
nullable: true
|
|
1274
|
-
payment_shortname:
|
|
1275
|
-
type: string
|
|
1276
|
-
example: 143
|
|
1277
|
-
nullable: true
|
|
1278
|
-
required:
|
|
1279
|
-
- id
|
|
1280
|
-
- name
|
|
1281
|
-
- num_of_free_places
|
|
1282
|
-
- num_of_taken_places
|
|
1283
|
-
- total_num_of_places
|
|
1284
|
-
type:
|
|
1285
|
-
type: string
|
|
1286
|
-
example: Feature
|
|
1287
962
|
AverageOccupancyDay:
|
|
1288
963
|
type: object
|
|
1289
964
|
properties:
|
|
@@ -1320,290 +995,64 @@ components:
|
|
|
1320
995
|
10:
|
|
1321
996
|
type: number
|
|
1322
997
|
example: 51
|
|
1323
|
-
11:
|
|
1324
|
-
type: number
|
|
1325
|
-
example: 51
|
|
1326
|
-
12:
|
|
1327
|
-
type: number
|
|
1328
|
-
example: 51
|
|
1329
|
-
13:
|
|
1330
|
-
type: number
|
|
1331
|
-
example: 51
|
|
1332
|
-
14:
|
|
1333
|
-
type: number
|
|
1334
|
-
example: 51
|
|
1335
|
-
15:
|
|
1336
|
-
type: number
|
|
1337
|
-
example: 51
|
|
1338
|
-
16:
|
|
1339
|
-
type: number
|
|
1340
|
-
example: 51
|
|
1341
|
-
17:
|
|
1342
|
-
type: number
|
|
1343
|
-
example: 48
|
|
1344
|
-
18:
|
|
1345
|
-
type: number
|
|
1346
|
-
example: 46
|
|
1347
|
-
19:
|
|
1348
|
-
type: number
|
|
1349
|
-
example: 29
|
|
1350
|
-
20:
|
|
1351
|
-
type: number
|
|
1352
|
-
example: 28
|
|
1353
|
-
21:
|
|
1354
|
-
type: number
|
|
1355
|
-
example: 29
|
|
1356
|
-
22:
|
|
1357
|
-
type: number
|
|
1358
|
-
example: 18
|
|
1359
|
-
23:
|
|
1360
|
-
type: number
|
|
1361
|
-
example: 16
|
|
1362
|
-
AverageOccupancyWeek:
|
|
1363
|
-
type: object
|
|
1364
|
-
nullable: true
|
|
1365
|
-
properties:
|
|
1366
|
-
0:
|
|
1367
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1368
|
-
1:
|
|
1369
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1370
|
-
2:
|
|
1371
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1372
|
-
3:
|
|
1373
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1374
|
-
4:
|
|
1375
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1376
|
-
5:
|
|
1377
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1378
|
-
6:
|
|
1379
|
-
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1380
|
-
description: "The day of the week (0 - 6; Sunday is 0)"
|
|
1381
|
-
ParkingLotHistory:
|
|
1382
|
-
type: object
|
|
1383
|
-
properties:
|
|
1384
|
-
id:
|
|
1385
|
-
type: string
|
|
1386
|
-
example: tsk-143
|
|
1387
|
-
num_of_free_places:
|
|
1388
|
-
type: number
|
|
1389
|
-
example: 2
|
|
1390
|
-
num_of_taken_places:
|
|
1391
|
-
type: number
|
|
1392
|
-
example: 63
|
|
1393
|
-
updated_at:
|
|
1394
|
-
type: string
|
|
1395
|
-
example: '2020-05-18T07:38:37.000Z'
|
|
1396
|
-
total_num_of_places:
|
|
1397
|
-
type: number
|
|
1398
|
-
example: 65
|
|
1399
|
-
last_updated:
|
|
1400
|
-
type: number
|
|
1401
|
-
example: 1556868553000
|
|
1402
|
-
nullable: true
|
|
1403
|
-
required:
|
|
1404
|
-
- id
|
|
1405
|
-
- name
|
|
1406
|
-
- num_of_free_places
|
|
1407
|
-
- num_of_taken_places
|
|
1408
|
-
- total_num_of_places
|
|
1409
|
-
ParkingSpaceFeature:
|
|
1410
|
-
type: object
|
|
1411
|
-
properties:
|
|
1412
|
-
geometry:
|
|
1413
|
-
type: object
|
|
1414
|
-
description: GeoJson geometry
|
|
1415
|
-
properties:
|
|
1416
|
-
|
|
1417
|
-
coordinates:
|
|
1418
|
-
oneOf:
|
|
1419
|
-
- type: array
|
|
1420
|
-
items:
|
|
1421
|
-
type: number
|
|
1422
|
-
example: [14.441252, 50.109318]
|
|
1423
|
-
description: Point
|
|
1424
|
-
- type: array
|
|
1425
|
-
items:
|
|
1426
|
-
type: array
|
|
1427
|
-
items:
|
|
1428
|
-
type: array
|
|
1429
|
-
items:
|
|
1430
|
-
type: number
|
|
1431
|
-
example:
|
|
1432
|
-
[[
|
|
1433
|
-
[14.50823156003554, 50.10498927328214],
|
|
1434
|
-
[14.505782430390298, 50.1031042405622],
|
|
1435
|
-
[14.509701037821998, 50.1029471511537],
|
|
1436
|
-
[14.50823156003554, 50.10498927328214]
|
|
1437
|
-
]]
|
|
1438
|
-
description: Polygon
|
|
1439
|
-
- type: array
|
|
1440
|
-
items:
|
|
1441
|
-
type: array
|
|
1442
|
-
items:
|
|
1443
|
-
type: array
|
|
1444
|
-
items:
|
|
1445
|
-
type: array
|
|
1446
|
-
items:
|
|
1447
|
-
type: number
|
|
1448
|
-
example:
|
|
1449
|
-
[
|
|
1450
|
-
[[
|
|
1451
|
-
[14.50823156003554, 50.10498927328214],
|
|
1452
|
-
[14.505782430390298, 50.1031042405622],
|
|
1453
|
-
[14.509701037821998, 50.1029471511537],
|
|
1454
|
-
[14.50823156003554, 50.10498927328214]
|
|
1455
|
-
]],
|
|
1456
|
-
[[
|
|
1457
|
-
[14.50823156003554, 50.10498927328214],
|
|
1458
|
-
[14.505782430390298, 50.1031042405622],
|
|
1459
|
-
[14.509701037821998, 50.1029471511537],
|
|
1460
|
-
[14.50823156003554, 50.10498927328214]
|
|
1461
|
-
]]
|
|
1462
|
-
]
|
|
1463
|
-
description: MultiPolygon
|
|
1464
|
-
type:
|
|
1465
|
-
type: string
|
|
1466
|
-
enum:
|
|
1467
|
-
- Point
|
|
1468
|
-
- Polygon
|
|
1469
|
-
- MultiPolygon
|
|
1470
|
-
properties:
|
|
1471
|
-
type: object
|
|
1472
|
-
properties:
|
|
1473
|
-
id:
|
|
1474
|
-
type: string
|
|
1475
|
-
example: 78267c44-62f1-41e8-be12-d8f919e7be20
|
|
1476
|
-
source:
|
|
1477
|
-
type: string
|
|
1478
|
-
example: tsk
|
|
1479
|
-
source_id:
|
|
1480
|
-
type: string
|
|
1481
|
-
example: "534002"
|
|
1482
|
-
data_provider:
|
|
1483
|
-
type: string
|
|
1484
|
-
nullable: true
|
|
1485
|
-
example: www.tsk-praha.cz
|
|
1486
|
-
name:
|
|
1487
|
-
type: string
|
|
1488
|
-
example: Holešovice
|
|
1489
|
-
nullable: true
|
|
1490
|
-
category:
|
|
1491
|
-
type: string
|
|
1492
|
-
nullable: true
|
|
1493
|
-
example: park_and_ride
|
|
1494
|
-
date_modified:
|
|
1495
|
-
type: string
|
|
1496
|
-
example: '2020-05-18T07:38:37.000Z'
|
|
1497
|
-
nullable: true
|
|
1498
|
-
address_formatted:
|
|
1499
|
-
type: string
|
|
1500
|
-
nullable: true
|
|
1501
|
-
example: 'Vrbenského, 17000 Praha Holešovice, Česko'
|
|
1502
|
-
address:
|
|
1503
|
-
type: object
|
|
1504
|
-
nullable: true
|
|
1505
|
-
properties:
|
|
1506
|
-
address_country:
|
|
1507
|
-
type: string
|
|
1508
|
-
example: Česko
|
|
1509
|
-
address_formatted:
|
|
1510
|
-
type: string
|
|
1511
|
-
example: Vrbenského, 17000 Praha Holešovice, Česko
|
|
1512
|
-
address_locality:
|
|
1513
|
-
type: string
|
|
1514
|
-
example: Praha
|
|
1515
|
-
address_region:
|
|
1516
|
-
type: string
|
|
1517
|
-
example: Holešovice
|
|
1518
|
-
postal_code:
|
|
1519
|
-
type: string
|
|
1520
|
-
example: 17000
|
|
1521
|
-
street_address:
|
|
1522
|
-
type: string
|
|
1523
|
-
example: Vrbenského
|
|
1524
|
-
house_number:
|
|
1525
|
-
type: string
|
|
1526
|
-
example: 123
|
|
1527
|
-
area_served:
|
|
1528
|
-
type: string
|
|
1529
|
-
nullable: true
|
|
1530
|
-
web_app_payment_url:
|
|
1531
|
-
type: string
|
|
1532
|
-
nullable: true
|
|
1533
|
-
example: 'https://ke-utc.appspot.com/static/select_offstreet.html?shortname=139'
|
|
1534
|
-
android_app_payment_url:
|
|
1535
|
-
type: string
|
|
1536
|
-
nullable: true
|
|
1537
|
-
ios_app_payment_url:
|
|
1538
|
-
type: string
|
|
1539
|
-
nullable: true
|
|
1540
|
-
total_spot_number:
|
|
1541
|
-
type: number
|
|
1542
|
-
example: 74
|
|
1543
|
-
tariff_id:
|
|
1544
|
-
type: string
|
|
1545
|
-
nullable: true
|
|
1546
|
-
example: 20
|
|
1547
|
-
valid_from:
|
|
1548
|
-
type: string
|
|
1549
|
-
nullable: true
|
|
1550
|
-
example: '2020-05-31T00:00:00.000Z'
|
|
1551
|
-
valid_to:
|
|
1552
|
-
type: string
|
|
1553
|
-
nullable: true
|
|
1554
|
-
example: '2022-05-31T00:00:00.000Z'
|
|
1555
|
-
parking_type:
|
|
1556
|
-
type: string
|
|
1557
|
-
enum:
|
|
1558
|
-
- park_and_ride
|
|
1559
|
-
- park_paid_private
|
|
1560
|
-
- on_street
|
|
1561
|
-
- park_sharing
|
|
1562
|
-
- disabled_parking
|
|
1563
|
-
- underground
|
|
1564
|
-
- other
|
|
1565
|
-
zone_type:
|
|
1566
|
-
type: string
|
|
1567
|
-
nullable: true
|
|
1568
|
-
enum:
|
|
1569
|
-
- zone_residential
|
|
1570
|
-
- zone_mixed
|
|
1571
|
-
- zone_visitors
|
|
1572
|
-
- zone_other
|
|
1573
|
-
- zone_free
|
|
1574
|
-
- null
|
|
1575
|
-
centroid:
|
|
1576
|
-
type: object
|
|
1577
|
-
properties:
|
|
1578
|
-
type:
|
|
1579
|
-
type: string
|
|
1580
|
-
example: Point
|
|
1581
|
-
coordinates:
|
|
1582
|
-
type: array
|
|
1583
|
-
items:
|
|
1584
|
-
type: number
|
|
1585
|
-
example: [14.441252, 50.109318]
|
|
1586
|
-
available_spots_last_updated:
|
|
1587
|
-
type: number
|
|
1588
|
-
nullable: true
|
|
1589
|
-
example: '2021-03-01T00:19:47+01:00'
|
|
1590
|
-
available_spots_number:
|
|
1591
|
-
type: number
|
|
1592
|
-
nullable: true
|
|
1593
|
-
example: 17
|
|
1594
|
-
required:
|
|
1595
|
-
- id
|
|
1596
|
-
- source
|
|
1597
|
-
- source_id
|
|
1598
|
-
- name
|
|
1599
|
-
- date_modified
|
|
1600
|
-
- parking_type
|
|
1601
|
-
- centroid
|
|
1602
|
-
- available_spots_last_updated
|
|
1603
|
-
- available_spots_number
|
|
1604
|
-
type:
|
|
1605
|
-
type: string
|
|
1606
|
-
example: Feature
|
|
998
|
+
11:
|
|
999
|
+
type: number
|
|
1000
|
+
example: 51
|
|
1001
|
+
12:
|
|
1002
|
+
type: number
|
|
1003
|
+
example: 51
|
|
1004
|
+
13:
|
|
1005
|
+
type: number
|
|
1006
|
+
example: 51
|
|
1007
|
+
14:
|
|
1008
|
+
type: number
|
|
1009
|
+
example: 51
|
|
1010
|
+
15:
|
|
1011
|
+
type: number
|
|
1012
|
+
example: 51
|
|
1013
|
+
16:
|
|
1014
|
+
type: number
|
|
1015
|
+
example: 51
|
|
1016
|
+
17:
|
|
1017
|
+
type: number
|
|
1018
|
+
example: 48
|
|
1019
|
+
18:
|
|
1020
|
+
type: number
|
|
1021
|
+
example: 46
|
|
1022
|
+
19:
|
|
1023
|
+
type: number
|
|
1024
|
+
example: 29
|
|
1025
|
+
20:
|
|
1026
|
+
type: number
|
|
1027
|
+
example: 28
|
|
1028
|
+
21:
|
|
1029
|
+
type: number
|
|
1030
|
+
example: 29
|
|
1031
|
+
22:
|
|
1032
|
+
type: number
|
|
1033
|
+
example: 18
|
|
1034
|
+
23:
|
|
1035
|
+
type: number
|
|
1036
|
+
example: 16
|
|
1037
|
+
AverageOccupancyWeek:
|
|
1038
|
+
type: object
|
|
1039
|
+
nullable: true
|
|
1040
|
+
properties:
|
|
1041
|
+
0:
|
|
1042
|
+
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1043
|
+
1:
|
|
1044
|
+
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1045
|
+
2:
|
|
1046
|
+
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1047
|
+
3:
|
|
1048
|
+
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1049
|
+
4:
|
|
1050
|
+
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1051
|
+
5:
|
|
1052
|
+
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1053
|
+
6:
|
|
1054
|
+
$ref: '#/components/schemas/AverageOccupancyDay'
|
|
1055
|
+
description: "The day of the week (0 - 6; Sunday is 0)"
|
|
1607
1056
|
ParkingMeasurement:
|
|
1608
1057
|
title: Parking Measurement
|
|
1609
1058
|
type: object
|
|
@@ -2752,3 +2201,201 @@ components:
|
|
|
2752
2201
|
type: string
|
|
2753
2202
|
nullable: true
|
|
2754
2203
|
example: "https://www.liberec.cz/cz/prakticke-informace/doprava-udrzba-komunikaci/parkovaci-mista/parkovaci-mista.html"
|
|
2204
|
+
ParkingSpaceFeature:
|
|
2205
|
+
type: object
|
|
2206
|
+
properties:
|
|
2207
|
+
geometry:
|
|
2208
|
+
type: object
|
|
2209
|
+
description: GeoJson geometry
|
|
2210
|
+
properties:
|
|
2211
|
+
|
|
2212
|
+
coordinates:
|
|
2213
|
+
oneOf:
|
|
2214
|
+
- type: array
|
|
2215
|
+
items:
|
|
2216
|
+
type: number
|
|
2217
|
+
example: [14.441252, 50.109318]
|
|
2218
|
+
description: Point
|
|
2219
|
+
- type: array
|
|
2220
|
+
items:
|
|
2221
|
+
type: array
|
|
2222
|
+
items:
|
|
2223
|
+
type: array
|
|
2224
|
+
items:
|
|
2225
|
+
type: number
|
|
2226
|
+
example:
|
|
2227
|
+
[[
|
|
2228
|
+
[14.50823156003554, 50.10498927328214],
|
|
2229
|
+
[14.505782430390298, 50.1031042405622],
|
|
2230
|
+
[14.509701037821998, 50.1029471511537],
|
|
2231
|
+
[14.50823156003554, 50.10498927328214]
|
|
2232
|
+
]]
|
|
2233
|
+
description: Polygon
|
|
2234
|
+
- type: array
|
|
2235
|
+
items:
|
|
2236
|
+
type: array
|
|
2237
|
+
items:
|
|
2238
|
+
type: array
|
|
2239
|
+
items:
|
|
2240
|
+
type: array
|
|
2241
|
+
items:
|
|
2242
|
+
type: number
|
|
2243
|
+
example:
|
|
2244
|
+
[
|
|
2245
|
+
[[
|
|
2246
|
+
[14.50823156003554, 50.10498927328214],
|
|
2247
|
+
[14.505782430390298, 50.1031042405622],
|
|
2248
|
+
[14.509701037821998, 50.1029471511537],
|
|
2249
|
+
[14.50823156003554, 50.10498927328214]
|
|
2250
|
+
]],
|
|
2251
|
+
[[
|
|
2252
|
+
[14.50823156003554, 50.10498927328214],
|
|
2253
|
+
[14.505782430390298, 50.1031042405622],
|
|
2254
|
+
[14.509701037821998, 50.1029471511537],
|
|
2255
|
+
[14.50823156003554, 50.10498927328214]
|
|
2256
|
+
]]
|
|
2257
|
+
]
|
|
2258
|
+
description: MultiPolygon
|
|
2259
|
+
type:
|
|
2260
|
+
type: string
|
|
2261
|
+
enum:
|
|
2262
|
+
- Point
|
|
2263
|
+
- Polygon
|
|
2264
|
+
- MultiPolygon
|
|
2265
|
+
properties:
|
|
2266
|
+
type: object
|
|
2267
|
+
properties:
|
|
2268
|
+
id:
|
|
2269
|
+
type: string
|
|
2270
|
+
example: 78267c44-62f1-41e8-be12-d8f919e7be20
|
|
2271
|
+
source:
|
|
2272
|
+
type: string
|
|
2273
|
+
example: tsk
|
|
2274
|
+
source_id:
|
|
2275
|
+
type: string
|
|
2276
|
+
example: "534002"
|
|
2277
|
+
data_provider:
|
|
2278
|
+
type: string
|
|
2279
|
+
nullable: true
|
|
2280
|
+
example: www.tsk-praha.cz
|
|
2281
|
+
name:
|
|
2282
|
+
type: string
|
|
2283
|
+
example: Holešovice
|
|
2284
|
+
nullable: true
|
|
2285
|
+
category:
|
|
2286
|
+
type: string
|
|
2287
|
+
nullable: true
|
|
2288
|
+
example: park_and_ride
|
|
2289
|
+
date_modified:
|
|
2290
|
+
type: string
|
|
2291
|
+
example: '2020-05-18T07:38:37.000Z'
|
|
2292
|
+
nullable: true
|
|
2293
|
+
address_formatted:
|
|
2294
|
+
type: string
|
|
2295
|
+
nullable: true
|
|
2296
|
+
example: 'Vrbenského, 17000 Praha Holešovice, Česko'
|
|
2297
|
+
address:
|
|
2298
|
+
type: object
|
|
2299
|
+
nullable: true
|
|
2300
|
+
properties:
|
|
2301
|
+
address_country:
|
|
2302
|
+
type: string
|
|
2303
|
+
example: Česko
|
|
2304
|
+
address_formatted:
|
|
2305
|
+
type: string
|
|
2306
|
+
example: Vrbenského, 17000 Praha Holešovice, Česko
|
|
2307
|
+
address_locality:
|
|
2308
|
+
type: string
|
|
2309
|
+
example: Praha
|
|
2310
|
+
address_region:
|
|
2311
|
+
type: string
|
|
2312
|
+
example: Holešovice
|
|
2313
|
+
postal_code:
|
|
2314
|
+
type: string
|
|
2315
|
+
example: 17000
|
|
2316
|
+
street_address:
|
|
2317
|
+
type: string
|
|
2318
|
+
example: Vrbenského
|
|
2319
|
+
house_number:
|
|
2320
|
+
type: string
|
|
2321
|
+
example: 123
|
|
2322
|
+
area_served:
|
|
2323
|
+
type: string
|
|
2324
|
+
nullable: true
|
|
2325
|
+
web_app_payment_url:
|
|
2326
|
+
type: string
|
|
2327
|
+
nullable: true
|
|
2328
|
+
example: 'https://ke-utc.appspot.com/static/select_offstreet.html?shortname=139'
|
|
2329
|
+
android_app_payment_url:
|
|
2330
|
+
type: string
|
|
2331
|
+
nullable: true
|
|
2332
|
+
ios_app_payment_url:
|
|
2333
|
+
type: string
|
|
2334
|
+
nullable: true
|
|
2335
|
+
total_spot_number:
|
|
2336
|
+
type: number
|
|
2337
|
+
example: 74
|
|
2338
|
+
tariff_id:
|
|
2339
|
+
type: string
|
|
2340
|
+
nullable: true
|
|
2341
|
+
example: 20
|
|
2342
|
+
valid_from:
|
|
2343
|
+
type: string
|
|
2344
|
+
nullable: true
|
|
2345
|
+
example: '2020-05-31T00:00:00.000Z'
|
|
2346
|
+
valid_to:
|
|
2347
|
+
type: string
|
|
2348
|
+
nullable: true
|
|
2349
|
+
example: '2022-05-31T00:00:00.000Z'
|
|
2350
|
+
parking_type:
|
|
2351
|
+
type: string
|
|
2352
|
+
enum:
|
|
2353
|
+
- park_and_ride
|
|
2354
|
+
- park_paid_private
|
|
2355
|
+
- on_street
|
|
2356
|
+
- park_sharing
|
|
2357
|
+
- disabled_parking
|
|
2358
|
+
- underground
|
|
2359
|
+
- other
|
|
2360
|
+
zone_type:
|
|
2361
|
+
type: string
|
|
2362
|
+
nullable: true
|
|
2363
|
+
enum:
|
|
2364
|
+
- zone_residential
|
|
2365
|
+
- zone_mixed
|
|
2366
|
+
- zone_visitors
|
|
2367
|
+
- zone_other
|
|
2368
|
+
- zone_free
|
|
2369
|
+
- null
|
|
2370
|
+
centroid:
|
|
2371
|
+
type: object
|
|
2372
|
+
properties:
|
|
2373
|
+
type:
|
|
2374
|
+
type: string
|
|
2375
|
+
example: Point
|
|
2376
|
+
coordinates:
|
|
2377
|
+
type: array
|
|
2378
|
+
items:
|
|
2379
|
+
type: number
|
|
2380
|
+
example: [14.441252, 50.109318]
|
|
2381
|
+
available_spots_last_updated:
|
|
2382
|
+
type: number
|
|
2383
|
+
nullable: true
|
|
2384
|
+
example: '2021-03-01T00:19:47+01:00'
|
|
2385
|
+
available_spots_number:
|
|
2386
|
+
type: number
|
|
2387
|
+
nullable: true
|
|
2388
|
+
example: 17
|
|
2389
|
+
required:
|
|
2390
|
+
- id
|
|
2391
|
+
- source
|
|
2392
|
+
- source_id
|
|
2393
|
+
- name
|
|
2394
|
+
- date_modified
|
|
2395
|
+
- parking_type
|
|
2396
|
+
- centroid
|
|
2397
|
+
- available_spots_last_updated
|
|
2398
|
+
- available_spots_number
|
|
2399
|
+
type:
|
|
2400
|
+
type: string
|
|
2401
|
+
example: Feature
|