Documentation for ATIS-Draft-03-00-79

Simple Type: Mode

[Table of contents]

Super-types: None
Sub-types: None
Name Mode
Used by (from the same schema document) Complex Type ManeuverInstruction , Complex Type ManeuverInstruction , Complex Type Route , Complex Type Segment , Complex Type SubRoute , Complex Type TripConstraints
Content
  • Union of following types:
    • Locally defined type:
      • Base XSD Type: unsignedInt
      • 0 <= value <= 127
    • Locally defined type:
      • Base XSD Type: string
      • value comes from list: {'any'|'auto'|'walking'|'privateAuto'|'bus'|'train'|'commuterTrain'|'lightRail'|'subway'|'ferry'|'airline'|'bicycle'|'rentalCar'|'taxi'|'anyTransit'|'paratransit'|'ridesharing'|'mixed'}
Documentation values to 127 reserved for std use values 128 to 255 reserved for local use
Application Data any (0) -- and other auto (1) walking (2) privateAuto (3) bus (4) train (5) commuterTrain (6) lightRail (7) subway (8) ferry (9) airline (10) bicycle (11) rentalCar (12) taxi (13) anyTransit (14) paratransit (15) ridesharing (16) mixed (127) -- more than one used
Diagram
Schema Component Representation
<xs:simpleType name="Mode">
<xs:union>
<xs:simpleType>
<xs:restriction base=" xs:unsignedInt ">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="127"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base=" xs:string ">
<xs:enumeration value="any"/>
<xs:enumeration value="auto"/>
<xs:enumeration value="walking"/>
<xs:enumeration value="privateAuto"/>
<xs:enumeration value="bus"/>
<xs:enumeration value="train"/>
<xs:enumeration value="commuterTrain"/>
<xs:enumeration value="lightRail"/>
<xs:enumeration value="subway"/>
<xs:enumeration value="ferry"/>
<xs:enumeration value="airline"/>
<xs:enumeration value="bicycle"/>
<xs:enumeration value="rentalCar"/>
<xs:enumeration value="taxi"/>
<xs:enumeration value="anyTransit"/>
<xs:enumeration value="paratransit"/>
<xs:enumeration value="ridesharing"/>
<xs:enumeration value="mixed"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>