7.5 DLP Rules Configuration Types Schema

This section contains the contents of the PolicyNudgeRulesConfigurationSchemaTypes.xsd file and information about additional files that this schema file requires to operate correctly.<75>

PolicyNudgeRulesConfigurationSchemaTypes.xsd includes or imports the files listed in the following table. To operate correctly, these files have to be present in the folder that contains the PolicyNudgeRulesConfigurationSchemaTypes file.

File name

Defining section

PolicyNudgeRuleSchemaTypes.xsd

7.3

ClassificationRulePackageContainerSchemaType.xsd

7.1

 <?xml version="1.0" encoding="utf-8"?>
 <xs:schema
     elementFormDefault="qualified"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:mce="http://schemas.microsoft.com/office/2011/mce"
 > 
  
   <xs:include schemaLocation="PolicyNudgeRuleSchemaTypes.xsd" />
   <xs:import namespace="http://schemas.microsoft.com/office/2011/mce" 
       schemaLocation="ClassificationRulePackageContainerSchemaType.xsd" />
  
   <xs:complexType name="PolicyNudgeRulesConfigurationType">
     <xs:sequence>
       <xs:element name="PolicyNudgeRules" type="PolicyNudgeRulesType">
         <xs:unique name="ruleNameUnique">
           <xs:selector xpath="PolicyNudgeRule/rule" />
           <xs:field xpath="@name"/>
         </xs:unique>
         <xs:unique name="policyNudgeRuleIDUnique">
           <xs:selector xpath="PolicyNudgeRule" />
           <xs:field xpath="@id"/>
         </xs:unique>
       </xs:element>
       <xs:element name="ClassificationDefinitions" 
           type="ClassificationDefinitionsType">
         <xs:unique name="classificationDefinitionIDUnique">
           <xs:selector xpath="ClassificationDefinition" />
           <xs:field xpath="@id"/>
         </xs:unique>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
  
   <xs:complexType name="ApplyType">
     <xs:attribute name="apply" use="required">
       <xs:simpleType>
         <xs:restriction base="xs:string">
           <xs:pattern value="(([Tt][Rr][Uu][Ee])|([Ff][Aa][Ll][Ss][Ee]))" />
         </xs:restriction>
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
   
   <xs:complexType name="PolicyNudgeRulesType">
     <xs:complexContent>
       <xs:extension base="ApplyType">
         <xs:sequence>
           <xs:element name="PolicyNudgeRule" type="PolicyNudgeRuleType" 
               minOccurs="0" maxOccurs="unbounded" />
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
  
   <xs:complexType name="PolicyNudgeRuleType">
     <xs:sequence>
       <xs:element name="rule" type="ruleType" />
     </xs:sequence>
     <xs:attribute name="id" type="xs:string" use="required" />
     <xs:attribute name="version" type="xs:long" use="required" />
     <xs:anyAttribute processContents="skip" />
   </xs:complexType>
  
   <xs:complexType name="ClassificationDefinitionsType">
     <xs:complexContent>
       <xs:extension base="ApplyType">
         <xs:sequence>
           <xs:element name="ClassificationDefinition" 
               type="ClassificationDefinitionType" minOccurs="0" 
               maxOccurs="unbounded" />
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
  
   <xs:complexType name="ClassificationDefinitionType">
     <xs:complexContent>
       <xs:extension base="mce:RulePackageContainerType">
         <xs:attribute name="id" type="xs:string" use="required" />
         <xs:attribute name="version" type="xs:long" use="required" />
         <xs:anyAttribute processContents="skip" />
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:schema>