> ## 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.

# ViewSpaceVersionInconsistentWithDataModel validation rule

> Validates that all views in the data model have the same space and version as the data model. Reduces deployment and maintenance complexity.

This rule checks that all views in the data model have the same space and version as the data model.

## Why it matters

If views have different space or version than the data model, it may lead to more demanding development and
maintenance efforts. The industry best practice is to keep views in the same space and version as the data model.

## Example

If the data model is defined in space `my_space` version `v1`, but a view is defined in the same space but with
version `v2`, this requires additional attention during deployment and maintenance of the data model.

## Further reading

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