fiboa / schema

The schema language for fiboa
Apache License 2.0
0 stars 1 forks source link

fiboa Schema

As fiboa is targeting multiple encodings, there's no single solution for validation. We must define our own validation vocabulary, based on the fiboa Schema data types. Nevertheless, fiboa Schema can be translated into JSON Schema.

Vocabulary

The following keywords are generally supported:

At the top-level, you can also indicate the schema language and version:

Additionally, the following validation vocabulary per data type is defined by JSON Schema.

In principle any keywords available in JSON Schema 2020-12 can be used, but it is likely unsupported by the fiboa tooling.

String data type

Numerical data type

Array data type

Object data type

Either properties, additionalProperties or patternProperties must be provided.

Geometry data type