Compartir a través de


2.6.4 LabelInfo Stream Schema

The following describes the schema for the XML in the LabelInfo stream (2), where labelList (see section 2.6.4.3) is the root element.

 <xsd:schema elementFormDefault="qualified"
    xmlns:clbl="http://schemas.microsoft.com/office/2020/mipLabelMetadata"
    xmlns:r="http://schemas.microsoft.com/office/2020/02/relationships"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  
    <xsd:simpleType name="ST_ClassificationGuid">
       <xsd:restriction base="xsd:token">
          <xsd:pattern value="\{[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\}"/>
       </xsd:restriction>
    </xsd:simpleType>
  
    <xsd:complexType name="CT_ClassificationExtension">
       <xsd:sequence>
          <xsd:any/>
       </xsd:sequence>
       <xsd:attribute name="uri" type="xsd:token" use="required"/>
    </xsd:complexType>
  
    <xsd:complexType name="CT_ClassificationExtensionList">
       <xsd:sequence>
          <xsd:element name="ext" type="CT_ClassificationExtension" minOccurs="0" maxOccurs="unbounded"/>
       </xsd:sequence>
    </xsd:complexType>
  
    <xsd:complexType name="CT_ClassificationLabel">
       <xsd:attribute name="id" type="xsd:string" use="required"/>
       <xsd:attribute name="enabled" type="xsd:boolean" use="required"/>
       <xsd:attribute name="method" type="xsd:string" use="required"/>
       <xsd:attribute name="siteId" type="ST_ClassificationGuid" use="required"/>
       <xsd:attribute name="contentBits" type="xsd:unsignedInt" use="optional"/>
       <xsd:attribute name="removed" type="xsd:boolean" use="required"/>
    </xsd:complexType>
  
    <xsd:complexType name="CT_ClassificationLabelList">
       <xsd:sequence>
          <xsd:element name="label" type="CT_ClassificationLabel" minOccurs="0" maxOccurs="unbounded" />
          <xsd:element name="extLst" type="CT_ClassificationExtensionList" minOccurs="0" maxOccurs="1"/>
       </xsd:sequence>
    </xsd:complexType>
  
    <xsd:element name="labelList" type="CT_ClassificationLabelList" />
 </xsd:schema>