schema

EnumValidator

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

Properties

Name @id Type Description Inherited from
id schema:id string The identifier for this item. Entity
meta stencila:meta object Metadata associated with this item. Entity
values stencila:values Array of Node A node is valid if it is equal to any of these values. EnumValidator

Notes

  1. Analogous to the JSON Schema enum keyword.

Available as

Source

This documentation was generated from EnumValidator.schema.yaml.