SubjectsSpecificationTraitsConstraint TraitsOn this pageConstraint TraitsConstraint traits are used to constrain the values that can be provided for a shape. Constraint traits are for validation only and SHOULD NOT impact the types signatures of generated code.lengthpatternrangeunique