Logo
NeoArc Studio

Model Validation Rules

GraphValidationService enforces validation rules across structural, semantic, and domain categories based on the active authoring mode.

The GraphValidationService analyses model graphs in real time and reports issues grouped by severity: Error, Warning, and Info. The service applies different rule sets depending on the current authoring mode, so that validations remain relevant to the target platform.

Validation Categories

The rules are organised into three categories that correspond to different layers of model correctness.

Core Validation Rules

The following rules cover structural and semantic validation of the model graph.

#Rule IDSeverityCategoryDescription
1missing-primary-keyErrorStructuralNode has no primary key property defined
2missing-labelErrorStructuralNode has no label defined
3duplicate-property-nameErrorStructuralProperty name is used multiple times on the same node
4invalid-foreign-keyErrorSemanticForeign key references a non-existent node or property
5orphan-nodeWarningStructuralNode has no connections to other nodes
6missing-cardinalityWarningSemanticEdge has no cardinality defined (1:1, 1:N, N:M)
7circular-dependencyWarningSemanticCircular foreign key chain detected between nodes
8missing-indexInfoSemanticForeign key property is not marked as indexed
9naming-conventionInfoStructuralName does not follow the configured naming convention
10empty-descriptionInfoStructuralNode or property lacks a documentation description

Search Validation Rules

The following rules validate search projection configuration. They apply only when properties have search projections enabled.

#Rule IDSeverityDescription
1search-duplicate-field-nameErrorTwo properties project to the same field name in the search index
2search-vector-missing-dimensionsErrorA dense_vector field has no dimensions value configured
3search-analyzer-conflictWarningBoth analyzer and indexAnalyzer/searchAnalyzer are set on the same field
4search-vector-missing-profileWarningA vector field has no vectorSearchProfile assigned
5search-key-not-filterableWarningA field marked as key does not have the filterable behaviour enabled
6search-nested-no-flagWarningA property with nested field type does not have the nested flag set
7search-geo-missing-typeWarningA geographic property has no explicit search field type (geo_point or geo_shape)
8search-boost-without-scoringInfoA boost value is set on a field but scoringEnabled is false on the search profile

Severity Levels

Error
The model is invalid. These issues must be resolved before the model is used for code generation, view creation, or publishing.
Warning
The model is technically valid but may produce unexpected results. Review these issues and resolve them where appropriate.
Info
Suggestions for improving model quality and documentation. These do not block any operations.

Rule Details

Viewing Validation Results

Next Steps

Property Projections
Configure persistence, search, API, and custom projections
Learn more →
Creating Views
Generate ERD, graph, and search views from model entities
Learn more →
Search Views
Profile-aware search index configuration
Learn more →