You are here

Model header

Each content model starts with a model header, which provides an introduction to the model containing description, author, publication date, and version number. All parts of the model introduction are optional.

<xs:element name="model">
  <xs:attributeGroup ref="name" />
    <xs:element name="description" type="string"maxOccurs="1" minOccurs="0" />
    <xs:element name="author" type="string"maxOccurs="1" minOccurs="0" />
    <xs:element name="published" type="date"maxOccurs="1" minOccurs="0" />
    <xs:element name="version" type="string"maxOccurs="1" minOccurs="0" />
  <xs:attributeGroup name="name">
    <xs:attribute name="name" type="string" use="required" />

A content model must be uniquely named within a given repository. To help define unique names across all repositories, the content metamodel supports the notion of a namespace.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.