-
Notifications
You must be signed in to change notification settings - Fork 16
eBL 3.0: SD-2778: Add vessel/voyage role #601
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 adds a role field to the VesselVoyage schema across three API specification files to support identifying vessels as either mother vessels or first sea-going vessels in transport documents.
Changes:
- Added optional
rolefield toVesselVoyageschema with two possible values:FIRST_SEA_GOINGandMOTHER - Updated
VesselVoyagedescription to explain the role field usage - Implemented as a pseudo-enum (string with maxLength 30) to allow future extensibility
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| pint/v3/EBL_PINT_v3.0.0.yaml | Added role field to VesselVoyage schema in PINT v3.0.0 specification |
| ebl/v3/issuance/EBL_ISS_v3.0.3.yaml | Added role field to VesselVoyage schema in issuance v3.0.3 specification |
| ebl/v3/EBL_v3.0.3.yaml | Added role field to VesselVoyage schema in main EBL v3.0.3 specification |
💡 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-2778: Add
roletoVessel/VoyageThe role can be either
MOTHERorFIRST_SEA_GOING. Adding as pseudoEnum in order to be able to modify it in the futurePR Type
Enhancement
Description
Add
roleproperty to VesselVoyage schemaSupport two role values: FIRST_SEA_GOING and MOTHER
Update schema descriptions across three OpenAPI files
Enhance documentation with role usage examples
Diagram Walkthrough
File Walkthrough
EBL_ISS_v3.0.3.yaml
Add role property to VesselVoyage schemaebl/v3/issuance/EBL_ISS_v3.0.3.yaml
roleproperty to VesselVoyage component with string type andmaxLength 30
EBL_PINT_v3.0.0.yaml
Add role property to VesselVoyage schemapint/v3/EBL_PINT_v3.0.0.yaml
roleproperty to VesselVoyage component with string type andmaxLength 30
EBL_v3.0.3.yaml
Add role property to VesselVoyage schemaebl/v3/EBL_v3.0.3.yaml
roleproperty to VesselVoyage component with string type andmaxLength 30
styleguide.json
Styleguide configuration update.stoplight/styleguide.json
analysis)