Hello, everyone. I've just finished drafting a JSON Schema for the Linked Places format, following
Karl's written specification as closely as I could, but including proposals for a few additional properties.
JSON Schema provides a means to specify a data model in both human- and machine-readable form, and the schema can be enriched with descriptions and examples for each data property.
Gethin and I needed a schema for validating the datasets that we're producing for our Peripleo-based visualisation project (British Library + Rainer), but it seems to me that it could also serve as a practical basis for discussion and building on Karl's original specification. I've uploaded the draft version to GitHub
here, and have embedded notes where things need some discussion. I wonder if the 'Public' repository settings will allow us to do that using the [
Issues] tab without adding you all as Collaborators?
I've also produced a JSON Schema for what I'm calling at the moment xLP (Extended Linked Places), which has further additional properties (for Google indexing and
CSL-JSON citations) that we may want to consider absorbing into a new standard LP. You can find that
here.
None of the online validators that I've found yet supports the most recent JSON Schema draft specification: the most up-to-date one seems to be at
https://www.jsonschemavalidator.net/. You can see it working on a rather messy patchwork of our data
here.
All the best,
Stephen