2.3 SemanticModel

The SemanticModel element specifies all of the entities, attributes, and roles of a semantic model. This element is the top-level root node structure of the semantic model of data.

The following are the attributes and child elements of the SemanticModel element.

Attributes

SemanticModel.ID

Child elements

SemanticModel.Culture

SemanticModel.CustomProperties

SemanticModel.DataSourceView

SemanticModel.Description

SemanticModel.Entities

SemanticModel.Perspectives

SemanticModel.Version

The following is the XML Schema definition of the SemanticModel element.           

 <xsd:element name="SemanticModel">
   <xsd:complexType>
     <xsd:all>
       <xsd:element name="Description" type="xsd:string" minOccurs="0" />
       <xsd:element name="Version" type="xsd:string" minOccurs="0" />
       <xsd:element name="Culture" type="xsd:language" minOccurs="0" />
       <xsd:element name="Entities" type="EntitiesType" minOccurs="0" />
       <xsd:element name="Perspectives" type="PerspectivesType" minOccurs="0" />
       <xsd:element name="CustomProperties" type="CustomPropertiesType" 
                    minOccurs="0" />
       <xsd:element ref="dsv:DataSourceView" minOccurs="0" />
     </xsd:all>
     <xsd:attribute name="ID" type="xsd:QName" use="required" />
   </xsd:complexType>
   <xsd:unique name="ID">
     <xsd:selector xpath=".|.//*" />
     <xsd:field xpath="@ID" />
   </xsd:unique>
 </xsd:element>