Skip to content

Schema

The dataset contents are specified by a JSON schema file stored in the echoSMs. The schema documents the required attributes, their structure, valid values, etc. The schema is a very technical document and is perhaps more easily understood via the interative online version.

  • Browse the schema online.
  • View the raw JSON schema file. This is the authorative source of the schema.
  • View an example datastore file.

Datastore dataset files can be validated against the schema using online validators (e.g., here, here, or here), or within your own code using a JSON schema validation library (e.g., jsonschema-rs for Python and jsonvalidate for R).

It is not necessary to validate your data before submitting it to the datastore, but it will help the uploading happen faster (a validation is done during the uploading process and any dataset format problems will be identified then).