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

Product category (version with the corrections) #95

Merged
merged 17 commits into from
Oct 14, 2020

Conversation

ue71603
Copy link
Contributor

@ue71603 ue71603 commented Sep 26, 2020

Messed up with desktop git, so new pull request

@pvgrumbkow
Copy link
Contributor

Am I right, and your pull request contains only the definition of ProductCategoryStructure and not its usage?

@pvgrumbkow pvgrumbkow added this to the v1.1 milestone Sep 28, 2020
@pvgrumbkow pvgrumbkow added the enhancement New feature or request label Sep 28, 2020
ue71603 and others added 2 commits October 1, 2020 13:44
Now all data is committed to this branch.
@ue71603
Copy link
Contributor Author

ue71603 commented Oct 1, 2020

You are right, but it was not intended. Updated the rest now.

@pvgrumbkow
Copy link
Contributor

Sorry, now you screwed OJP_commons.xsd completely up.

@ue71603
Copy link
Contributor Author

ue71603 commented Oct 1, 2020

you are right. But how? I edited it directly in github. It looks even ok in the comparison
ce6e5dc

@pvgrumbkow
Copy link
Contributor

It's still there. You removed OJP_commons.xsd and added an OJP_commons.xsd.tmp.

@ue71603
Copy link
Contributor Author

ue71603 commented Oct 1, 2020

I used the github inline editor, which obviously doesn't do what it should. And we currently seem to try to outcommit each other 👍

@ue71603
Copy link
Contributor Author

ue71603 commented Oct 1, 2020

Now, it looks good to me.

@@ -58,6 +80,11 @@
<xs:documentation>[a specialisation of MODE in TMv6] an extended range of VEHICLE MODEs, aggregating them with some SUBMODEs</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductCategory" type="ProductCategoryStructure">
<xs:annotation>
<xs:documentation>A product category for the service.</xs:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

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

Add an example please

@ue71603
Copy link
Contributor Author

ue71603 commented Oct 2, 2020

In general ok

  • Add a reference to NeTEx / Siri
  • Explain what a difference what a product category is.
  • With examples
  • More descriptive text
    Then update pull request, approved when enough positive feedback.

@@ -23,22 +23,22 @@
</xs:complexType>
<xs:complexType name="ProductCategoryStructure">
<xs:annotation>
<xs:documentation>Product category based on NeTEx</xs:documentation>
<xs:documentation>Product category based on NeTEx. A product category is a classification to particular VEHICLE JOURNEYs to express some common properties of journeys form marketing and fare products. </xs:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be journeys for marketing and fare products (for instead of form)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

OJP_Common.xsd Outdated
@@ -95,7 +95,7 @@
</xs:simpleType>
<xs:element name="ProductCategoryRef" type="siri:ProductCategoryRefStructure">
<xs:annotation>
<xs:documentation>Reference to a product category.</xs:documentation>
<xs:documentation>Reference to a product category. It is useful to use the same types that are also used in time tables and real time data.</xs:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

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

What is meant by "types" here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed the text to
Reference to a product category. The product categories should be defined and used in a general manner over all channels (e.g. NeTEx, Siri, OJP)

</xs:annotation>
</xs:element>
<xs:element name="ShortName" type="InternationalTextStructure" minOccurs="0">
<xs:annotation>
<xs:documentation>Short name or acronym of product category.</xs:documentation>
<xs:documentation>Short name or acronym of product category. If you intend to publish the product category, this is were you would put, the information that you want to associate with the journey. E.g. "ARZ" in Switzerland or "BAV".</xs:documentation>
Copy link
Contributor

Choose a reason for hiding this comment

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

What is meant by this is were you would put, the information that you want to associate with the journey?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to: hort name or acronym of product category. The short name will likely be published. E.g. the product category is more important for publication in Switzerland than Mode / Submode. Examples "BAV", "ARZ", "TGV"

@pvgrumbkow pvgrumbkow merged commit 3708ad4 into changes_for_v1.1 Oct 14, 2020
@pvgrumbkow pvgrumbkow deleted the ProductCategory1 branch October 14, 2020 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants