(Optional) Define a constraint for your value type. Validation methods include regular expressions for String types, enumerated values, ranges, and other methods depending on the base type.
For a full list of constraints supported by base type, review our value type constraints documentation.
When you define a constraint, configure the Failure validation message that appears when a value does not satisfy the constraint.
(Optional but recommended) Provide an example preview value for your value type.