-
Notifications
You must be signed in to change notification settings - Fork 16
CS 1.0: SD-2688: Add Departure and Arrival transportCallReference #585
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
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||||
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.
Pull request overview
This PR enhances the Commercial Schedules API by relocating the transportCallReference property from the transport-level objects (Vessel-Transport and Barge-Transport) to the more granular Arrival and Departure objects. This change provides better precision in identifying transport calls by allowing distinct references for arrival and departure events.
Key Changes:
- Added
transportCallReferenceproperty to both Arrival and Departure objects with clear precedence rules - Deprecated
transportCallReferencein Vessel-Transport and Barge-Transport objects with migration guidance - Updated documentation to clarify the precedence hierarchy when multiple transport call references are present
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| cs/v1/CS_v1.0.2.yaml | Added transportCallReference to Arrival and Departure objects; deprecated same property in Vessel-Transport and Barge-Transport with migration guidance |
| .stoplight/styleguide.json | Minor configuration update |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
SD-2688: CS Patch - PtoP - Feedback CMA: TransportCallReference for departure and for arrival
PR Type
Enhancement
Description
Add
transportCallReferenceproperty to Arrival and Departure objectsMark
transportCallReferencein Vessel-Transport and Barge-Transport as deprecatedUpdate documentation to clarify precedence and usage of transport call references
Minor whitespace and formatting corrections
Diagram Walkthrough
File Walkthrough
CS_v1.0.2.yaml
Add and deprecate transportCallReference propertiescs/v1/CS_v1.0.2.yaml
transportCallReferenceproperty to Arrival object with descriptionand example
transportCallReferenceproperty to Departure object withdescription and example
transportCallReferencein Vessel-Transport as deprecated withmigration guidance
transportCallReferencein Barge-Transport as deprecated withmigration guidance
transportCallReferencetakes precedencestyleguide.json
Styleguide configuration updates.stoplight/styleguide.json
analysis)