Skip to content
17 changes: 17 additions & 0 deletions models/rust/src/3.1_RC2/files/examples/specification/gbfs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"last_updated": "2023-07-17T13:34:13+02:00",
"ttl": 300,
"version": "3.1-RC",
"data": {
"feeds": [
{
"name": "system_information",
"url": "https://www.example.com/gbfs/1/system_information"
},
{
"name": "station_information",
"url": "https://www.example.com/gbfs/1/station_information"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"last_updated": "2023-07-17T13:34:13+02:00",
"ttl": 300,
"version": "3.1-RC",
"data": {
"versions": [
{
"version": "2.0",
"url": "https://www.example.com/gbfs/2/gbfs"
},
{
"version": "3.1-RC",
"url": "https://www.example.com/gbfs/3.1-RC/gbfs"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"last_updated": "2023-07-17T13:34:13+02:00",
"ttl": 300,
"version": "3.1-RC",
"data": {
"geofencing_zones": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-122.578067,
45.562982
],
[
-122.661838,
45.562741
],
[
-122.661151,
45.504542
],
[
-122.578926,
45.5046625
],
[
-122.578067,
45.562982
]
]
]
]
},
"properties": {
"name": [
{
"text": "NE 24th/NE Knott",
"language": "en"
}
],
"start": "2023-07-17T13:34:13+02:00",
"end": "2024-07-18T13:34:13+02:00",
"rules": [
{
"vehicle_type_ids": [
"moped1",
"car1"
],
"ride_start_allowed": true,
"ride_end_allowed": true,
"ride_through_allowed": true,
"maximum_speed_kph": 10,
"station_parking": true
}
]
}
}
]
},
"global_rules": [
{
"ride_start_allowed": false,
"ride_end_allowed": false,
"ride_through_allowed": true
}
]
}
}
115 changes: 115 additions & 0 deletions models/rust/src/3.1_RC2/files/examples/specification/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
{
"last_updated": "2023-07-17T13:34:13+02:00",
"ttl": 300,
"version": "3.1-RC",
"data": {
"datasets": [
{
"system_id": "example_berlin",
"versions": [
{
"version": "2.0",
"url": "https://berlin.example.com/gbfs/2/gbfs"
},
{
"version": "3.1-RC",
"url": "https://berlin.example.com/gbfs/3.1-RC/gbfs"
}
],
"area": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
13.10821,
52.58563
],
[
13.29743,
52.67046
],
[
13.48451,
52.6855
],
[
13.77993,
52.43458
],
[
13.65355,
52.33048
],
[
13.08165,
52.38793
],
[
13.10821,
52.58563
]
]
]
]
},
"country_code": "DE"
},
{
"system_id": "example_paris",
"versions": [
{
"version": "2.0",
"url": "https://paris.example.com/gbfs/2/gbfs"
},
{
"version": "3.1-RC",
"url": "https://paris.example.com/gbfs/3.1-RC/gbfs"
}
],
"area": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
2.14306,
48.89971
],
[
2.36707,
48.99455
],
[
2.60219,
49.01987
],
[
2.615,
48.69025
],
[
2.52167,
48.6867
],
[
2.26838,
48.73275
],
[
2.13103,
48.80833
],
[
2.14306,
48.89971
]
]
]
]
},
"country_code": "FR"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"last_updated": "2023-07-17T13:34:13+02:00",
"ttl": 300,
"version": "3.1-RC",
"data": {
"stations": [
{
"station_id": "pga",
"name": [
{
"text": "Parking garage A",
"language": "en"
}
],
"lat": 12.345678,
"lon": 45.678901,
"station_opening_hours": "Su-Th 05:00-22:00; Fr-Sa 05:00-01:00",
"parking_type": "underground_parking",
"parking_hoop": false,
"contact_phone": "+33109874321",
"is_charging_station": true,
"vehicle_docks_capacity": [
{
"vehicle_type_ids": [
"abc123"
],
"count": 7
}
]
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"last_updated": "2023-07-17T13:34:13+02:00",
"ttl": 300,
"version": "3.1-RC",
"data": {
"stations": [
{
"station_id": "station12",
"name": [
{
"text": "SE Belmont & SE 10th",
"language": "en"
}
],
"lat": 45.516445,
"lon": -122.655775,
"city": "Portland, OR",
"is_valet_station": false,
"is_virtual_station": true,
"is_charging_station": false,
"station_area": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-122.655775,
45.516445
],
[
-122.655705,
45.516445
],
[
-122.655705,
45.516495
],
[
-122.655775,
45.516495
],
[
-122.655775,
45.516445
]
]
]
]
},
"capacity": 16,
"vehicle_types_capacity": [
{
"vehicle_type_ids": [
"abc123",
"def456"
],
"count": 15
},
{
"vehicle_type_ids": [
"def456"
],
"count": 1
}
]
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"last_updated": "2023-07-17T13:34:13+02:00",
"ttl": 300,
"version": "3.1-RC",
"data": {
"stations": [
{
"station_id": "425",
"name": [
{
"text": "Coppertail",
"language": "en"
}
],
"lat": 27.956333,
"lon": -82.430436,
"rental_uris": {
"android": "https://www.example.com/app?sid=1234567890&platform=android",
"ios": "https://www.example.com/app?sid=1234567890&platform=ios"
}
}
]
}
}
Loading
Loading