Closed jenkin closed 1 year ago
I'm not sure if this project is still active, but wanted to say awesome work. Whether it lives in this repo or another, I think the community would definitely benefit from the new schema you defined.
@jenkin cool! Yep, let's go, let's PR, this can be useful for others :)
This repo is indeed not very active, but we do use this spec and does not have other needs yet and I personally do not have the time/energy at the moment to finish the move and release a proper spec, but if you, both, have time, please go ahead :)
@yohanboniface I have no experience in publishing proper spec, but we can try to release this draft as a v1.
I'm working on an OpenAPI spec of Openstreetmap Nominatim API, describing the GeocodeJSON format using JSON Schema.
In #21 @DanielJDufour had already proposed the idea of defining a json schema for gecodejson.
Here you can find a draft of GeocodeJSON schema modeling the spec: https://github.com/jenkin/geocodejson-spec/blob/feature/json-schema/src/geocodejson.schema.json (also deferenced and bundled).
So in a custom schema you can refer to the official one using
$ref
attribute (ie. in an openapi spec).I know this project is quite dormant, but if you want I can open a PR from this branch.