An operational view of constraints as defined by the Matter specification.

A "constraint" limits possible data values.

Formally a constraint is not considered a quality by the specification. It is handled similarly to qualities, though, so we keep it in the same section.

Hierarchy (view full)

Implements

Constructors

Properties

definition: Definition
desc?: boolean

Indicates constraint is defined in prose and cannot be enforced automatically.

entry?: Constraint

Constraint on list child element.

errors?: DefinitionError[]

Require set membership for the value.

Upper bound on value or sequence length.

Lower bound on value or sequence length.

parts?: Constraint[]

List of sub-constraints in a sequence.

value?: FieldValue

Constant value.

Accessors

Methods