2020-12

The 2020-12 metaschema patch sets additionalProperties to false and adds the following properties to JSON Schema 2020-12.

Tip

To reference the extended metaschema, use its canonical URI:

http://json-schema-extension.readthedocs.io/1__0__0/2020-12/metaschema.json

Title

Description

Type

Format

Required

deprecatedDetails

object

Deprecated details

Information about the deprecation of the field.

deprecatedDetails/deprecatedVersion

string

Required

Version

The version in which the field was first deprecated.

deprecatedDetails/description

string

Required

Description

A description of the reason for the field’s deprecation and information about its replacement, if any.

codelist

string

Codelist

The CSV file that defines the codes in the codelist that the field refers to.

openCodelist

boolean

Open codelist

Whether the codelist that the field refers to is an open codelist.

This property was deprecated in version 1.0

This keyword is deprecated favour of using `enum` to indicate a closed codelist. An field refers to an open codelist when `codelist` is set without the presence of `enum`.