Maximum allowed count. Null = unlimited.
TYPE
⚠️ Experimental
CountRule
Bounds how many of a property are allowed. min null/absent = no lower bound
(optional); min: 1 = required. max null = unlimited. At least one of min
or max is always present — a rule that bounds neither is never emitted.
Implements:
ValidationRule
Fields 3
max
:
Int
min
:
Int
Minimum allowed count. Null = no lower bound (optional).
The content property this rule constrains.