Skip to content

Commit

Permalink
Merge pull request richcfml#8 from ChrisPowellRinggo/ringgo-implement…
Browse files Browse the repository at this point in the history
…ation

Added Ringgo tarrif, location and availablity data
  • Loading branch information
richcfml authored Jun 21, 2022
2 parents f62dce6 + 7e33ef3 commit 47ee4fd
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
15 changes: 10 additions & 5 deletions data/parkimeter/availability.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@
"count": 100
},
{
"id": "ringgo-1901",
"available": true,
"count": null
},
{
"id": "pm-12345",
"available": true,
"count": 10
},
{
"count": 10
},
{
"id": "pm-98764",
"available": true,
"count": 1000
}
"count": 1000
}
]
}
8 changes: 8 additions & 0 deletions data/parkimeter/locations.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"latitude": 41.705038,
"longitude": 2.835432,
"cover_image": "https://media.parkimeter.com/images/parkings/medium/1585-b069e965a6210931674ac8d7f8fa6eab.jpg"
},
{
"id": "ringgo-1901",
"name": "Central Car Park, Basingstoke",
"address": "4 London Street, RG21 7NU",
"latitude": 51.26358,
"longitude": -1.08507,
"cover_image": null
}
]
}
9 changes: 9 additions & 0 deletions data/parkimeter/rates.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@
"vehicle_types": ["Standard Auto"],
"access_type": "onepass",
"description": "Default parking rate for Product"
},
{
"id": "8000",
"location_id": "ringgo-333892",
"price": 1500,
"currency": "GBP",
"vehicle_types": ["car"],
"access_type": null,
"description": "All day 24 hours"
}
]
}
2 changes: 1 addition & 1 deletion swagger.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
openapi: 3.0.1
openapi: 3.1.0
info:
title: Reservations/Bookings
description: API to work with X in the area
Expand Down

0 comments on commit 47ee4fd

Please sign in to comment.