Specialisatie ItineraryByIndexedLocations
Deze specialisatie wordt toegepast als de locatiebeschrijving bestaat uit twee of meer locaties die achter elkaar een route vormen. Daarnaast wordt dit type ook toegepast als beschrijving van een omleidingsroute. Het element groupOfLocations van type ItineraryByIndexedLocations bestaat uit twee of meer elementen locationContainedInItinerary:
Element locationContainedInItinerary
Het element locationContainedInItinerary wordt gebruikt om een geordende lijst van locaties op te kunnen nemen. Het element locationContainedInItinerary wordt met het attribuut xsi-type gespecialiseerd naar een PointLocation of een LinearLocation. De ordering wordt vastgelegd met behulp van het verplichte attribuut index. Hierbij wordt begonnen met index waarde 0 waarna opvolgend doorgenummerd wordt.
Attribuut index
Een binnen de itinerary uniek en aaneengesloten volgnummer. Hierbij wordt begonnen met de waarde 0.
Type: | Verplicht | Domein |
---|---|---|
xs:int | Ja | >=0 |
Elementen
Element | Type | Verplicht | Domein | Omschrijving |
---|---|---|---|---|
location | Location | Ja | NVT | Abstract element met de beschrijving van de locatie in de vorm van een punt of lijn |
Subelement Location
Het subelement location wordt met het attribuut xsi-type gespecialiseerd naar een PointLocation of een LinearLocation.
Attribuut xsi:type
Type: | Verplicht | Domein |
---|---|---|
String | Ja | LinearLocation, PointLocation |
Voorbeeld
<locationReference xsi:type="ItineraryByIndexedLocations">
<locationContainedInItinerary index="0">
<location xsi:type="LinearLocation">
...
</location>
</locationContainedInItinerary>
<locationContainedInItinerary index="1">
<location xsi:type="LinearLocation">
...
</location>
</locationContainedInItinerary>
</locationReference>