- metaschema.json- new root metaschema to put in- $schemaproperties
- example-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 have- 2-0-0or- 1-0-0root metaschema
- example-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 versionregex 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-0making it recursive. If server will be hosting it withmetadataproperty AND1-0-0it 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