<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/2005/11/its" xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink">
  <xs:include schemaLocation="its20-types.xsd"/>
  <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
  <xs:attributeGroup name="attribute.translate">
    <xs:attribute name="translate" use="required" form="qualified" type="its:translate.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.translate.nons">
    <xs:attribute name="translate" use="required" type="its:translate.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.dir">
    <xs:attribute name="dir" use="required" form="qualified" type="its:dir.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.dir.nons">
    <xs:attribute name="dir" use="required" type="its:dir.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locNote">
    <xs:attribute name="locNote" use="required" form="qualified" type="its:locNote.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locNote.nons">
    <xs:attribute name="locNote" use="required" type="its:locNote.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locNoteType">
    <xs:attribute name="locNoteType" use="required" form="qualified" type="its:locNoteType.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locNoteType.nons">
    <xs:attribute name="locNoteType" use="required" type="its:locNoteType.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locNoteRef">
    <xs:attribute name="locNoteRef" use="required" form="qualified" type="its:locNoteRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locNoteRef.nons">
    <xs:attribute name="locNoteRef" use="required" type="its:locNoteRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.termInfoRef">
    <xs:attribute name="termInfoRef" use="required" form="qualified" type="its:termInfoRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.termInfoRef.nons">
    <xs:attribute name="termInfoRef" use="required" type="its:termInfoRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.term">
    <xs:attribute name="term" use="required" form="qualified" type="its:term.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.term.nons">
    <xs:attribute name="term" use="required" type="its:term.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.termConfidence">
    <xs:attribute name="termConfidence" use="required" form="qualified" type="its:termConfidence.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.termConfidence.nons">
    <xs:attribute name="termConfidence" use="required" type="its:termConfidence.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.withinText">
    <xs:attribute name="withinText" use="required" form="qualified" type="its:withinText.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.withinText.nons">
    <xs:attribute name="withinText" use="required" type="its:withinText.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.domainMapping">
    <xs:attribute name="domainMapping" use="required" form="qualified" type="its:domainMapping.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.domainMapping.nons">
    <xs:attribute name="domainMapping" use="required" type="its:domainMapping.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taConfidence">
    <xs:attribute name="taConfidence" use="required" form="qualified" type="its:taConfidence.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taConfidence.nons">
    <xs:attribute name="taConfidence" use="required" type="its:taConfidence.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taClassRef">
    <xs:attribute name="taClassRef" use="required" form="qualified" type="its:taClassRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taClassRef.nons">
    <xs:attribute name="taClassRef" use="required" type="its:taClassRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taIdent">
    <xs:attribute name="taIdent" use="required" form="qualified" type="its:taIdent.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taIdent.nons">
    <xs:attribute name="taIdent" use="required" type="its:taIdent.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taIdentRef">
    <xs:attribute name="taIdentRef" use="required" form="qualified" type="its:taIdentRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taIdentRef.nons">
    <xs:attribute name="taIdentRef" use="required" type="its:taIdentRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taSource">
    <xs:attribute name="taSource" use="required" form="qualified" type="its:taSource.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taSource.nons">
    <xs:attribute name="taSource" use="required" type="its:taSource.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.localeFilterList">
    <xs:attribute name="localeFilterList" use="required" form="qualified" type="its:localeFilterList.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.localeFilterList.nons">
    <xs:attribute name="localeFilterList" use="required" type="its:localeFilterList.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.localeFilterType">
    <xs:attribute name="localeFilterType" use="required" form="qualified" type="its:localeFilterType.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.localeFilterType.nons">
    <xs:attribute name="localeFilterType" use="required" type="its:localeFilterType.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.person">
    <xs:attribute name="person" use="required" form="qualified" type="its:person.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.person.nons">
    <xs:attribute name="person" use="required" type="its:person.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.personRef">
    <xs:attribute name="personRef" use="required" form="qualified" type="its:personRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.personRef.nons">
    <xs:attribute name="personRef" use="required" type="its:personRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.org">
    <xs:attribute name="org" use="required" form="qualified" type="its:org.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.org.nons">
    <xs:attribute name="org" use="required" type="its:org.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.orgRef">
    <xs:attribute name="orgRef" use="required" form="qualified" type="its:orgRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.orgRef.nons">
    <xs:attribute name="orgRef" use="required" type="its:orgRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.tool">
    <xs:attribute name="tool" use="required" form="qualified" type="its:tool.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.tool.nons">
    <xs:attribute name="tool" use="required" type="its:tool.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.toolRef">
    <xs:attribute name="toolRef" use="required" form="qualified" type="its:toolRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.toolRef.nons">
    <xs:attribute name="toolRef" use="required" type="its:toolRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revPerson">
    <xs:attribute name="revPerson" use="required" form="qualified" type="its:revPerson.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revPerson.nons">
    <xs:attribute name="revPerson" use="required" type="its:revPerson.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revPersonRef">
    <xs:attribute name="revPersonRef" use="required" form="qualified" type="its:revPersonRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revPersonRef.nons">
    <xs:attribute name="revPersonRef" use="required" type="its:revPersonRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revOrg">
    <xs:attribute name="revOrg" use="required" form="qualified" type="its:revOrg.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revOrg.nons">
    <xs:attribute name="revOrg" use="required" type="its:revOrg.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revOrgRef">
    <xs:attribute name="revOrgRef" use="required" form="qualified" type="its:revOrgRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revOrgRef.nons">
    <xs:attribute name="revOrgRef" use="required" type="its:revOrgRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revTool">
    <xs:attribute name="revTool" use="required" form="qualified" type="its:revTool.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revTool.nons">
    <xs:attribute name="revTool" use="required" type="its:revTool.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revToolRef">
    <xs:attribute name="revToolRef" use="required" form="qualified" type="its:revToolRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.revToolRef.nons">
    <xs:attribute name="revToolRef" use="required" type="its:revToolRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.provRef">
    <xs:attribute name="provRef" use="required" form="qualified" type="its:provRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.provRef.nons">
    <xs:attribute name="provRef" use="required" type="its:provRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.provenanceRecordsRef">
    <xs:attribute name="provenanceRecordsRef" use="required" form="qualified" type="its:provenanceRecordsRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.provenanceRecordsRef.nons">
    <xs:attribute name="provenanceRecordsRef" use="required" type="its:provenanceRecordsRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssuesRef">
    <xs:attribute name="locQualityIssuesRef" use="required" form="qualified" type="its:locQualityIssuesRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssuesRef.nons">
    <xs:attribute name="locQualityIssuesRef" use="required" type="its:locQualityIssuesRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueType">
    <xs:attribute name="locQualityIssueType" use="required" form="qualified" type="its:locQualityIssueType.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueType.nons">
    <xs:attribute name="locQualityIssueType" use="required" type="its:locQualityIssueType.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueComment">
    <xs:attribute name="locQualityIssueComment" use="required" form="qualified" type="its:locQualityIssueComment.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueComment.nons">
    <xs:attribute name="locQualityIssueComment" use="required" type="its:locQualityIssueComment.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueSeverity">
    <xs:attribute name="locQualityIssueSeverity" use="required" form="qualified" type="its:locQualityIssueSeverity.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueSeverity.nons">
    <xs:attribute name="locQualityIssueSeverity" use="required" type="its:locQualityIssueSeverity.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueProfileRef">
    <xs:attribute name="locQualityIssueProfileRef" use="required" form="qualified" type="its:locQualityIssueProfileRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueProfileRef.nons">
    <xs:attribute name="locQualityIssueProfileRef" use="required" type="its:locQualityIssueProfileRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueEnabled">
    <xs:attribute name="locQualityIssueEnabled" use="required" form="qualified" type="its:locQualityIssueEnabled.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssueEnabled.nons">
    <xs:attribute name="locQualityIssueEnabled" use="required" type="its:locQualityIssueEnabled.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingScore">
    <xs:attribute name="locQualityRatingScore" use="required" form="qualified" type="its:locQualityRatingScore.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingScore.nons">
    <xs:attribute name="locQualityRatingScore" use="required" type="its:locQualityRatingScore.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingVote">
    <xs:attribute name="locQualityRatingVote" use="required" form="qualified" type="its:locQualityRatingVote.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingVote.nons">
    <xs:attribute name="locQualityRatingVote" use="required" type="its:locQualityRatingVote.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingScoreThreshold">
    <xs:attribute name="locQualityRatingScoreThreshold" use="required" form="qualified" type="its:locQualityRatingScoreThreshold.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingScoreThreshold.nons">
    <xs:attribute name="locQualityRatingScoreThreshold" use="required" type="its:locQualityRatingScoreThreshold.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingVoteThreshold">
    <xs:attribute name="locQualityRatingVoteThreshold" use="required" form="qualified" type="its:locQualityRatingVoteThreshold.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingVoteThreshold.nons">
    <xs:attribute name="locQualityRatingVoteThreshold" use="required" type="its:locQualityRatingVoteThreshold.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingProfileRef">
    <xs:attribute name="locQualityRatingProfileRef" use="required" form="qualified" type="its:locQualityRatingProfileRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityRatingProfileRef.nons">
    <xs:attribute name="locQualityRatingProfileRef" use="required" type="its:locQualityRatingProfileRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.mtConfidence">
    <xs:attribute name="mtConfidence" use="required" form="qualified" type="its:mtConfidence.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.mtConfidence.nons">
    <xs:attribute name="mtConfidence" use="required" type="its:mtConfidence.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.allowedCharacters">
    <xs:attribute name="allowedCharacters" use="required" form="qualified" type="its:allowedCharacters.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.allowedCharacters.nons">
    <xs:attribute name="allowedCharacters" use="required" type="its:allowedCharacters.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.storageSize">
    <xs:attribute name="storageSize" use="required" form="qualified" type="its:storageSize.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.storageSize.nons">
    <xs:attribute name="storageSize" use="required" type="its:storageSize.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.storageEncoding">
    <xs:attribute name="storageEncoding" use="required" form="qualified" type="its:storageEncoding.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.storageEncoding.nons">
    <xs:attribute name="storageEncoding" use="required" type="its:storageEncoding.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.lineBreakType">
    <xs:attribute name="lineBreakType" use="required" form="qualified" type="its:lineBreakType.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.lineBreakType.nons">
    <xs:attribute name="lineBreakType" use="required" type="its:lineBreakType.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.annotatorsRef">
    <xs:attribute name="annotatorsRef" use="required" form="qualified" type="its:annotatorsRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.annotatorsRef.nons">
    <xs:attribute name="annotatorsRef" use="required" type="its:annotatorsRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.version">
    <xs:attribute name="version" use="required" form="qualified" type="its:version.type">
      <xs:annotation>
        <xs:documentation>Version of ITS</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.version.nons">
    <xs:attribute name="version" use="required" type="its:version.type">
      <xs:annotation>
        <xs:documentation>Version of ITS</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.queryLanguage">
    <xs:attribute name="queryLanguage" use="required" form="qualified"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.queryLanguage.nons">
    <xs:attribute name="queryLanguage" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.xlink.href">
    <xs:attribute ref="xlink:href" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.xlink.type">
    <xs:attribute ref="xlink:type" use="required"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.selector">
    <xs:attribute name="selector" use="required" type="its:absolute-selector.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="foreign-attribute">
    <xs:anyAttribute namespace="##other" processContents="skip"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="any-attribute">
    <xs:anyAttribute processContents="skip"/>
  </xs:attributeGroup>
  <xs:group name="any-element">
    <xs:sequence>
      <xs:any processContents="skip"/>
    </xs:sequence>
  </xs:group>
  <xs:group name="foreign-element">
    <xs:choice>
      <xs:any namespace="##other" processContents="skip"/>
      <xs:any namespace="##local" processContents="skip"/>
    </xs:choice>
  </xs:group>
  <xs:element name="rules">
    <xs:annotation>
      <xs:documentation>Container for global rules</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="its:rules.content">
          <xs:attributeGroup ref="its:rules.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="rules.content">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="its:param"/>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="its:translateRule"/>
        <xs:element ref="its:locNoteRule"/>
        <xs:element ref="its:termRule"/>
        <xs:element ref="its:dirRule"/>
        <xs:element ref="its:langRule"/>
        <xs:element ref="its:withinTextRule"/>
        <xs:element ref="its:domainRule"/>
        <xs:element ref="its:textAnalysisRule"/>
        <xs:element ref="its:localeFilterRule"/>
        <xs:element ref="its:provRule"/>
        <xs:element ref="its:locQualityIssueRule"/>
        <xs:element ref="its:mtConfidenceRule"/>
        <xs:element ref="its:externalResourceRefRule"/>
        <xs:element ref="its:targetPointerRule"/>
        <xs:element ref="its:idValueRule"/>
        <xs:element ref="its:preserveSpaceRule"/>
        <xs:element ref="its:allowedCharactersRule"/>
        <xs:element ref="its:storageSizeRule"/>
        <xs:group ref="its:foreign-element"/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>
  <xs:attributeGroup name="rules.attributes">
    <xs:attributeGroup ref="its:attribute.version.nons"/>
    <xs:attribute ref="xlink:href"/>
    <xs:attribute ref="xlink:type"/>
    <xs:attribute name="queryLanguage"/>
    <xs:anyAttribute namespace="##other"/>
  </xs:attributeGroup>
  <xs:element name="param">
    <xs:annotation>
      <xs:documentation>Declaration of variable used in selectors</xs:documentation>
    </xs:annotation>
    <xs:complexType mixed="true">
      <xs:attributeGroup ref="its:param.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="param.attributes">
    <xs:attribute name="name" use="required" type="xs:string"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="local.attributes">
    <xs:attribute name="translate" form="qualified" type="its:translate.type"/>
    <xs:attribute name="dir" form="qualified" type="its:dir.type"/>
    <xs:attribute name="locNote" form="qualified" type="its:locNote.type"/>
    <xs:attribute name="locNoteRef" form="qualified" type="its:locNoteRef.type"/>
    <xs:attribute name="locNoteType" form="qualified" type="its:locNoteType.type"/>
    <xs:attribute name="term" form="qualified" type="its:term.type"/>
    <xs:attribute name="termInfoRef" form="qualified" type="its:termInfoRef.type"/>
    <xs:attribute name="termConfidence" form="qualified" type="its:termConfidence.type"/>
    <xs:attribute name="withinText" form="qualified" type="its:withinText.type"/>
    <xs:attribute name="taConfidence" form="qualified" type="its:taConfidence.type"/>
    <xs:attribute name="taClassRef" form="qualified" type="its:taClassRef.type"/>
    <xs:attribute name="taSource" form="qualified" type="its:taSource.type"/>
    <xs:attribute name="taIdent" form="qualified" type="its:taIdent.type"/>
    <xs:attribute name="taIdentRef" form="qualified" type="its:taIdentRef.type"/>
    <xs:attribute name="localeFilterList" form="qualified" type="its:localeFilterList.type"/>
    <xs:attribute name="localeFilterType" form="qualified" type="its:localeFilterType.type"/>
    <xs:attribute name="person" form="qualified" type="its:person.type"/>
    <xs:attribute name="personRef" form="qualified" type="its:personRef.type"/>
    <xs:attribute name="org" form="qualified" type="its:org.type"/>
    <xs:attribute name="orgRef" form="qualified" type="its:orgRef.type"/>
    <xs:attribute name="tool" form="qualified" type="its:tool.type"/>
    <xs:attribute name="toolRef" form="qualified" type="its:toolRef.type"/>
    <xs:attribute name="revPerson" form="qualified" type="its:revPerson.type"/>
    <xs:attribute name="revPersonRef" form="qualified" type="its:revPersonRef.type"/>
    <xs:attribute name="revOrg" form="qualified" type="its:revOrg.type"/>
    <xs:attribute name="revOrgRef" form="qualified" type="its:revOrgRef.type"/>
    <xs:attribute name="revTool" form="qualified" type="its:revTool.type"/>
    <xs:attribute name="revToolRef" form="qualified" type="its:revToolRef.type"/>
    <xs:attribute name="provRef" form="qualified" type="its:provRef.type"/>
    <xs:attribute name="provenanceRecordsRef" form="qualified" type="its:provenanceRecordsRef.type"/>
    <xs:attribute name="locQualityIssuesRef" form="qualified" type="its:locQualityIssuesRef.type"/>
    <xs:attribute name="locQualityIssueType" form="qualified" type="its:locQualityIssueType.type"/>
    <xs:attribute name="locQualityIssueComment" form="qualified" type="its:locQualityIssueComment.type"/>
    <xs:attribute name="locQualityIssueSeverity" form="qualified" type="its:locQualityIssueSeverity.type"/>
    <xs:attribute name="locQualityIssueProfileRef" form="qualified" type="its:locQualityIssueProfileRef.type"/>
    <xs:attribute name="locQualityIssueEnabled" form="qualified" type="its:locQualityIssueEnabled.type"/>
    <xs:attribute name="locQualityRatingScore" form="qualified" type="its:locQualityRatingScore.type"/>
    <xs:attribute name="locQualityRatingScoreThreshold" form="qualified" type="its:locQualityRatingScoreThreshold.type"/>
    <xs:attribute name="locQualityRatingVote" form="qualified" type="its:locQualityRatingVote.type"/>
    <xs:attribute name="locQualityRatingVoteThreshold" form="qualified" type="its:locQualityRatingVoteThreshold.type"/>
    <xs:attribute name="locQualityRatingProfileRef" form="qualified" type="its:locQualityRatingProfileRef.type"/>
    <xs:attribute name="mtConfidence" form="qualified" type="its:mtConfidence.type"/>
    <xs:attribute name="allowedCharacters" form="qualified" type="its:allowedCharacters.type"/>
    <xs:attribute name="storageSize" form="qualified" type="its:storageSize.type"/>
    <xs:attribute name="storageEncoding" form="qualified" type="its:storageEncoding.type"/>
    <xs:attribute name="lineBreakType" form="qualified" type="its:lineBreakType.type"/>
    <xs:attribute name="annotatorsRef" form="qualified" type="its:annotatorsRef.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="local.nons.attributes">
    <xs:attribute name="translate" type="its:translate.type"/>
    <xs:attribute name="dir" type="its:dir.type"/>
    <xs:attribute name="locNote" type="its:locNote.type"/>
    <xs:attribute name="locNoteRef" type="its:locNoteRef.type"/>
    <xs:attribute name="locNoteType" type="its:locNoteType.type"/>
    <xs:attribute name="term" type="its:term.type"/>
    <xs:attribute name="termInfoRef" type="its:termInfoRef.type"/>
    <xs:attribute name="termConfidence" type="its:termConfidence.type"/>
    <xs:attribute name="withinText" type="its:withinText.type"/>
    <xs:attribute name="taConfidence" type="its:taConfidence.type"/>
    <xs:attribute name="taClassRef" type="its:taClassRef.type"/>
    <xs:attribute name="taSource" type="its:taSource.type"/>
    <xs:attribute name="taIdent" type="its:taIdent.type"/>
    <xs:attribute name="taIdentRef" type="its:taIdentRef.type"/>
    <xs:attribute name="localeFilterList" type="its:localeFilterList.type"/>
    <xs:attribute name="localeFilterType" type="its:localeFilterType.type"/>
    <xs:attribute name="person" type="its:person.type"/>
    <xs:attribute name="personRef" type="its:personRef.type"/>
    <xs:attribute name="org" type="its:org.type"/>
    <xs:attribute name="orgRef" type="its:orgRef.type"/>
    <xs:attribute name="tool" type="its:tool.type"/>
    <xs:attribute name="toolRef" type="its:toolRef.type"/>
    <xs:attribute name="revPerson" type="its:revPerson.type"/>
    <xs:attribute name="revPersonRef" type="its:revPersonRef.type"/>
    <xs:attribute name="revOrg" type="its:revOrg.type"/>
    <xs:attribute name="revOrgRef" type="its:revOrgRef.type"/>
    <xs:attribute name="revTool" type="its:revTool.type"/>
    <xs:attribute name="revToolRef" type="its:revToolRef.type"/>
    <xs:attribute name="provRef" type="its:provRef.type"/>
    <xs:attribute name="provenanceRecordsRef" type="its:provenanceRecordsRef.type"/>
    <xs:attribute name="locQualityIssuesRef" type="its:locQualityIssuesRef.type"/>
    <xs:attribute name="locQualityIssueType" type="its:locQualityIssueType.type"/>
    <xs:attribute name="locQualityIssueComment" type="its:locQualityIssueComment.type"/>
    <xs:attribute name="locQualityIssueSeverity" type="its:locQualityIssueSeverity.type"/>
    <xs:attribute name="locQualityIssueProfileRef" type="its:locQualityIssueProfileRef.type"/>
    <xs:attribute name="locQualityIssueEnabled" type="its:locQualityIssueEnabled.type"/>
    <xs:attribute name="locQualityRatingScore" type="its:locQualityRatingScore.type"/>
    <xs:attribute name="locQualityRatingScoreThreshold" type="its:locQualityRatingScoreThreshold.type"/>
    <xs:attribute name="locQualityRatingVote" type="its:locQualityRatingVote.type"/>
    <xs:attribute name="locQualityRatingVoteThreshold" type="its:locQualityRatingVoteThreshold.type"/>
    <xs:attribute name="locQualityRatingProfileRef" type="its:locQualityRatingProfileRef.type"/>
    <xs:attribute name="mtConfidence" type="its:mtConfidence.type"/>
    <xs:attribute name="allowedCharacters" type="its:allowedCharacters.type"/>
    <xs:attribute name="storageSize" type="its:storageSize.type"/>
    <xs:attribute name="storageEncoding" type="its:storageEncoding.type"/>
    <xs:attribute name="lineBreakType" type="its:lineBreakType.type"/>
    <xs:attribute name="annotatorsRef" type="its:annotatorsRef.type"/>
  </xs:attributeGroup>
  <xs:element name="span">
    <xs:annotation>
      <xs:documentation>Inline element to contain ITS information</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="its:span.content">
          <xs:attributeGroup ref="its:span.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="span.content" mixed="true">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="its:span"/>
    </xs:sequence>
  </xs:complexType>
  <xs:attributeGroup name="span.attributes">
    <xs:attributeGroup ref="its:local.nons.attributes"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:element name="translateRule">
    <xs:annotation>
      <xs:documentation>Rule about the Translate data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:translateRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="translateRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.translate.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:element name="locNoteRule">
    <xs:annotation>
      <xs:documentation>Rule about the Localization Note data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" ref="its:locNote"/>
      </xs:sequence>
      <xs:attributeGroup ref="its:attribute.selector"/>
      <xs:attributeGroup ref="its:attribute.locNoteType.nons"/>
      <xs:attribute name="locNotePointer" type="its:relative-selector.type"/>
      <xs:attribute name="locNoteRef" type="its:locNoteRef.type"/>
      <xs:attribute name="locNoteRefPointer" type="its:relative-selector.type"/>
      <xs:attributeGroup ref="its:foreign-attribute"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="attribute.locNotePointer.nons">
    <xs:attribute name="locNotePointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locNoteRefPointer.nons">
    <xs:attribute name="locNoteRefPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="locNote">
    <xs:annotation>
      <xs:documentation>Localization note</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="its:locNote.content">
          <xs:attributeGroup ref="its:locNote.attributes"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="locNote.content" mixed="true">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" ref="its:span"/>
    </xs:sequence>
  </xs:complexType>
  <xs:attributeGroup name="locNote.attributes">
    <xs:attributeGroup ref="its:local.nons.attributes"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:element name="termRule">
    <xs:annotation>
      <xs:documentation>Rule about the Terminology data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:termRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="termRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.term.nons"/>
    <xs:attribute name="termInfoPointer" type="its:relative-selector.type"/>
    <xs:attribute name="termInfoRef" type="its:termInfoRef.type"/>
    <xs:attribute name="termInfoRefPointer" type="its:relative-selector.type"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.termInfoPointer.nons">
    <xs:attribute name="termInfoPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.termInfoRefPointer.nons">
    <xs:attribute name="termInfoRefPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="dirRule">
    <xs:annotation>
      <xs:documentation>Rule about the Directionality data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:dirRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="dirRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.dir.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:element name="langRule">
    <xs:annotation>
      <xs:documentation>Rule about the Language Information data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:langRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="langRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.langPointer.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.langPointer.nons">
    <xs:attribute name="langPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="withinTextRule">
    <xs:annotation>
      <xs:documentation>Rule about the Elements Within Text data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:withinTextRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="withinTextRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.withinText.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:element name="domainRule">
    <xs:annotation>
      <xs:documentation>Rule about the Domain data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:domainRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="domainRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.domainPointer.nons"/>
    <xs:attribute name="domainMapping" type="its:domainMapping.type"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.domainPointer.nons">
    <xs:attribute name="domainPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="textAnalysisRule">
    <xs:annotation>
      <xs:documentation>Rule about the Disambiguation data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:textAnalysisRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="textAnalysisRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attribute name="taClassRefPointer" type="its:taClassRefPointer.type"/>
    <xs:attribute name="taSourcePointer" type="its:taSourcePointer.type"/>
    <xs:attribute name="taIdentPointer" type="its:taIdentPointer.type"/>
    <xs:attribute name="taIdentRefPointer" type="its:taIdentRefPointer.type"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taClassRefPointer.nons">
    <xs:attribute name="taClassRefPointer" use="required" type="its:taClassRefPointer.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taIdentPointer.nons">
    <xs:attribute name="taIdentPointer" use="required" type="its:taIdentPointer.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taSourcePointer.nons">
    <xs:attribute name="taSourcePointer" use="required" type="its:taSourcePointer.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.taIdentRefPointer.nons">
    <xs:attribute name="taIdentRefPointer" use="required" type="its:taIdentRefPointer.type"/>
  </xs:attributeGroup>
  <xs:element name="localeFilterRule">
    <xs:annotation>
      <xs:documentation>Rule about the LocaleFilter data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:localeFilterRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="localeFilterRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.localeFilterList.nons"/>
    <xs:attribute name="localeFilterType" type="its:localeFilterType.type"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:element name="provRule">
    <xs:annotation>
      <xs:documentation>Rule about the Provenance data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:provRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="provRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.provenanceRecordsRefPointer.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.provenanceRecordsRefPointer.nons">
    <xs:attribute name="provenanceRecordsRefPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="externalResourceRefRule">
    <xs:annotation>
      <xs:documentation>Rule about the External Resource data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:externalResourceRefRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="externalResourceRefRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.externalResourceRefPointer.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.externalResourceRefPointer.nons">
    <xs:attribute name="externalResourceRefPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="targetPointerRule">
    <xs:annotation>
      <xs:documentation>Rule about the Target Pointer data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:targetPointerRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="targetPointerRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.targetPointer.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.targetPointer.nons">
    <xs:attribute name="targetPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="idValueRule">
    <xs:annotation>
      <xs:documentation>Rule about the Id Value data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:idValueRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="idValueRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.idValue.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.idValue.nons">
    <xs:attribute name="idValue" use="required" type="its:xpath-expression.type"/>
  </xs:attributeGroup>
  <xs:element name="preserveSpaceRule">
    <xs:annotation>
      <xs:documentation>Rule about the Preserve Space data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:preserveSpaceRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="preserveSpaceRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.space.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.space.nons">
    <xs:attribute name="space" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="default"/>
          <xs:enumeration value="preserve"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:element name="locQualityIssueRule">
    <xs:annotation>
      <xs:documentation>Rule about the Localization Quality Issue data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:locQualityIssueRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="locQualityIssueRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attribute name="locQualityIssuesRef" type="its:locQualityIssuesRef.type"/>
    <xs:attribute name="locQualityIssuesRefPointer" type="its:relative-selector.type"/>
    <xs:attribute name="locQualityIssueType" type="its:locQualityIssueType.type"/>
    <xs:attribute name="locQualityIssueComment" type="its:locQualityIssueComment.type"/>
    <xs:attribute name="locQualityIssueSeverity" type="its:locQualityIssueSeverity.type"/>
    <xs:attribute name="locQualityIssueProfileRef" type="its:locQualityIssueProfileRef.type"/>
    <xs:attribute name="locQualityIssueEnabled" type="its:locQualityIssueEnabled.type"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.locQualityIssuesRefPointer.nons">
    <xs:attribute name="locQualityIssuesRefPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="mtConfidenceRule">
    <xs:annotation>
      <xs:documentation>Rule about the MT Confidence data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:mtConfidenceRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="mtConfidenceRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attributeGroup ref="its:attribute.mtConfidence.nons"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:element name="allowedCharactersRule">
    <xs:annotation>
      <xs:documentation>Rule about the Allowed Characters data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:allowedCharactersRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="allowedCharactersRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attribute name="allowedCharacters" type="its:allowedCharacters.type"/>
    <xs:attribute name="allowedCharactersPointer" type="its:relative-selector.type"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.allowedCharactersPointer.nons">
    <xs:attribute name="allowedCharactersPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="storageSizeRule">
    <xs:annotation>
      <xs:documentation>Rule about the Allowed Characters data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:storageSizeRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="storageSizeRule.attributes">
    <xs:attributeGroup ref="its:attribute.selector"/>
    <xs:attribute name="storageSize" type="its:storageSize.type"/>
    <xs:attribute name="storageSizePointer" type="its:relative-selector.type"/>
    <xs:attribute name="storageEncoding" type="its:storageEncoding.type"/>
    <xs:attribute name="storageEncodingPointer" type="its:relative-selector.type"/>
    <xs:attribute name="lineBreakType" type="its:lineBreakType.type"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.storageSizePointer.nons">
    <xs:attribute name="storageSizePointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="attribute.storageEncodingPointer.nons">
    <xs:attribute name="storageEncodingPointer" use="required" type="its:relative-selector.type"/>
  </xs:attributeGroup>
  <xs:element name="standoff" abstract="true"/>
  <xs:element name="provenanceRecords" substitutionGroup="its:standoff">
    <xs:annotation>
      <xs:documentation>Standoff markup for Provenance data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="its:provenanceRecord"/>
      </xs:sequence>
      <xs:attribute ref="xml:id" use="required"/>
      <xs:attribute name="version" type="its:version.type">
        <xs:annotation>
          <xs:documentation>Version of ITS</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attributeGroup ref="its:foreign-attribute"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="provenanceRecord">
    <xs:annotation>
      <xs:documentation>Provenance record used in Provenance standoff markup</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:provenanceRecord.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="provenanceRecord.attributes">
    <xs:attribute name="person" type="its:person.type"/>
    <xs:attribute name="personRef" type="its:personRef.type"/>
    <xs:attribute name="org" type="its:org.type"/>
    <xs:attribute name="orgRef" type="its:orgRef.type"/>
    <xs:attribute name="tool" type="its:tool.type"/>
    <xs:attribute name="toolRef" type="its:toolRef.type"/>
    <xs:attribute name="revPerson" type="its:revPerson.type"/>
    <xs:attribute name="revPersonRef" type="its:revPersonRef.type"/>
    <xs:attribute name="revOrg" type="its:revOrg.type"/>
    <xs:attribute name="revOrgRef" type="its:revOrgRef.type"/>
    <xs:attribute name="revTool" type="its:revTool.type"/>
    <xs:attribute name="revToolRef" type="its:revToolRef.type"/>
    <xs:attribute name="provRef" type="its:provRef.type"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
  <xs:element name="locQualityIssues" substitutionGroup="its:standoff">
    <xs:annotation>
      <xs:documentation>Standoff markup for Localization Quality Issue data category</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" ref="its:locQualityIssue"/>
      </xs:sequence>
      <xs:attribute ref="xml:id" use="required"/>
      <xs:attribute name="version" type="its:version.type">
        <xs:annotation>
          <xs:documentation>Version of ITS</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attributeGroup ref="its:foreign-attribute"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="locQualityIssue">
    <xs:annotation>
      <xs:documentation>Issue recorded in Localization Quality standoff markup</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:locQualityIssue.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="locQualityIssue.attributes">
    <xs:attribute name="locQualityIssueType" type="its:locQualityIssueType.type"/>
    <xs:attribute name="locQualityIssueComment" type="its:locQualityIssueComment.type"/>
    <xs:attribute name="locQualityIssueSeverity" type="its:locQualityIssueSeverity.type"/>
    <xs:attribute name="locQualityIssueProfileRef" type="its:locQualityIssueProfileRef.type"/>
    <xs:attribute name="locQualityIssueEnabled" type="its:locQualityIssueEnabled.type"/>
    <xs:attributeGroup ref="its:foreign-attribute"/>
  </xs:attributeGroup>
</xs:schema>
