Skip to content

Commit

Permalink
feat: Add supporting files for Rhondda Cynon Taff Council
Browse files Browse the repository at this point in the history
  • Loading branch information
dp247 authored and OliverCullimore committed Oct 11, 2023
1 parent b096442 commit 623d5c5
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/Welcome1",
"definitions": {
"Welcome1": {
"type": "object",
"additionalProperties": false,
"properties": {
"bins": {
"type": "array",
"items": {
"$ref": "#/definitions/Bin"
}
}
},
"required": [
"bins"
],
"title": "Welcome1"
},
"Bin": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"collectionDate": {
"type": "string"
}
},
"required": [
"collectionDate",
"type"
],
"title": "Bin"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Feature: Test each council output matches expected results in /outputs
| NorthumberlandCouncil |
| PrestonCityCouncil |
| ReigateAndBansteadBoroughCouncil |
| RhonddaCynonTaffCouncil |
| RochdaleCouncil |
| RushcliffeBoroughCouncil |
| RushmoorCouncil |
Expand Down
7 changes: 7 additions & 0 deletions uk_bin_collection/tests/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,13 @@
"wiki_name": "Reigate and Banstead Borough Council",
"wiki_note": "To get the UPRN, you can use [FindMyAddress](https://www.findmyaddress.co.uk/search)"
},
"RhonddaCynonTaffCouncil": {
"SKIP_GET_URL": "SKIP_GET_URL",
"uprn": "100100778320",
"url": "https://www.rctcbc.gov.uk/EN/Resident/RecyclingandWaste/RecyclingandWasteCollectionDays.aspx",
"wiki_name": "Rhondda Cynon Taff Council",
"wiki_note": "To get the UPRN, you can use [FindMyAddress](https://www.findmyaddress.co.uk/search)"
},
"RochdaleCouncil": {
"SKIP_GET_URL": "SKIP_GET_URL",
"postcode": "OL11 5BE",
Expand Down
20 changes: 20 additions & 0 deletions uk_bin_collection/tests/outputs/RhonddaCynonTaffCouncil.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"bins": [
{
"type": "Recycling",
"collectionDate": "17/10/2023"
},
{
"type": "Garden Waste",
"collectionDate": "17/10/2023"
},
{
"type": "Food Waste",
"collectionDate": "17/10/2023"
},
{
"type": "Black Bags",
"collectionDate": "24/10/2023"
}
]
}

0 comments on commit 623d5c5

Please sign in to comment.