...
- For each object in the diagram, create a content model object. In that content model object:
- For each datastream
- Define the datastream in the DS-COMPOSITE-MODEL datastream of the content model
- If the datastream is an XML metadata datastream, refer to the XML schema in the DS-COMPOSITE-MODEL
- If the datastream is an externally referenced binary stream, define the allowed mime types
- For each outgoing relation
- Define the relation in the ONTOLOGY datastream if the content model
- Define the cardinality of the realtion (how many relation may/must be present of this type)
- Define the content model of the object of this relation (what kinds of objects may we refer to)
- For each datastream
- For each identified view
- In the content models for this view, define the entry objects and the relations that define the angles in the VIEW datastream.
- For each different license for the collection
- Define a LICENSE object
- Express the license in XACML in the LICENSE datastream.
- Create a collection object
- For each object in the diagram
- Create one or more template objects, containing a prototype of the object
- Set the right license in that template object in the RELS-EXT datastream and the LICENSE datastream
- Set the the "http://doms.statsbiblioteket.dk/relations/default/0/1/#isTemplateFor" relation in the RELS-EXT datastream.
- Set the "http://doms.statsbiblioteket.dk/relations/default/0/1/#isPartOfCollection" relation in the RELS-EXT datastream.
TODO: Insert examples