Skip to content

Commit

Permalink
modeled the Contacts correct and corrected that contacts must allow m…
Browse files Browse the repository at this point in the history
…ultiple Contact
  • Loading branch information
ue71603 committed Jun 5, 2024
1 parent 4ab1889 commit 7a7e971
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions examples/functions/newModes/NewModes-CarClubExample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@
</ContactDetails>
<ContactType>information</ContactType>
</Contact>
<Contact id="contact1" version="any">
<ContactDetails>
<Phone>+41 1 800 80 80</Phone>
</ContactDetails>
</Contact>
</contacts>
<organisations>
<!-- ==== ORGANISATIONS ==== -->
Expand Down Expand Up @@ -374,6 +379,7 @@
<members>
<Vehicle version="any" id="car_01">
<OperatorRef version="any" ref="coc:MCR"/>
<ContactRef ref="contact1" version="any"/>
<SimpleVehicleTypeRef version="any" ref="small_car"/>
<VehicleModelRef version="any" ref="mini_whiz"/>
<CarModelProfileRef version="any" ref="model_a"/>
Expand All @@ -385,9 +391,6 @@
<LockingMechanism>immobilisingLock</LockingMechanism>
</VehicleReleaseEquipment>
</actualVehicleEquipments>
<CustomerServiceContactDetails>
<Phone>+41 1 800 80 80</Phone>
</CustomerServiceContactDetails>
</Vehicle>
<Vehicle version="any" id="car_02">
<OperatorRef version="any" ref="coc:MCR"/>
Expand Down Expand Up @@ -1252,4 +1255,4 @@ This Shows sample Purchases
</frames>
</CompositeFrame>
</dataObjects>
</PublicationDelivery>
</PublicationDelivery>
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ Rail transport, Roads and Road transport
<xsd:complexContent>
<xsd:extension base="containmentAggregationStructure">
<xsd:sequence>
<xsd:element ref="Contact"/>
<xsd:element ref="Contact" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
Expand Down

0 comments on commit 7a7e971

Please sign in to comment.