-
Notifications
You must be signed in to change notification settings - Fork 12
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
Added ProtoProduct into FareProductStructure #60
Conversation
A proto product is a fare product, which shall not be shown to the user directly. Instead it carries fare product related information, which can be processed further. Can be used for tariffing in a distributed environment, where OJP services can deliver only parts of a fare product.
Solves issue #51 |
OJP_FareSupport.xsd
Outdated
@@ -238,6 +237,11 @@ | |||
</xs:annotation> | |||
</xs:element> | |||
<xs:group ref="FareAuthorityGroup"/> | |||
<xs:element name="ProtoProduct" type="xs:boolean" default="false" minOccurs="0"> | |||
<xs:annotation> | |||
<xs:documentation>Is the product a proto product? If yes, it should not be shown to the user directly. Instead a proto product transports fare product information, which usually has to be processed further. Default is false.</xs:documentation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extend by
Can be used for tariffing in a distributed environment, where OJP services can deliver only parts of a fare product.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall I explain, why a proto fare product can be sensible in a distributed environment or shall we discard the "where ..." part of the sentence?
Included references to EU-Spirit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this product a proto product? Default is false. If yes, it should not be shown to the user. In a distributed environment (e.g. EU-Spirit) partial systems may generate incomplete product information (proto product), which has to be be processed further and combined with other information before it is a complete fare product and can be shown to the user. See https://eu-spirit.eu/
A proto product is a fare product, which shall not be shown to the user directly. Instead it carries fare product related information, which can be processed further. Can be used for tariffing in a distributed environment, where OJP services can deliver only parts of a fare product.