Skip to content

Index

Neat supports 23 validation rules for data modeling. These rules are learned from best practice, knowledge of the Cognite Data Fusion data modeling service, and practical experience from helping customers build and maintain their data models.

Ai_Readiness (NEAT-DMS-AI-READINESS)#

Validators for checking if data model is AI-ready.

code name message
NEAT-DMS-AI-READINESS-001 DataModelMissingName Validates that data model has a human-readable name.
NEAT-DMS-AI-READINESS-002 DataModelMissingDescription Validates that data model has a human-readable description.
NEAT-DMS-AI-READINESS-003 ViewMissingName Validates that a View has a human-readable name.
NEAT-DMS-AI-READINESS-004 ViewMissingDescription Validates that a View has a human-readable description.

Connections (NEAT-DMS-CONNECTIONS)#

Validators for connections in data model specifications.

code name message
NEAT-DMS-CONNECTIONS-001 ConnectionValueTypeUnexisting Validates that connection value types exist.
NEAT-DMS-CONNECTIONS-002 ConnectionValueTypeUndefined Validates that connection value types are not None, i.e. undefined.
NEAT-DMS-CONNECTIONS-REVERSE-001 ReverseConnectionSourceViewMissing Validates that source view referenced in reverse connection exist.
NEAT-DMS-CONNECTIONS-REVERSE-002 ReverseConnectionSourcePropertyMissing Validates that source property referenced in reverse connections exist.
NEAT-DMS-CONNECTIONS-REVERSE-003 ReverseConnectionSourcePropertyWrongType Validates that source property for the reverse connections is a direct relation.
NEAT-DMS-CONNECTIONS-REVERSE-004 ReverseConnectionContainerMissing Validates that the container referenced by the reverse connection source properties exist.
NEAT-DMS-CONNECTIONS-REVERSE-005 ReverseConnectionContainerPropertyMissing Validates that container property referenced by the reverse connections exists.
NEAT-DMS-CONNECTIONS-REVERSE-006 ReverseConnectionContainerPropertyWrongType Validates that the container property used in reverse connection is the direct relations.
NEAT-DMS-CONNECTIONS-REVERSE-007 ReverseConnectionTargetMissing Validates that the direct connection in reverse connection pair have target views specified.
NEAT-DMS-CONNECTIONS-REVERSE-008 ReverseConnectionPointsToAncestor Validates that direct connections point to specific views rather than ancestors.
NEAT-DMS-CONNECTIONS-REVERSE-009 ReverseConnectionTargetMismatch Validates that direct connections point to the correct target views.

Consistency (NEAT-DMS-CONSISTENCY)#

Validators checking for consistency issues in data model.

code name message
NEAT-DMS-CONSISTENCY-001 ViewSpaceVersionInconsistentWithDataModel Validates that views have consistent space and version with the data model.

Limits (NEAT-DMS-LIMITS)#

Validators for checking if defined data model is within CDF DMS schema limits.

code name message
NEAT-DMS-LIMITS-CONTAINER-001 ContainerPropertyCountIsOutOfLimits Validates that a container does not exceed the maximum number of properties.
NEAT-DMS-LIMITS-CONTAINER-002 ContainerPropertyListSizeIsOutOfLimits Validates that container property list sizes do not exceed CDF limits.
NEAT-DMS-LIMITS-DATA-MODEL-001 DataModelViewCountIsOutOfLimits Validates that the data model does not exceed the maximum number of views.
NEAT-DMS-LIMITS-VIEW-001 ViewPropertyCountIsOutOfLimits Validates that a view does not exceed the maximum number of properties.
NEAT-DMS-LIMITS-VIEW-002 ViewContainerCountIsOutOfLimits Validates that a view does not reference too many containers.
NEAT-DMS-LIMITS-VIEW-003 ViewImplementsCountIsOutOfLimits Validates that a view does not implement too many other views.

Views (NEAT-DMS-VIEW)#

Validators for checking containers in the data model.

code name message
NEAT-DMS-VIEW-001 ViewToContainerMappingNotPossible Validates that container and container property referenced by view property exist.