metaschema.json
- new root metaschema to put in$schema
propertiesexample-meta.json
- example registry metaschema, i.e. one hosted on Acme Ltd. (Mixpanel, Iteratively, Snowplow) Iglu registry and thus specific to all its schemas. Can have2-0-0
or1-0-0
root metaschemaexample-schema.json
- plain (non-meta, usual) schema hosting on Acme Ltd. registry and containing metadata described by above metaschema
Compared to 1-0-0
Took an opportunity to fix some long-standing issues in 1-0-0.
- Forced
version
regex to always start with 1 or higher number (0-0-1 is explicitly invalid according to SchemaVer) - Bumped schema body to JSON Schema v7
- Bumped metaschema to
2-0-0
making it recursive. If server will be hosting it withmetadata
property AND1-0-0
it will considered invalid
- Mentioned
isPublic
,createdAt
,updatedAt
. Iglu Server already attaches them, but we never took an opportinity to formalise it - I'd like add some descriptions as well, but went without it to make the schema more concise