Skip to content

Commit

Permalink
test resources re-added
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro100 committed Apr 29, 2024
1 parent 0d3f7ca commit 65065a3
Show file tree
Hide file tree
Showing 25 changed files with 1,477 additions and 0 deletions.
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 models/java/gbfs-java-model/src/test/resources/v2_X/gbfs.json
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"
}
]
}
}
}
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"
}
]
}
}
Loading

0 comments on commit 65065a3

Please sign in to comment.