<?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">
  <!-- Schema generated 2005-11-17T03:06:12+09:00 -->
  <xs:simpleType name="data.itsBoolean">
    <xs:restriction base="xs:token">
      <xs:enumeration value="yes"/>
      <xs:enumeration value="no"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:attributeGroup name="att.scope.attributes">
    <xs:attributeGroup ref="its:att.scope.attribute.translateScope"/>
    <xs:attributeGroup ref="its:att.scope.attribute.locInfoScope"/>
    <xs:attributeGroup ref="its:att.scope.attribute.termScope"/>
    <xs:attributeGroup ref="its:att.scope.attribute.dirScope"/>
    <xs:attributeGroup ref="its:att.scope.attribute.rubyScope"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scope.attribute.translateScope">
    <xs:attribute name="translateScope"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scope.attribute.locInfoScope">
    <xs:attribute name="locInfoScope"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scope.attribute.termScope">
    <xs:attribute name="termScope"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scope.attribute.dirScope">
    <xs:attribute name="dirScope"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.scope.attribute.rubyScope">
    <xs:attribute name="rubyScope"/>
  </xs:attributeGroup>
  <xs:element name="ruby" type="its:ruby.content"/>
  <xs:complexType name="ruby.content">
    <xs:sequence>
      <xs:element ref="its:rubyBase"/>
      <xs:element ref="its:rubyText"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="rubyBase" type="xs:string"/>
  <xs:element name="rubyText" type="xs:string"/>
  <xs:element name="documentRules" type="its:documentRules.content">
    <xs:annotation>
      <xs:documentation>This element contains rules for ITS information, to be used in documents.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="documentRules.content">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="its:documentRule"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="documentRule">
    <xs:annotation>
      <xs:documentation>A rule to express ITS information and the scope of it, to be used in a dislocated
              position in a document.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:documentRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="documentRule.attributes">
    <xs:attributeGroup ref="its:att.scope.attributes"/>
    <xs:attributeGroup ref="its:att.datacats.attributes"/>
  </xs:attributeGroup>
  <xs:element name="schemaRules" type="its:schemaRules.content">
    <xs:annotation>
      <xs:documentation>This element contains rules for ITS information, to be used as schema annotation.</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="schemaRules.content">
    <xs:sequence>
      <xs:element maxOccurs="unbounded" ref="its:schemaRule"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="schemaRule">
    <xs:annotation>
      <xs:documentation>A rule to express ITS information and the scope of it, to be used as schema
              annotation.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:attributeGroup ref="its:schemaRule.attributes"/>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="schemaRule.attributes">
    <xs:attributeGroup ref="its:att.datacats.attributes"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datacats.attributes">
    <xs:attributeGroup ref="its:att.datacats.attribute.translate"/>
    <xs:attributeGroup ref="its:att.datacats.attribute.locInfo"/>
    <xs:attributeGroup ref="its:att.datacats.attribute.locInfoType"/>
    <xs:attributeGroup ref="its:att.datacats.attribute.term"/>
    <xs:attributeGroup ref="its:att.datacats.attribute.termRef"/>
    <xs:attributeGroup ref="its:att.datacats.attribute.dir"/>
    <xs:attributeGroup ref="its:att.datacats.attribute.bdo"/>
    <xs:attributeGroup ref="its:att.datacats.attribute.rubyText"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datacats.attribute.translate">
    <xs:attribute name="translate" type="its:data.itsBoolean"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datacats.attribute.locInfo">
    <xs:attribute name="locInfo"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datacats.attribute.locInfoType">
    <xs:attribute name="locInfoType">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="description"/>
          <xs:enumeration value="alert"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datacats.attribute.term">
    <xs:attribute name="term">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="yes"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datacats.attribute.termRef">
    <xs:attribute name="termRef" type="xs:anyURI"/>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datacats.attribute.dir">
    <xs:attribute name="dir">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="ltr"/>
          <xs:enumeration value="rtl"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datacats.attribute.bdo">
    <xs:attribute name="bdo">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="yes"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:attributeGroup>
  <xs:attributeGroup name="att.datacats.attribute.rubyText">
    <xs:attribute name="rubyText"/>
  </xs:attributeGroup>
</xs:schema>
