Skip to content

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

Merged
syversenkr merged 3 commits into
TransmodelEcosystem:masterfrom
entur:description_bugfix_ResellingCalculationGroup
Jul 18, 2022
Merged

Fix annotation errors and align with definitions in NeTEx pt 3#383
syversenkr merged 3 commits into
TransmodelEcosystem:masterfrom
entur:description_bugfix_ResellingCalculationGroup

Conversation

@syversenkr
Copy link
Copy Markdown
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 a team, Aurige, nick-knowles, seime, skinkie and ue71603 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
<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
Copy Markdown
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: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
Copy Markdown
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: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
Copy Markdown
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: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
Copy Markdown
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: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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 TransmodelEcosystem: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