MaxItems<N> is a type tag that validates array values have at most the
specified number of elements. Apply it to array properties using TypeScript
intersection types.
This constraint is commonly combined with MinItems to define a valid
size range. It can also be combined with UniqueItems to require unique
elements.
The constraint is enforced at runtime by typia.is(), typia.assert(), and
typia.validate(). It generates maxItems in JSON Schema output.
Array maximum items constraint.
MaxItems<N>is a type tag that validates array values have at most the specified number of elements. Apply it to array properties using TypeScript intersection types.This constraint is commonly combined with MinItems to define a valid size range. It can also be combined with UniqueItems to require unique elements.
The constraint is enforced at runtime by
typia.is(),typia.assert(), andtypia.validate(). It generatesmaxItemsin JSON Schema output.