Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 795 Bytes

bricks.rst

File metadata and controls

17 lines (11 loc) · 795 Bytes

EDXML Ontology Bricks

EDXML ontology bricks are commonly used to share object types and concepts. The EDXML Foundation keeps an online repository of shared definitions.

Bricks can be registered with the Ontology <edxml.ontology.Ontology> class. After registering a brick, you can create an event type and refer to the object types and concepts from the brick. The ontology will automatically fetch the referred ontology elements from the registered brick and include them in the ontology. The following example illustrates this:

../edxml/examples/brick_register.py

edxml.ontology.Brick

edxml.ontology.Brick