getMaxArrayItems

public final int getMaxArrayItems()

When greater than zero, bounds the number of items of arrays in the generated schema. Emitted as a maxItems constraint when the target dialect supports it, and as description text otherwise (the portable and Anthropic dialects reject maxItems). Zero (default) leaves arrays unbounded.

Return

The value of the MaxArrayItems property.