Skip to main content

Enum Validator

A schema specifying that a node must be one of several values.

!array('Analogous to the JSON Schema ')enum!array(' keyword')!array('.')

This schema type is marked as unstable ⚠️ and is subject to change.

Properties#

Name@idTypeDescriptionInherited from
idschema:idstringThe identifier for this item.Entity
metastencila:metaobjectMetadata associated with this item.Entity
valuesstencila:valuesArray of NodeA node is valid if it is equal to any of these values.EnumValidator

Related#

Available as#

Source#

This documentation was generated from EnumValidator.schema.yaml.