Skip to main content


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


Name@idTypeDescriptionInherited from
typeschema:type'ConstantValidator'The name of the type.Entity
idschema:idstringThe identifier for this item.Entity
metastencila:metaobjectMetadata associated with this item.Entity
valueschema:valueNodeThe value that the node must have.ConstantValidator



  1. A node will be valid against this validator if it is equal to the value property. Analogous to the JSON Schema const keyword.
  2. Available as JSON-LD.
  3. Available as JSON Schema.
  4. This documentation was generated from ConstantValidator.schema.yaml.