Skip to content

Commit

Permalink
NewModes - Add POOL OF VEHICLEs, Also fix up merge of Readme & netex_…
Browse files Browse the repository at this point in the history
…publication files (#221)

* NewModes Add Policy URL

Country comment from 27.08/2021 Add policy url to Service

* NewModes: Add a PoolOfVehicles entity

Add a PoolOfVehicles Entity as per review meeting, linked to VEHICLEs, MOBILITY SERVICE CONSTRAINT ZONE and PARKING.  Extend example to test.

Also fix up ReadMe and netex_publication to fix errors introduced by  merge on 01 Sep 2021. Also an error had been introduced into access right parameters,

* solve alignment issue

* Taks trailing > correction line 29

* Indentation issues

* Typo

* Attempt for a mergeable version

Attempt for a clean version that should allow merging
@Stefan can you check it is ok ?

Co-authored-by: Christophe Duquesne <christophe.duquesne@aurigetech.com>
  • Loading branch information
nick-knowles and Aurige authored Sep 3, 2021
1 parent e62a170 commit 4ec9f36
Show file tree
Hide file tree
Showing 11 changed files with 1,090 additions and 321 deletions.
696 changes: 694 additions & 2 deletions README.md

Large diffs are not rendered by default.

36 changes: 35 additions & 1 deletion examples/functions/newModes/NewModes-CycleSharingExample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -624,11 +624,36 @@
</members>
</Fleet>
</fleets>
<poolsOfVehicles>
<PoolOfVehicles version="any" id="metrobike_pool_1">
<Name>Restricted Pool -zone</Name>
<VehicleSharingServiceRef version="any" ref="metrobike"/>
<MobilityServiceConstraintZoneRef version="any" ref="bring_back_to_zone"/>
<vehicles>
<VehicleRef version="any" ref="B01"/>
<VehicleRef version="any" ref="B03"/>
<VehicleRef version="any" ref="B05"/>
</vehicles>
</PoolOfVehicles>
<PoolOfVehicles version="any" id="metrobike_pool_2">
<Name>Restricted Pool - parking</Name>
<VehicleSharingServiceRef version="any" ref="metrobike"/>
<ParkingRef version="any" ref="bike_station_beta"/>
<parkingComponents>
<VehicleSharingParkingAreaRef version="any" ref="bike_station_beta_B1"/>
</parkingComponents>
<vehicles>
<VehicleRef version="any" ref="P03"/>
<VehicleRef version="any" ref="P04"/>
</vehicles>
</PoolOfVehicles>
</poolsOfVehicles>
<!-- === Availabels ervices === -->
<mobilityServices>
<VehicleSharingService version="any" id="metrobike">
<BrandingRef version="any" ref="myBrand"/>
<Name>Metro Bike Cycle share scheme</Name>

<infoLinks>
<InfoLink typeOfInfoLink="info">http:metrobike.eu/info</InfoLink>
<InfoLink typeOfInfoLink="mobileAppDownload" targetPlatform="ios">http:metrobike.eu/ios</InfoLink>
Expand All @@ -643,6 +668,7 @@
<OnlineServiceRef version="any" ref="metrobike_online"/>
</proposedByServices>
<VehicleSharingRef version="any" ref="cycle_share"/>
<SharingPolicyUrl>>http:metrobike.eu/policy</SharingPolicyUrl>
<MinimumSharingPeriod>PT30M</MinimumSharingPeriod>
<MaximumSharingPeriod>PT24H</MaximumSharingPeriod>
<fleets>
Expand Down Expand Up @@ -719,6 +745,15 @@
</VehicleTypeZoneRestriction>
</vehicleRestrictions>
</MobilityServiceConstraintZone>
<MobilityServiceConstraintZone version="any" id="bring_back_to_zone">
<Name>Must bring back to same zone</Name>
<VehicleSharingServiceRef version="any" ref="metrobike"/>
<vehicleRestrictions>
<VehicleTypeZoneRestriction version="any" id="bring_back">
<ZoneUse>mustPickUpAndDropOffInSameZone</ZoneUse>
</VehicleTypeZoneRestriction>
</vehicleRestrictions>
</MobilityServiceConstraintZone>
</mobilityServiceConstraintZones>
</MobilityServiceFrame>
<!--==== FARES ==== -->
Expand Down Expand Up @@ -1535,7 +1570,6 @@ This Shows sample Purchases
<TelCountryCode>31</TelCountryCode>
</Phone>
<PhoneVerified>2020-02-28T16:00:00</PhoneVerified>

<customerAccounts>
<CustomerAccount version="any" id="mbt:Cust444@AC7651" created="2020-02-28T13:00:00">
<Name>hotrider</Name>
Expand Down
Loading

0 comments on commit 4ec9f36

Please sign in to comment.