Format Vocabulary Official Included By Default

A vocabulary to defines semantic information about string-encoded values.

To make use of this vocabulary, modify your metaschema to declare the use of this vocabulary using the $vocabulary keyword and evaluate its metaschema. If the vocabulary must be present for an implementation to proceed:

{
  ...
  "$vocabulary": {
    ...
    "https://json-schema.org/draft/2019-09/vocab/format": true
  },
  "allOf": [
    { "$ref": "https://json-schema.org/draft/2019-09/meta/format" }
  ]
}

Otherwise, if it is optional for implementations to understand this vocabulary to proceed:

{
  ...
  "$vocabulary": {
    ...
    "https://json-schema.org/draft/2019-09/vocab/format": false
  },
  "allOf": [
    { "$ref": "https://json-schema.org/draft/2019-09/meta/format" }
  ]
}

Keywords

Keyword Kind Instance Summary
format Annotation String Define semantic information about a string instance.