Skip to main content

Constant Validator

A validator specifying a constant value that a node must have.

!array('A node will be valid against this validator if it is equal to the ')value!array(' property. Analogous to the JSON Schema ')const!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
valueschema:valueNodeThe value that the node must have.ConstantValidator

Related#

Available as#

Source#

This documentation was generated from ConstantValidator.schema.yaml.