Version: 0.0.5 (stable)
agrag.common.data_models.graph_schema
The GraphSchema contract: entity and relation types extraction validates against.
Classes:
- Cardinality – Declared limits on distinct endpoints of one relation, across its patterns.
- EntityType – One kind of entity a schema recognizes.
- GraphSchema – A versioned contract of entity and relation types.
- PropertySpec – The declaration of one property on an entity type.
- RelationType – One kind of relation a schema recognizes.
Attributes:
- PropertyType – The value types an entity property can declare.
- RESERVED_ENTITY_LABELS –
- RESERVED_RELATION_TYPES –