Skip to main content

Constant Validator

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

A node will be valid against this validator if it is equal to the value property. Analogous to the JSON Schema const keyword.

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
valueschema:valueNodeThe value that the node must have.ConstantValidator

Available as


This documentation was generated from ConstantValidator.schema.yaml.