Change the YAML version and schema used by the document. A null version disables support for directives, explicit tags, anchors, and aliases. It also requires the schema option to be given as a Schema instance value.
null
schema
Schema
Overrides all previously set schema options.
Optional
Change the YAML version and schema used by the document. A
null
version disables support for directives, explicit tags, anchors, and aliases. It also requires theschema
option to be given as aSchema
instance value.Overrides all previously set schema options.