EBL 3.0: SD-3102: Add NA to codeListProvider for Consignee and Endorsee#636
EBL 3.0: SD-3102: Add NA to codeListProvider for Consignee and Endorsee#636HenrikHL wants to merge 13 commits into
NA to codeListProvider for Consignee and Endorsee#636Conversation
PR Summary by QodoEBL 3.0: Allow
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
Context used✅ Tickets:
SD-3102 1.
|
There was a problem hiding this comment.
Pull request overview
This PR updates the EBL 3.0 OpenAPI specifications to allow a “Not Applicable” identifying-code provider (NA) for parties that must still provide an identifyingCodes entry even when no real identifying code exists (per SD-3102).
Changes:
- Added a new
IdentifyingCodeExtendedschema (includingNAin the documented provider list + NA-specific conditions). - Updated
Consignee.identifyingCodesandEndorsee.identifyingCodesitem schema references toIdentifyingCodeExtended. - Applied the above updates consistently across the PINT, Issuance, and main EBL v3 specs.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| pint/v3/EBL_PINT_v3.0.0.yaml | Adds IdentifyingCodeExtended and switches Consignee/Endorsee identifyingCodes to it. |
| ebl/v3/issuance/EBL_ISS_v3.0.4.yaml | Adds IdentifyingCodeExtended and switches Consignee/Endorsee identifyingCodes to it. |
| ebl/v3/EBL_v3.0.4.yaml | Adds IdentifyingCodeExtended and switches Consignee/Endorsee identifyingCodes to it. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| - `NA` (Not Applicable) | ||
|
|
||
| **Condition:** When an identifying code is not available then `codeListProvider` MUST be `NA`. | ||
| example: W3C |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
ebl/v3/surrender/EBL_SUR_v3.0.4.yaml:511
- The
IdentifyingCode.partyCodedescription doesn’t document howpartyCodeshould be populated for the No Party placeholder, even though the schema now explicitly allowscodeListProvider='NONE'and the earlier example setspartyCodetoNONE. Adding the corresponding condition here would make the placeholder requirements self-contained and consistent.
partyCode:
type: string
description: |
Code to identify the party as provided by the `codeListProvider`
maxLength: 150
| description: | | ||
| A code and value that uniquely identifies a party. | ||
| Code-based identifier for a party. Includes the provider, code, and list name. | ||
| properties: | ||
| codeListProvider: | ||
| type: string |
| - `NONE` (To be used as part of the '**No Party**' object when `actionCode` is `SIGN`, `BLANK ENDORSE` or `SURRENDERED`) | ||
| The eBL platform of the `Recipient Party`. Possible values are those in the latest version 1.* of the [DCSA list of eBL Platforms](https://reference.dcsa.org/content/standards/dcsa-code-lists/ebl-solution-providers). | ||
|
|
||
| **Condition:** When this ebl platform represents the **No Party** object when `actionCode` is `SIGN`, `BLANK ENDORSE` or `SURRENDERED` - the value MUST be `NONE`. The value `NONE` MUST be added to the allowed values from the link above. |
| - `DOCU` (DocuTrade) | ||
| - `AEOT` (AEOTrade) | ||
| - `SGTD` (SGTraDex) | ||
| The eBL platform of the party. Possible values are those in the latest version 1.* of the [DCSA list of eBL Platforms](https://reference.dcsa.org/content/standards/dcsa-code-lists/ebl-solution-providers). |
SD-3102: Add
NAascodeListProviderwhen no IdentifyingCode is available or exists for a Party