Skip to main content
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: