> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ContainerPropertyListSizeIsOutOfLimits validation rule

> Validates that container property list sizes (max_list_size) do not exceed CDF limits based on data type and indexing. Ensures optimal performance.

This rule checks that list-type properties (`max_list_size`) do not exceed the appropriate limit based on:

* Data type (Int32, Int64, DirectRelation, etc.)
* Presence of btree index
* Default vs maximum limits

## Why it matters

CDF enforces different list size limits for different data types and indexing configurations
to ensure optimal performance and prevent resource exhaustion.

## Example

If a `DirectRelation` property has `max_list_size=2000` with a btree index, but the limit
is 1000 for indexed DirectRelations, this validator will raise a `ConsistencyError` issue.

## Note

Enum properties are skipped as they have a separate 32-value limit checked when NEAT reads the data model,
reported as a `SyntaxError`.

## Further reading

* [Validation rules](/cdf/deploy/neat/validation/index)
