Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

city_schema.json outdated(?) #219

Closed
hbruch opened this issue Dec 5, 2020 · 3 comments
Closed

city_schema.json outdated(?) #219

hbruch opened this issue Dec 5, 2020 · 3 comments

Comments

@hbruch
Copy link
Contributor

hbruch commented Dec 5, 2020

I just took a closer look into city_schema.json, trying to validate Herrenberg ParkAPI output against it. It seems to me that this schema is completely outdated and does not match the current interface any longer (coords are nested in the API, but flat in schema, count is named total and some further differences). Am I wrong to suppose it should validate the output of a city request like e.g. https://api.parkendd.de/Ulm?

@jklmnn
Copy link
Member

jklmnn commented Dec 5, 2020

This schema is indeed outdated. I have a status repository that I use to check the API status which currently validates all cities. We have to update the specs in this repository. In the meantime you can use https://github.com/jklmnn/parkendd-status/blob/master/schema_city.json (although the API might contain fields that are not present in this schema).

@jklmnn
Copy link
Member

jklmnn commented Jan 6, 2021

Is this solved for you with #220?

@hbruch
Copy link
Contributor Author

hbruch commented Jan 6, 2021

Indeed, it is.

@hbruch hbruch closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants