-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d3f7ca
commit 65065a3
Showing
25 changed files
with
1,477 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
models/java/gbfs-java-model/src/test/resources/v2_X/free_bike_status.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"last_updated": 1606857968, | ||
"ttl": 300, | ||
"version": "2.2", | ||
"data": { | ||
"bikes": [ | ||
{ | ||
"bike_id": "TST:Scooter:1234", | ||
"lat": 59.91465759277344, | ||
"lon": 10.760470390319824, | ||
"is_reserved": false, | ||
"is_disabled": true, | ||
"vehicle_type_id": "TST:VehicleType:Scooter", | ||
"current_range_meters": 1431.2, | ||
"pricing_plan_id": "TST:PricingPlan:Basic", | ||
"rental_uris": { | ||
"android": "test://rentme/TST:Scooter:1234", | ||
"ios": "test://rentme/TST:Scooter:1234", | ||
"web": "https://test.com/rentme/TST:Scooter:1234" | ||
} | ||
} | ||
] | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
models/java/gbfs-java-model/src/test/resources/v2_X/gbfs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"last_updated": 1606727710, | ||
"ttl": 300, | ||
"version": "2.2", | ||
"data": { | ||
"en": { | ||
"feeds": [ | ||
{ | ||
"name": "gbfs_versions", | ||
"url": "https://test.com/gbfs_versions" | ||
}, | ||
{ | ||
"name": "system_information", | ||
"url": "https://test.com/system_information" | ||
}, | ||
{ | ||
"name": "vehicle_types", | ||
"url": "https://test.com/vehicle_types" | ||
}, | ||
{ | ||
"name": "station_information", | ||
"url": "https://test.com/station_information" | ||
}, | ||
{ | ||
"name": "station_status", | ||
"url": "https://test.com/station_status" | ||
}, | ||
{ | ||
"name": "free_bike_status", | ||
"url": "https://test.com/free_bike_status" | ||
}, | ||
{ | ||
"name": "system_regions", | ||
"url": "https://test.com/system_regions" | ||
}, | ||
{ | ||
"name": "system_pricing_plans", | ||
"url": "https://test.com/system_pricing_plans" | ||
}, | ||
{ | ||
"name": "system_hours", | ||
"url": "https://test.com/system_hours" | ||
}, | ||
{ | ||
"name": "system_calendar", | ||
"url": "https://test.com/system_calendar" | ||
}, | ||
{ | ||
"name": "system_alerts", | ||
"url": "https://test.com/system_alerts" | ||
}, | ||
{ | ||
"name": "geofencing_zones", | ||
"url": "https://test.com/geofencing_zones" | ||
} | ||
] | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
models/java/gbfs-java-model/src/test/resources/v2_X/gbfs_versions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"last_updated": 1434054678, | ||
"ttl": 0, | ||
"version": "2.2", | ||
"data": { | ||
"versions": [ | ||
{ | ||
"version":"2.2", | ||
"url":"https://test.com/gbfs.json" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.