An Order can have multiple LineItems so we define a cardinality-many ref attribute items that points to the LineItem namespace.

Note how we also make LineItems a component with the isComponent option. That means that LineItems are owned by an Order and will get automatically
retracted if the Order is retracted. Subsequent component-defined referenced entities will be recursively retracted too.