Skip to main content
Version: 0.5.0

DenylistConstraint

Compatible value type: text

Description​

Defines a set of forbidden values. All values in the list are considered invalid.

Example 1​

 publish constraint NoPrimaryColors oftype DenylistConstraint {
denylist: ["red", "blue", "yellow"];
}

Denies all primary colors.

Properties​

denylist​

Type Collection<text>