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.


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


Available as#


This documentation was generated from EnumValidator.schema.yaml.