# CountRule

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.

**Status:** ⚠️ Experimental

**Implements:** ValidationRule

**Fields:**
- `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.