Schema definitions
Table Schema is a standard for writing data schemas. It allows for a formal definition of what the columns should be in a dataset, and what type of data can be in each column.
This allows us to validate data with tools that can check whether files match the specified schema.
For our public library data, each dataset has its own schema definition file. All schemas include the official ONS/GSS Local Authority Code, linking relationally to the master Library Services registry. Current schemas in development can be viewed using the links below.
- Library services
- Libraries
- Events
- Loans
- Membership
- Mobile library stops
- Physical visits
- Stock summary
Version archive
Completed releases are archived by semantic version in the archive folder:
- v0.4.0: Added master
library-services.jsonregistry with all 208 UK authorities, extendedlibraries.jsonto 51 fields with coordinates, operational status, ACE co-locations, WiFi breakdown, and accessibility facilities, and standardizedLocal authority codewith foreign keys across all schemas. - v0.3.0: Added
events.json,libraries.json,loans.json,membership.json,physical_visits.json, andstock_summary.json. - v0.2.0: Added
library-locations-survey.json. - v0.1.0: Initial release with
mobile-library-stops.json.