Skip to content

Schema validation and immutable schema extension

Martijn Vermaat requested to merge schema-state into master

Schema validation and have the schema extension with our immutable pedigree state.

Also added a pedigree level in our JSON Schema to be more consistent with the other entities.

Schema validation is done with tv4. The choice was somewhat arbitrary, many alternatives are available:

  1. https://www.npmjs.com/package/jsonschema
  2. https://www.npmjs.com/package/jsonlint
  3. https://github.com/mafintosh/is-my-json-valid
  4. https://github.com/natesilva/jayschema
  5. https://github.com/zaggino/z-schema
  6. https://github.com/acornejo/jjv

Merge request reports