ukhsa-collaboration / covid19-app-system-public

COVID19 app backend
Other
202 stars 53 forks source link

postDistricts value an object or array? #15

Closed vls29 closed 3 years ago

vls29 commented 3 years ago

https://github.com/nhsx/covid19-app-system-public/blob/a41ee3c966c4f59ff0b1e7c3ff8aeb70b1c2d312/src/static/risky-post-districts.json#L2

Hi,

Is postDistricts in the above code snippet supposed to be an object or array?

nhs-covid19 commented 3 years ago

Thanks for your interest in the NHS Covid-19 project. This is a mapping from postcode to risk level, so a JSON object seems like a suitable data structure.