Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 2.4 KB

README.md

File metadata and controls

32 lines (24 loc) · 2.4 KB

Observations & Measurements (O&M) JSON encoding

This repository contains JSON schema for encoding Observations & Measurements (O&M) in JSON.

Main observation schema: Observation

Tools

There is a validator here: http://waterml2.csiro.au/om-json/. This is an altered version of JSON Schema Lint that uses Tiny Validator v4 and has O&M examples loaded.

Other tools:

There is a basic python validator in /tests that tests an instance against the specified schema. However, the various validators tend to handle specifics slightly differently. The best one so far seems to be http://www.jsonschemavalidator.net/.

TODOs

  • Investigate more strict validation from the Python library.
  • Timeseries support (i.e. timeseriesML) - in progress.