Skip to content

Commit

Permalink
Simplify element names (#217)
Browse files Browse the repository at this point in the history
Remove redundant parts of element names, e.g. `PointOfInterest->PointOfInterestCode` becomes and `PointOfInterest->PointOfInterestName` becomes `PointOfInterest->Name`
  • Loading branch information
ue71603 authored Aug 30, 2022
1 parent 6ea2619 commit a64fb8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions OJP/OJP_PlaceSupport.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,12 @@
<xs:documentation>[corresponds to POINT OF INTEREST in TMv6 with related information] type of PLACE to or through which passengers may wish to navigate as part of their journey and which is modelled in detail by journey planners. </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="PointOfInterestCode" type="PointOfInterestCodeType">
<xs:element name="PublicCode" type="PointOfInterestCodeType">
<xs:annotation>
<xs:documentation>ID of this Point of Interest.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PointOfInterestName" type="InternationalTextStructure">
<xs:element name="Name" type="InternationalTextStructure">
<xs:annotation>
<xs:documentation>Name or description of point of interest for use in passenger information.</xs:documentation>
</xs:annotation>
Expand Down Expand Up @@ -366,7 +366,7 @@
<xs:documentation>descriptive data associated with a PLACE that can be used to describe the unique geographical context of a PLACE for the purposes of identifying it. May be refined as either a ROAD ADDRESS, a POSTAL ADDRESS or both</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="AddressCode" type="AddressCodeType">
<xs:element name="PublicCode" type="AddressCodeType">
<xs:annotation>
<xs:documentation>ID of this address.</xs:documentation>
</xs:annotation>
Expand All @@ -376,7 +376,7 @@
<xs:documentation>Code of this address in private/foreign/proprietary coding schemes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AddressName" type="InternationalTextStructure">
<xs:element name="Name" type="InternationalTextStructure">
<xs:annotation>
<xs:documentation>Name or description of address for use in passenger information.</xs:documentation>
</xs:annotation>
Expand Down
Loading

0 comments on commit a64fb8a

Please sign in to comment.