1.3 Overview

Conceptual schema definition language with business intelligence annotations (CSDLBI) is an XML-based file format that is used to annotate Entity Data Model (EDM)-based conceptual models and is based on standards that are defined in [XML1.0] and [XMLSCHEMA1]. Type names in CSDLBI are generally the same as in conceptual schema definition language (CSDL). For details about CSDL, see [MC-CSDL].

Conceptually, a CSDLBI document has an overall structure that resembles the following.

 <Schema>
    <Using/>
    <Using/>
  
    <ComplexType/>
  
    <Function/>
    <Function/>
  
    <EntityContainer>
       <EntitySet>
          <bi:EntitySet/>
       <EntitySet/>
  
       <EntitySet>
          <bi:EntitySet/>
       <EntitySet/>
  
       <AssociationSet>
          <End/>
          <End/>
          <bi:AssociationSet/>
       </AssociationSet>
  
       <AssociationSet>
          <End/>
          <End/>
          <bi:AssociationSet/>
       </AssociationSet>
  
       <bi:EntityContainer>
          <bi:CompareOptions/>
       </bi:EntityContainer>
    </EntityContainer>
  
    <EntityType>
       <Key>
          <PropertyRef/>
       </Key>
  
       <Property>
          <bi:Property>
       </Property>
  
       <Property>
          <bi:Property>
       </Property>
  
       <Property>
          <bi:Measure>
             <bi:Kpi>
                <bi:Goal>
                   <bi:PropertyRef/>
                </bi:Goal>
                <bi:Status>
                   <bi:PropertyRef/>
                </bi:Status>
             </bi:Kpi>
          </bi:Measure>
       </Property>
  
       <NavigationProperty>
          <bi:NavigationProperty/>
       </NavigationProperty>
  
       <bi:EntityType>
          <bi:Hierarchy>
             <bi:Level>
                <bi:Source>
                   <bi:PropertyRef/>
                </bi:Source>
             </bi:Level>
             <bi:Level>
                <bi:Source>
                   <bi:PropertyRef/>
                </bi:Source>
             </bi:Level>
          </bi:Hierarchy>
       </bi:EntityType>
    </EntityType>
  
    <EntityType>
       <bi:EntityType>
          <bi:Hierarchy>
             <bi:Level>
                <bi:Source>
                   <bi:PropertyRef/>
                </bi:Source>
             </bi:Level>
             <bi:Level>
                <bi:Source>
                   <bi:PropertyRef/>
                </bi:Source>
             </bi:Level>
          </bi:Hierarchy>
       </bi:EntityType>
    </EntityType>
  
    <Association>
       <End/>
       <End/>
    </Association>
  
    <Association>
       <End/>
       <End/>
    </Association>
 </Schema>

Note The previous example is not a detailed specification. It is meant to provide only a visual overview.

Show: