Skip to content

Commit 7ca49d6

Browse files
committed
fix: fix invalid station_id references
1 parent aecc388 commit 7ca49d6

File tree

6 files changed

+28
-8
lines changed

6 files changed

+28
-8
lines changed

gbfs-validator-java/src/test/resources/fixtures/v2.2/station_information.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,24 @@
55
"data": {
66
"stations": [
77
{
8-
"station_id": "pga",
8+
"station_id": "station1",
99
"name": "Parking garage A",
1010
"lat": 12.345678,
1111
"lon": 45.678901,
1212
"vehicle_type_capacity": {
1313
"abc123": 7,
1414
"def456": 9
1515
}
16+
},
17+
{
18+
"station_id": "station2",
19+
"name": "SE Belmont & SE 10th",
20+
"lat": 45.516445,
21+
"lon": -122.655775,
22+
"vehicle_type_capacity": {
23+
"abc123": 0,
24+
"def456": 0
25+
}
1626
}
1727
]
1828
}

gbfs-validator-java/src/test/resources/fixtures/v2.2/station_information_virtual.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"data":{
66
"stations":[
77
{
8-
"station_id":"station12",
8+
"station_id":"station2",
99
"station_name":"SE Belmont & SE 10 th ",
1010
"is_valet_station":false,
1111
"is_virtual_station":true,

gbfs-validator-java/src/test/resources/fixtures/v2.2/station_status.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"data": {
66
"stations": [
77
{
8-
"station_id": "station 1",
8+
"station_id": "station1",
99
"is_installed": true,
1010
"is_renting": true,
1111
"is_returning": true,
@@ -27,7 +27,7 @@
2727
"count": 0
2828
}]
2929
}, {
30-
"station_id": "station 2",
30+
"station_id": "station2",
3131
"is_installed": true,
3232
"is_renting": true,
3333
"is_returning": true,

gbfs-validator-java/src/test/resources/fixtures/v2.3/station_information.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"data": {
66
"stations": [
77
{
8-
"station_id": "pga",
8+
"station_id": "station1",
99
"name": "Parking garage A",
1010
"lat": 12.345678,
1111
"lon": 45.678901,
@@ -17,6 +17,16 @@
1717
"abc123": 7,
1818
"def456": 9
1919
}
20+
},
21+
{
22+
"station_id": "station2",
23+
"name": "SE Belmont & SE 10th",
24+
"lat": 45.516445,
25+
"lon": -122.655775,
26+
"vehicle_type_capacity": {
27+
"abc123": 0,
28+
"def456": 0
29+
}
2030
}
2131
]
2232
}

gbfs-validator-java/src/test/resources/fixtures/v2.3/station_information_virtual.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"data": {
66
"stations": [
77
{
8-
"station_id": "station12",
8+
"station_id": "station2",
99
"name": "SE Belmont & SE 10 th",
1010
"lat": 45.516445,
1111
"lon": -122.655775,

gbfs-validator-java/src/test/resources/fixtures/v3.0/station_information.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"data": {
66
"stations": [
77
{
8-
"station_id": "pga",
8+
"station_id": "station1",
99
"name": [
1010
{
1111
"text": "Parking garage A",
@@ -31,7 +31,7 @@
3131
]
3232
},
3333
{
34-
"station_id": "station12",
34+
"station_id": "station2",
3535
"name": [
3636
{
3737
"text": "SE Belmont & SE 10th",

0 commit comments

Comments
 (0)