9, -1, 559, 539, 538, -1,
      539, 559, 560, -1, 560, 540, 539, -1,
      540, 560, 561, -1, 561, 541, 540, -1,
      541, 561, 562, -1, 562, 542, 541, -1,
      542, 562, 563, -1, 563, 543, 542, -1,
      543, 563, 564, -1, 564, 544, 543, -1,
      544, 564, 565, -1, 565, 545, 544, -1,
      545, 565, 566, -1, 566, 546, 545, -1,
      546, 566, 567, -1, 567, 547, 546, -1,
      547, 567, 568, -1, 568, 548, 547, -1,
      548, 568, 569, -1, 569, 549, 548, -1,
      549, 569, 570, -1, 591, 550, 570, -1,
      550, 591, 571, -1, 571, 551, 550, -1,
      551, 571, 572, -1, 572, 552, 551, -1,
      552, 572, 573, -1, 573, 553, 552, -1,
      553, 573, 574, -1, 574, 554, 553, -1,
      554, 574, 575, -1, 575, 555, 554, -1,
      555, 575, 576, -1, 576, 556, 555, -1,
      556, 576, 577, -1, 577, 557, 556, -1,
      557, 577, 578, -1, 578, 558, 557, -1,
      558, 578, 579, -1, 579, 559, 558, -1,
      559, 579, 580, -1, 580, 560, 559, -1,
      560, 580, 581, -1, 581, 561, 560, -1,
      561, 581, 582, -1, 582, 562, 561, -1,
      562, 582, 583, -1, 583, 563, 562, -1,
      563, 583, 584, -1, 584, 564, 563, -1,
      564, 584, 585, -1, 585, 565, 564, -1,
      565, 585, 586, -1, 586, 566, 565, -1,
      566, 586, 587, -1, 587, 567, 566, -1,
      567, 587, 588, -1, 588, 568, 567, -1,
      568, 588, 589, -1, 589, 569, 568, -1,
      569, 589, 590, -1, 590, 570, 569, -1,
      570, 590, 591, -1, 612, 571, 591, -1,
      571, 612, 592, -1, 592, 572, 571, -1,
      572, 592, 593, -1, 593, 573, 572, -1,
      573, 593, 594, -1, 594, 574, 573, -1,
      574, 594, 595, -1, 595, 575, 574, -1,
      575, 595, 596, -1, 596, 576, 575, -1,
      576, 596, 597, -1, 597, 577, 576, -1,
      577, 597, 598, -1, 598, 578, 577, -1,
      578, 598, 599, -1, 599, 579, 578, -1,
      579, 599, 600, -1, 600, 580, 579, -1,
      580, 600, 601, -1, 601, 581, 580, -1,
      581, 601, 602, -1, 602, 582, 581, -1,
      582, 602, 603, -1, 603, 583, 582, -1,
      583, 603, 604, -1, 604, 584, 583, -1,
      584, 604, 605, -1, 605, 585, 584, -1<schema xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:bidi="http://schemas.microsoft.com/windows/2010/09/printing/usbbidi"
        targetNamespace="http://schemas.microsoft.com/windows/2010/09/printing/usbbidi">
  <annotation>
    <documentation>
      USB Printing Bidi Extension XML Schema for Print Class Driver v1.0

      Copyright (c) Microsoft Corporation.  All rights reserved.
    </documentation>
  </annotation>

  <element name="Schema">
    <complexType>
      <sequence minOccurs="1" maxOccurs="unbounded">
        <element name="Property" type="bidi:PROPERTY" minOccurs="1" maxOccurs="unbounded"/>
        <element name="PortStatus" type="bidi:PortStatusType" minOccurs="0" maxOccurs="1"/>
      </sequence>
    </complexType>
  </element>


  <complexType name="PROPERTY">
    <sequence minOccurs="1" maxOccurs="unbounded">
      <choice>
        <element name="Property"        type="bidi:PROPERTY"/>
        <element name="IndexedProperty" type="bidi:INDEXED_PROPERTY"/>
        <element name="Const"           type="bidi:CONST"/>
        <element name="Value"           type="bidi:VALUE"/>
        <element name="BuiltIn"         type="bidi:BUILT_IN"/>
        <element name="Event"           type="bidi:EVENT"/>
      </choice>
    </sequence>
    <attribute name="name" type="bidi:PROPERTY_NAME" use="required"/>
  </complexType>

  <simpleType name="PROPERTY_NAME">
    <restriction base="string">
      <pattern value="\w+"/>
    </restriction>
  </simpleType>

  <complexType name="INDEXED_PROPERTY">
    <sequence minOccurs="1" maxOccurs="unbounded">
      <choice>
        <element name="IndexedProperty"    type="bidi:INDEXED_PROPERTY"/>
        <element name="NonIndexedProperty" type="bidi:NON_INDEXED_PROPERTY"/>
        <element name="Value"              type="bidi:VALUE"/>
        <element name="BuiltIn"         type="bidi:BUILT_IN"/>
      </choice>
    </sequence>
    <attribute name="name" type="bidi:PROPERTY_NAME" use="required"/>
  </complexType>

  <complexType name="NON_INDEXED_PROPERTY">
    <complexContent>
      <extension base="bidi:INDEXED_PROPERTY"/>
    </complexContent>
  </complexType>

  <simpleType name="BIDI_TYPE">
    <restriction base="string">
      <enumeration value="BIDI_INT"/>
      <enumeration value="BIDI_ENUM"/>
      <enumeration value="BIDI_STRING"/>
      <enumeration value="BIDI_TEXT"/>
      <enumeration value="BIDI_FLOAT"/>
      <enumeration value="BIDI_BOOL"/>
      <enumeration value="BIDI_BLOB"/>
    </restriction>
  </simpleType>

  <simpleType name="ACCESS_TYPE">
    <restriction base="string">
      <enumeration value="Get"/>
      <enumeration value="Set"/>
      <enumeration value="GetSet"/>
    </restriction>
  </simpleType>

  <complexType name="CONST">
    <attribute name="name"              type="bidi:VALUE_NAME"   use="required"/>
    <attribute name="type"              type="bidi:BIDI_TYPE"    use="required"/>
    <attribute name="value"             type="string"            use="required"/>
  </complexType>

  <complexType name="VALUE">
    <attribute name="name"              type="bidi:VALUE_NAME"   use="required"/>
    <attribute name="type"              type="bidi:BIDI_TYPE"    use="required"/>
    <attribute name="accessType"        type="bidi:ACCESS_TYPE"  use="required"/>
    <attribute name="queryKey"          type="string"            use="optional"/>
    <attribute name="refreshInterval"   type="integer"           use="optional"/>
    <attribute name="drvPrinterEvent"   type="boolean"           use="optional"/>
  </complexType>

  <complexType name="EVENT">
    <attribute name="name"              type="bidi:VALUE_NAME"   use="required"/>
  </complexType>

  <simpleType name="VALUE_NAME">
    <restriction base="string">
      <pattern value="\w+"/>
    </restriction>
  </simpleType>

  <complexType name="BUILT_IN" >
    <attribute name="name"              type="string"   use="required"/>
    <attribute name="id"                type="string"   use="required"/>
  </complexType>

  <complexType name ="PortStatusType">
    <sequence>
      <element name="Status" type="bidi:StatusEntryType" maxOccurs="unbounded" />
    </sequence>
  </complexType>

  <complexType name ="StatusEntryType">
    <sequence>
      <element name="Keyword" type="bidi:string64"/>
      <element name="Code" type="int"/>
      <element name="Severity" type="int"/>
    </sequence>
  </complexType>

  <simpleType name='string64'>
    <restriction base='string'>
      <maxLength value='64'/>
      <pattern value='\w+'/>
    </restriction>
  </simpleType>

</schema>
