JSON Schema
ODAM datapackage based on JSON-Schema¶
A data package is a simple container format based on JSON Schema specifications used to describe and package a collection of data. Defining an explicit schema for structural metadata allows machines to better interpret the data for reuse. Thus, when disseminating data, a file named datapackage.json by convention can be added to the collection of your data files. This datapackage.json file contains all structural metadata along with unambiguous definitions of all internal elements (e.g. column definitions, units of measurement), through links to accessible (standard) definitions.
ODAM data package schema is very close to the Frictionless Data framework.
- odam-data-package.json : JSON Schema for ODAM datapackage
- odam-data-resource.json : JSON Schema for ODAM dataresource
Based on structural metadata previously defined using the Data preparation protocol for ODAM compliance, the datapackage.json file can be generated directly from the ODAM API by specifying '/datapackage' at the end of the request. By default, the reference to the data files is relative. To have a URL as reference for the data files, it is necessary to add at the end of the request '?links=1'
ODAM data-package on github
Frim1 datapackage as an example
The Identifiers.org URI for the Frim1 dataset: odam:frim1 (after de-reification) returns the structural metadata returned according to the JSON datapackage schema
Data Package and FAIR
- Frictionless Data and FAIR Research Principles
- Visible, findable, shareable data
- Datapackage on FAIRsharing
Frictionless Data Specifications