Traits
Traits are annotations that can be attached to shapes to describe additional information about the shape; shapes provide the structure and layout of an API, while traits provide refinement and style.
📄️ Behavior Traits
Behavior traits are traits that significantly refine, or change, the type of a behavior.
📄️ Constraint Traits
Constraint 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.
📄️ Documentation Traits
Documentation traits describe shapes in the model in a way that does not materially affect the semantics of the model.
📄️ Type Refinement Traits
Type refinement traits are traits that significantly refine, or change, the type of a shape.