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
- Data
Vault Classification - Database
Type - Endpoint
Cardinality - Crow’s feet notation endpoint cardinality
- Flow
Direction - Flow direction for data flow relationships
- Infrastructure
Type - Infrastructure type for Data Flow nodes and relationships
- Medallion
Layer - Modeling
Level - Relationship
Type - SCDPattern