-
Notifications
You must be signed in to change notification settings - Fork 16
BKG 2.0: SD-2733: Add Vessel-Voyage info per leg #599
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
base: master
Are you sure you want to change the base?
Conversation
PR Compliance Guide 🔍(Compliance updated until commit 954246a)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 Previous compliance checksCompliance check up to commit 55fbf3d
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||
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 adds vessel and voyage information to transport legs in booking requests, enabling tracking of specific vessels and voyages per leg rather than only at the overall booking level.
Changes:
- Added
departingVesselVoyageobject to transport leg specification with vessel details and voyage identifiers - Included comprehensive validation patterns and examples for all vessel/voyage fields
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| bkg/v2/BKG_v2.0.4.yaml | Adds departingVesselVoyage object schema with vessel identification, service identifiers, and voyage reference properties |
| .stoplight/styleguide.json | Minor configuration update |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
| maxLength: 8 | ||
| description: | | ||
| The unique reference for a registered Vessel. The reference is the International Maritime Organisation (IMO) number, also sometimes known as the Lloyd's register code, which does not change during the lifetime of the vessel | ||
| The unique reference for a registered Vessel. The reference is the International Maritime Organisation (IMO) number, also sometimes known as the Lloyd's register code, which does not change during the lifetime of the vessel |
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.
| The unique reference for a registered Vessel. The reference is the International Maritime Organisation (IMO) number, also sometimes known as the Lloyd's register code, which does not change during the lifetime of the vessel | |
| The unique reference for a registered Vessel. The reference is the International Maritime Organisation (IMO) number, also sometimes known as the Lloyd's register code, which does not change during the lifetime of the vessel. |
| maxLength: 8 | ||
| description: | | ||
| The unique reference for a registered Vessel. The reference is the International Maritime Organisation (IMO) number, also sometimes known as the Lloyd's register code, which does not change during the lifetime of the vessel | ||
| The unique reference for a registered Vessel. The reference is the International Maritime Organisation (IMO) number, also sometimes known as the Lloyd's register code, which does not change during the lifetime of the vessel |
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.
same minor change, (.) at the end as above. To be consistent with other descriptions.
User description
SD-2733: Add
vesselandvoyageper leg in a Booking requestPR Type
Enhancement
Description
Add
departingVesselVoyageobject to transport leg specificationInclude vessel details: name, flag, IMO number, call sign
Include voyage identifiers: carrier service code, universal service reference
Include export voyage references: carrier and universal voyage numbers
Diagram Walkthrough
File Walkthrough
BKG_v2.0.4.yaml
Add departingVesselVoyage object with vessel voyage detailsbkg/v2/BKG_v2.0.4.yaml
departingVesselVoyageobject schema with vessel and voyageproperties
vesselName,vesselFlag,vesselIMONumber,vesselCallSigncarrierServiceCode,universalServiceReferencecarrierExportVoyageNumber,universalExportVoyageReferenceexamples
styleguide.json
Update styleguide configuration.stoplight/styleguide.json