Skip to content

Major update to JSON Schema draft v7, Adds GSS language.

Compare
Choose a tag to compare
@the-t-in-rtf the-t-in-rtf released this 07 May 10:10

This release is a major update.

Breaking changes:

  1. The supported JSON Schema version has been updated from the aborted v5 release to v7. There are non-trivial changes between the drafts, see the JSON Schema site for details.
  2. All previous v5-specific customisations were removed in favour of the new "GSS" language (see below).
  3. The previous validator component has been removed in favour of a collection of static validation functions.

New features in this version:

  1. Support for the "GSS" language, which adapts the underlying JSON Schema draft standard and tweaks it for our purposes.
  2. A base grade for "schema validated components", components whose structure (including options) must match a defined GSS schema in order to start up.
  3. A base grade for "schema validated model components", components whose model is validated against a defined GSS schema whenever it is updated.
  4. Validation errors are now standardised including support for i18n/l10n message bundles.