linked-places-format
linked-places-format copied to clipboard
Add JSON Schema
The structure of this format seems to be documented only through examples and the documentation (e.g. which fields are required, what they must contain...). An additional JSON Schema may help to validate records and guide data creation and curation.
Hi @nichtich, I think all of this will come, with time :-) (@kgeographer will know more.) But for the mean time, there is this (interim?) schema that some have started to use for validation:
https://github.com/kgeographer/whgazetteer/blob/master/datasets/static/lpf-schema.json
@nichtich Yes, the link is to the last schema I used internally for WHG. The LP model has changed slightly since, so I need to a) update for my internal use, and b) create a CLI python script so anyone can do it. It's a little tricky because so many elements are optional; I'm on the move and expect to have this done within a few weeks. The LP model has seen slight modifications in response to more examples of contributor data.
Ah, I didn't spot this, and have drafted an as-yet somewhat unorthodox version here that includes various comments and proposals. At @kgeographer's invitation I'm going to add the proposals as Issues on this repo.