<complexType name="AbstractRouteSegmentType" abstract="true">
<annotation>
<appinfo source="ADT.xsd" />
<documentation>Defines the characteristics of a segment along a route.</documentation>
</annotation>
<sequence>
<element ref="xls:Distance">
<annotation>
<documentation>Distance along the segment.</documentation>
</annotation>
</element>
<element name="TravelTime" type="duration">
<annotation>
<documentation>Estimated time to travel the complete route, Expressed as a duration as defined by W3C. reference URL: http://www.w3c.org/TR/xmlschema-2</documentation>
</annotation>
</element>
<element ref="xls:BoundingBox">
<annotation>
<documentation>Rectangular area bounding the segment.</documentation>
</annotation>
</element>
</sequence>
<attribute name="name" type="string" use="optional">
<annotation>
<documentation>Name of segment, e.g.: street name, or the name of the public transit line. When the name is unknown, this should be an empty string. When not specified, the name is assumed to be the same as the previous segment.</documentation>
</annotation>
</attribute>
</complexType>
|