Crate data_modelling_sdk

Crate data_modelling_sdk 

Source
Expand description

Data Modelling SDK - Shared library for model operations across platforms

This crate re-exports everything from data-modelling-core for backward compatibility.

Provides unified interfaces for:

  • File/folder operations (via storage backends)
  • Model loading/saving
  • Import/export functionality
  • Validation logic
  • Authentication types (shared across web, desktop, mobile)
  • Workspace management types

Modules§

auth
Authentication types shared across all platforms
convert
Universal format converter module
export
Export functionality
import
Import functionality
model
Model loading and saving functionality
models
Models module for the SDK
storage
Storage backend abstraction
validation
Validation functionality
workspace
Workspace types shared across all platforms

Structs§

ApiModelLoader
API-based model loader
ApiStorageBackend
API storage backend that communicates with HTTP API
AuthState
Current authentication state
AvroExporter
Exporter for AVRO schema format.
AvroImporter
Parser for AVRO schema format.
Column
Column model representing a field in a table
ContactDetails
Contact details for Data Flow node/relationship owners/responsible parties
CreateWorkspaceRequest
Request to create a workspace
CreateWorkspaceResponse
Response after creating a workspace
DataModel
Data model representing a complete data model with tables and relationships
ExportResult
Result of an export operation.
ForeignKey
Foreign key reference to another table’s column
GitHubEmail
GitHub email information
ImportResult
Result of an import operation.
InitiateOAuthRequest
OAuth initiation request
InitiateOAuthResponse
OAuth initiation response
JSONSchemaExporter
Exporter for JSON Schema format.
JSONSchemaImporter
Parser for JSON Schema format.
ListProfilesResponse
List profiles response
LoadProfileRequest
Load profile request
ModelLoader
Model loader that uses a storage backend
ModelSaver
Model saver that uses a storage backend
ODCSExporter
Exporter for ODCS (Open Data Contract Standard) v3.1.0 YAML format.
ODCSImporter
ODCS parser service for parsing Open Data Contract Standard YAML files. Handles ODCS v3.1.0 (primary format) and legacy ODCL formats (converted to ODCS).
ProfileInfo
Profile information (user profile with domains)
ProtobufExporter
Exporter for Protobuf format.
ProtobufImporter
Parser for Protobuf format.
Relationship
Relationship model representing a connection between two tables
RelationshipValidationResult
Result of relationship validation.
SQLExporter
Exporter for SQL CREATE TABLE format.
SQLImporter
SQL Importer - parses CREATE TABLE statements
SelectEmailRequest
Email selection request
SlaProperty
SLA (Service Level Agreement) property following ODCS-inspired structure
Table
Table model representing a database table or data contract
TableValidationResult
Result of table validation.
WorkspaceInfo
Workspace information

Enums§

AuthMode
Authentication mode
Cardinality
Legacy cardinality enum (for backward compatibility) Consider using EndpointCardinality for more precise crow’s feet notation
ConversionError
Error during format conversion
DataVaultClassification
DatabaseType
EndpointCardinality
Crow’s feet notation endpoint cardinality
ExportError
Error during export
FlowDirection
Flow direction for data flow relationships
ImportError
Error during import
InfrastructureType
Infrastructure type for Data Flow nodes and relationships
MedallionLayer
ModelingLevel
RelationshipType
RelationshipValidationError
Error during relationship validation
SCDPattern
StorageError
Error type for storage operations
TableValidationError
Error during table validation

Traits§

StorageBackend
Trait for storage backends

Functions§

convert_to_odcs
Convert any import format to ODCS v3.1.0 YAML format.