Skip to content

Commit

Permalink
docs/schema/index.md: Add metaschema table
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Nov 29, 2024
1 parent 15d16cd commit 82d5831
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions docs/schema/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ The [release schema reference](reference) provides guidance on using each of the

OCDS data must follow the I-JSON (Internet JSON) specification in [RFC7493](https://tools.ietf.org/html/rfc7493), according to which JSON text must be encoded using [UTF-8](https://en.wikipedia.org/wiki/UTF-8), and which introduces a number of requirements for numbers, objects and dates.

## Metaschema

The schemas are described by the metaschema, which is an extended version of [JSON Schema Draft 4](https://json-schema.org/specification-links#draft-4). The metaschema adds keywords related to [codelists](codelists), [deprecation](../governance/deprecation) and [merging](merging). You can [download the metaschema in JSON format](../../build/current_lang/meta-schema.json).

```{toctree}
:hidden:
Expand All @@ -25,3 +21,14 @@ identifiers
codelists
conformance_and_extensions
```

## Metaschema

The schemas are described by the metaschema, which is an extended version of [JSON Schema Draft 4](https://json-schema.org/specification-links#draft-4). The metaschema adds keywords related to [codelists](codelists), [deprecation](../governance/deprecation) and [merging](merging). You can [download the metaschema in JSON format](../../build/current_lang/meta-schema.json).

````{dropdown} View the metaschema
```{jsonschema} ../../build/current_lang/meta-schema-patch.json
```
````

0 comments on commit 82d5831

Please sign in to comment.