Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix annotation errors and align with definitions in NeTEx pt 3 #383

Merged

Conversation

syversenkr
Copy link
Contributor

@syversenkr syversenkr commented Jul 18, 2022

Commit only contains cleanup of xsd:documentation

See NeTEx part 3 chapter 7.6.1.3.1.2 Reselling – Model Element and subchapters / underlying element definitions.

@syversenkr syversenkr changed the title Fix errors and align with specificaions in NeTEx pt 3 Fix errors and align with definitions in NeTEx pt 3 Jul 18, 2022
@syversenkr syversenkr requested review from seime, Aurige, nick-knowles, skinkie, ue71603 and a team July 18, 2022 13:33
@syversenkr syversenkr added the typo Typo (comment or mispelling) correction without any technical impact label Jul 18, 2022
@syversenkr syversenkr changed the title Fix errors and align with definitions in NeTEx pt 3 Fix annotation errors and align with definitions in NeTEx pt 3 Jul 18, 2022
@@ -181,12 +181,12 @@
<xsd:choice minOccurs="0">
<xsd:element name="ExchangableFromAnyTime" type="EmptyType">
<xsd:annotation>
<xsd:documentation>Special value Can be exhanged from Purchase onwards.</xsd:documentation>
<xsd:documentation>Special value - Can be exchanged or refunded from any point after purchase.</xsd:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just say exchanged here (for consistency)

</xsd:annotation>
</xsd:element>
<xsd:element name="ExchangableFromDuration" type="xsd:duration">
<xsd:annotation>
<xsd:documentation>Duration to start of period before (negative) or after (positive) the trigger point (i.e. either Start of Validity or First Use ) or that ticket.</xsd:documentation>
<xsd:documentation>Duration to start of period before (negative) or after (positive) the trigger point (i.e. either Start of Validity or First Use ) after which ticket may be exchanged refunded or resold.</xsd:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just say exchanged here (for consistency)

</xsd:annotation>
</xsd:element>
<xsd:choice minOccurs="0">
<xsd:element name="ExchangableUntilAnyTime" type="EmptyType">
<xsd:annotation>
<xsd:documentation>Can be exchanged anyTime.</xsd:documentation>
<xsd:documentation>Can be exchanged, refunded or resold up until any point in time after purchase.</xsd:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just say exchanged here (for consistency)

</xsd:annotation>
</xsd:element>
<xsd:element name="ExchangableUntilDuration" type="xsd:duration">
<xsd:annotation>
<xsd:documentation>Duration to end of period before (negative) or after (positive) the trigger point (i.e. either Start of Validity or First Use ) or that ticket.</xsd:documentation>
<xsd:documentation>Duration to end of period before (negative) or after (positive) the trigger point (i.e. either Start of Validity or First Use ) after which ticket may be exchanged refunded or resold.</xsd:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just say exchanged here (for consistency)

@@ -242,12 +241,12 @@
<xsd:sequence>
<xsd:element name="HasFee" type="xsd:boolean" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Whether othere is a fee for reselling.</xsd:documentation>
<xsd:documentation>Whether these is a fee for a refund, exchange or reselling.</xsd:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just say exchanged here (for consistency)

@Aurige
Copy link
Contributor

Aurige commented Jul 18, 2022

I would favour an harmonised wording: either "exchange" either " resold (ie refunded or exchanged respectively)" but always have the same one

@syversenkr
Copy link
Contributor Author

syversenkr commented Jul 18, 2022

@Aurige
Have updated according to your comments i.e. harmonized to "resale" / "resold" or equivalent.
This is slighly less in sync with the spec, but more in sync with the other types in the same file (Exchanging/Refunding element definitions)

@syversenkr syversenkr merged commit e51628e into NeTEx-CEN:master Jul 18, 2022
@syversenkr syversenkr deleted the description_bugfix_ResellingCalculationGroup branch July 18, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typo Typo (comment or mispelling) correction without any technical impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants