Skip to content

A JSON encoding of Observations & Measurements (O&M) using JSON Schema draft 4.

Notifications You must be signed in to change notification settings

peterataylor/om-json

Repository files navigation

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.

About

A JSON encoding of Observations & Measurements (O&M) using JSON Schema draft 4.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages