Module schema_graph

Module schema_graph 

Source
Expand description

Schema relationship graph extraction

This module extracts relationship graphs from proto and OpenAPI schemas, identifying foreign keys, references, and data dependencies for coherent synthetic data generation.

Structs§

Cardinality
Cardinality constraints for relationships
EntityNode
An entity node in the schema graph
FieldInfo
Information about a field in an entity
ForeignKeyMapping
Foreign key mapping detected via naming conventions
ProtoSchemaGraphExtractor
Schema graph extractor for protobuf schemas
Relationship
A relationship between two entities
SchemaGraph
A graph representing relationships between schema entities

Enums§

ForeignKeyDetectionMethod
Methods used to detect foreign key relationships
RelationshipType
Type of relationship between entities