Amsterdam Schema aims to describe and validate open data published by the City of Amsterdam, in order to make the storing and publishing of different datasets more structured, simpler and better documented.
This repository contains:
dataset schemas
not to be confused with JSON-schemas
);table schemas
not to be confused with JSON-schemas
);More specifically, metaschemas are JSON-Schemas that can make sure every dataset published by the City of Amsterdam always contains the right metadata and is of the right form.
This is done by running structural and semantic
validation.
The structural part is handled by the metaschema defined in this repository. The logic for semantic validation is defined in the schematools repository.
Apart from the technical description an in-depth textual specification of the Amsterdam Schema can be found at https://schemas.data.amsterdam.nl/docs/ams-schema-spec.html.
The Amsterdam Schema is chosen to be delimited in such a way that it can interoperate with as many systems as possible. The results of this analysis can be found at the Grootst Gemene Deler page.
Each instance of Amsterdam Schema exists of:
An overview of the current schemas can be found at https://github.com/Amsterdam/amsterdam-schema/tree/master/datasets.
In Amsterdam Schema, we’re using the following concepts:
Type | Description |
---|---|
Dataset | A single dataset, with contents and metadata |
Table | A single table with objects of a single class/type |
Row | A row in such a table (a single object, a row in a source CSV file or feature in a source Shapefile, for example) |
Field | A property of a single object |
For example:
bag
contains data for each building and address in the city;buildings
and addresses
;You can find all historical versions of the Amsterdam Schema definition in this repository. Version numbers are shown as ‘@1.0.0’ where we follow SchemaVer for versioning. This will allow for a gradual evolution of capabilities.
For more information, see (some of these pages are in Dutch):