Rudder CLI Validation Rules Beta

Interactive reference for all Rudder CLI validation rules with valid and invalid example specs.
Available Plans
  • free
  • starter
  • growth
  • enterprise

Every spec you apply with the Rudder CLI is checked against the rules in this guide before it reaches your workspace.

Each rule includes valid and invalid example specs and the diagnostics you see when validation fails.

info

How to use this guide

  • Use the Spec version toggle to switch between rudder/v1 and legacy rudder/0.1 spec.
  • Filter by phase or search to narrow the list.
Spec version
Filter by phase

Showing 29 of 29 rules

Project

URNs must be unique across the project

syntactic error

Rule ID: project/duplicate-urn

Examples

URNs must be unique across the project

syntactic error

Rule ID: project/duplicate-urn

Examples

Metadata syntax must be valid

syntactic error

Rule ID: project/metadata-syntax-valid

Examples

Metadata syntax must be valid

syntactic error

Rule ID: project/metadata-syntax-valid

Examples

Resource kind must be supported with the specified version

syntactic error

Rule ID: project/resource-kind-version-valid

Examples

Resource kind must be supported with the specified version

syntactic error

Rule ID: project/resource-kind-version-valid

Examples

Spec syntax must be valid

syntactic error

Rule ID: project/spec-syntax-valid

Examples

Spec syntax must be valid

syntactic error

Rule ID: project/spec-syntax-valid

Examples

Categories

Category names must be unique across the Data Catalog

semantic error

Rule ID: datacatalog/categories/semantic-valid

Examples

Category names must be unique across the Data Catalog

semantic error

Rule ID: datacatalog/categories/semantic-valid

Examples

Category spec syntax must be valid

syntactic error

Rule ID: datacatalog/categories/spec-syntax-valid

Examples

Category spec syntax must be valid

syntactic error

Rule ID: datacatalog/categories/spec-syntax-valid

Examples

Custom types

Custom type config must be valid for the given type

syntactic error

Rule ID: datacatalog/custom-types/config-valid

Examples

Custom type config must be valid for the given type

syntactic error

Rule ID: datacatalog/custom-types/config-valid

Examples

Custom type references must resolve to existing resources

semantic error

Rule ID: datacatalog/custom-types/semantic-valid

Examples

Custom type references must resolve to existing resources

semantic error

Rule ID: datacatalog/custom-types/semantic-valid

Examples

Custom type spec syntax must be valid

syntactic error

Rule ID: datacatalog/custom-types/spec-syntax-valid

Examples

Custom type spec syntax must be valid

syntactic error

Rule ID: datacatalog/custom-types/spec-syntax-valid

Examples

Events

Event references must resolve to existing resources

semantic error

Rule ID: datacatalog/events/semantic-valid

Examples

Event references must resolve to existing resources

semantic error

Rule ID: datacatalog/events/semantic-valid

Examples

Event spec syntax must be valid

syntactic error

Rule ID: datacatalog/events/spec-syntax-valid

Examples

Event spec syntax must be valid

syntactic error

Rule ID: datacatalog/events/spec-syntax-valid

Examples

Properties

Property config must be valid for the given type

syntactic error

Rule ID: datacatalog/properties/config-valid

Examples

Property config must be valid for the given type

syntactic error

Rule ID: datacatalog/properties/config-valid

Examples

Property references must resolve to existing resources

semantic error

Rule ID: datacatalog/properties/semantic-valid

Examples

Property references must resolve to existing resources

semantic error

Rule ID: datacatalog/properties/semantic-valid

Examples

Property spec syntax must be valid

syntactic error

Rule ID: datacatalog/properties/spec-syntax-valid

Examples

Property spec syntax must be valid

syntactic error

Rule ID: datacatalog/properties/spec-syntax-valid

Examples

Tracking Plans

Tracking Plan references must resolve to existing resources

semantic error

Rule ID: datacatalog/tracking-plans/semantic-valid

Examples

Tracking Plan references must resolve to existing resources

semantic error

Rule ID: datacatalog/tracking-plans/semantic-valid

Examples

Tracking Plan spec syntax must be valid

syntactic error

Rule ID: datacatalog/tracking-plans/spec-syntax-valid

Examples

Tracking Plan spec syntax must be valid

syntactic error

Rule ID: datacatalog/tracking-plans/spec-syntax-valid

Examples

Data Graph

Relationship cardinality must be valid for the source and target model types

semantic error

Rule ID: datagraph/data-graph/relationship-cardinality-valid

Examples

Relationship target references must resolve to existing models

semantic error

Rule ID: datagraph/data-graph/relationship-refs-valid

Examples

At most one relationship is allowed per source-target model pair

semantic error

Rule ID: datagraph/data-graph/relationship-unique-pair

Examples

Data Graph spec syntax must be valid

syntactic error

Rule ID: datagraph/data-graph/spec-syntax-valid

Examples

Model and relationship names must be unique within a Data Graph

semantic error

Rule ID: datagraph/data-graph/unique-names-valid

Examples

Sources

Event Stream source references must resolve to existing resources

semantic error

Rule ID: event-stream/source/semantic-valid

Examples

Event Stream source references must resolve to existing resources

semantic error

Rule ID: event-stream/source/semantic-valid

Examples

Event Stream source spec syntax must be valid

syntactic error

Rule ID: event-stream/source/spec-syntax-valid

Examples

Event Stream source spec syntax must be valid

syntactic error

Rule ID: event-stream/source/spec-syntax-valid

Examples

SQL Models

RETL SQL model semantic constraints must be satisfied

semantic error

Rule ID: retl/sqlmodel/semantic-valid

Examples

RETL SQL model semantic constraints must be satisfied

semantic error

Rule ID: retl/sqlmodel/semantic-valid

Examples

RETL SQL model spec syntax must be valid

syntactic error

Rule ID: retl/sqlmodel/spec-syntax-valid

Examples

RETL SQL model spec syntax must be valid

syntactic error

Rule ID: retl/sqlmodel/spec-syntax-valid

Examples

Transformations

Transformation imports must resolve to existing transformation libraries

semantic error

Rule ID: transformations/transformation/semantic-valid

Examples

Transformation spec syntax must be valid

syntactic error

Rule ID: transformations/transformation/spec-syntax-valid

Examples

Transformation libraries

Transformation library must be semantically valid

semantic error

Rule ID: transformations/transformation-library/semantic-valid

Examples

Transformation library spec syntax must be valid

syntactic error

Rule ID: transformations/transformation-library/spec-syntax-valid

Examples

Questions? We're here to help.

Join the RudderStack Slack community or email us for support