Documentation for ATIS-Draft-03-00-79

Simple Type: RouteSelection

[Table of contents]

Super-types: None
Sub-types: None
Name RouteSelection
Used by (from the same schema document) Complex Type TripPreferences
Content
  • Union of following types:
    • Locally defined type:
      • Base XSD Type: unsignedInt
      • 0 <= value <= 5
    • Locally defined type:
      • Base XSD Type: string
      • value comes from list: {'fastest'|'shortest'|'cheapest'|'minimizeTransfers'|'minimizeWalkingDistance'|'avoidBadWeather'}
Application Data fastest (0) shortest (1) cheapest (2) minimizeTransfers (3) minimizeWalkingDistance (4) avoidBadWeather (5)
Diagram
Schema Component Representation
<xs:simpleType name="RouteSelection">
<xs:union>
<xs:simpleType>
<xs:restriction base=" xs:unsignedInt ">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="5"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base=" xs:string ">
<xs:enumeration value="fastest"/>
<xs:enumeration value="shortest"/>
<xs:enumeration value="cheapest"/>
<xs:enumeration value="minimizeTransfers"/>
<xs:enumeration value="minimizeWalkingDistance"/>
<xs:enumeration value="avoidBadWeather"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>