Skip to content

Commit

Permalink
add missing rates data
Browse files Browse the repository at this point in the history
  • Loading branch information
David Juan Ahullana committed Jun 21, 2022
1 parent 7f1ce2f commit 73e1e38
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,25 @@ id => rate_id
location_id => provider key + '-' + parking_id (example: pk-139)
price => parking_rate (should be the smallest currency unit = INT)
currency => 'EUR' in case of parkimeter, 'USD' in case of parkmobile
vehicle_types => vehicle_types
access_type => access_type
description => description
```

List of possible vehicle_types:

```
PARKIMETER - PARKMOBILE
car = vehicle
motorcycle = motorcycle
van = n/a
n/a = oversized
```

List of possible access_type:

```
PARKIMETER - PARKMOBILE
onepass = onepass (booking is over after stop_time or after the vehicle leaves)
multipass = n/a (booking is over after stop_time)
```
10 changes: 8 additions & 2 deletions data/parkimeter/rates.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,19 @@
"id": "7272",
"location_id": "pk-139",
"price": 2053,
"currency": "EUR"
"currency": "EUR",
"vehicle_types": ["car", "motorcycle"],
"access_type": "onepass",
"description": "1 day"
},
{
"id": "5308",
"location_id": "pk-1585",
"price": 1820,
"currency": "EUR"
"currency": "EUR",
"vehicle_types": ["car", "motorcycle"],
"access_type": "multipass",
"description": "1 day"
}
]
}

0 comments on commit 73e1e38

Please sign in to comment.