Skip to main content

Module enums

Module enums 

Source
Expand description

Enums for data modeling

§Serde Casing Conventions

The enums in this module use different serde rename_all strategies based on their semantic meaning and external schema requirements:

  • SCREAMING_SNAKE_CASE: Technical/database constants (DatabaseType, SCDPattern)
  • lowercase: Simple layer/level keywords (MedallionLayer, ModelingLevel)
  • PascalCase: Type names and relationships (Cardinality, RelationshipType, InfrastructureType)
  • No rename: Values that match Rust conventions (DataVaultClassification)

These conventions ensure compatibility with ODCS, CADS, and other external schemas.

Enums§

Cardinality
Legacy cardinality enum (for backward compatibility) Consider using EndpointCardinality for more precise crow’s feet notation
DataVaultClassification
DatabaseType
EndpointCardinality
Crow’s feet notation endpoint cardinality
FlowDirection
Flow direction for data flow relationships
InfrastructureType
Infrastructure type for Data Flow nodes and relationships
MedallionLayer
ModelingLevel
RelationshipType
SCDPattern