API Status Get API Key
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

Maximum allowed count. Null = unlimited.

min : Int

Minimum allowed count. Null = no lower bound (optional).

property : ContentProperty!

The content property this rule constrains.