Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stoplight/styleguide.json

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions bkg/v2/BKG_v2.0.5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5332,6 +5332,15 @@ components:
description: |
Number of requested equipment units.
example: 3
equipmentAttributeCodes:
type: array
description: |
A list of `Equipment Attribute Codes` that apply to the requested equipment.
Comment on lines +5335 to +5338

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

1. Missing pellets phrase in commoditytype 📎 Requirement gap ≡ Correctness

The BKG schema does not include the exact plastic-pellets declaration text on
Commodity.commodityType, so shippers are not guided to provide the required phrase per the ticket
requirement.
Agent Prompt
## Issue description
PR Compliance ID 2 requires the BKG API commodity type to include the exact declaration text: `CONTAINS PLASTIC PELLETS (PLX) AS PER IMO MEPC.1/CIRC.909`. The current `Commodity.commodityType` schema description/example does not include this declaration.

## Issue Context
This PR adds `equipmentAttributeCodes`, but the compliance item explicitly requires the human-readable declaration text to be present on the commodity type (as specified in the SD-3100 ticket).

## Fix Focus Areas
- bkg/v2/BKG_v2.0.5.yaml[5831-5837]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

items:
type: string
description: |
The code used to identify a property or status applicable to the requested equipment. The codeList used is the [SMDG ATTRIBUTES Code List](https://smdg.org/documents/smdg-code-lists/smdg-handling-stowins-attributes-code-lists/).
example: PLX
Comment on lines +5339 to +5343
containerPositionings:
type: array
description: |
Expand Down Expand Up @@ -5428,6 +5437,15 @@ components:
description: |
Number of requested equipment units.
example: 3
equipmentAttributeCodes:
type: array
description: |
A list of `Equipment Attribute Codes` that apply to the requested equipment.
items:
type: string
description: |
The code used to identify a property or status applicable to the requested equipment. The codeList used is the [SMDG ATTRIBUTES Code List](https://smdg.org/documents/smdg-code-lists/smdg-handling-stowins-attributes-code-lists/).
example: PLX
containerPositionings:
type: array
description: |
Expand Down
18 changes: 18 additions & 0 deletions ebl/v3/EBL_v3.0.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8163,6 +8163,15 @@ components:

If a container does not comply with [ISO 6346](https://www.iso.org/standard/83558.html), it is suggested to follow [Recommendation #2: Containers with non-ISO identification](https://smdg.org/documents/smdg-recommendations) from SMDG.
example: APZU4812090
equipmentAttributeCodes:
type: array
description: |
A list of `Equipment Attribute Codes` that apply to the cargo item.
items:
Comment on lines +8166 to +8170
type: string
description: |
The code used to identify a property or status applicable to the cargo item. The codeList used is the [SMDG ATTRIBUTES Code List](https://smdg.org/documents/smdg-code-lists/smdg-handling-stowins-attributes-code-lists/).
example: PLX
cargoGrossWeight:
$ref: '#/components/schemas/CargoGrossWeight'
cargoGrossVolume:
Expand Down Expand Up @@ -8221,6 +8230,15 @@ components:

If a container does not comply with [ISO 6346](https://www.iso.org/standard/83558.html), it is suggested to follow [Recommendation #2: Containers with non-ISO identification](https://smdg.org/documents/smdg-recommendations) from SMDG.
example: APZU4812090
equipmentAttributeCodes:
type: array
description: |
A list of `Equipment Attribute Codes` that apply to the cargo item.
items:
type: string
description: |
The code used to identify a property or status applicable to the cargo item. The codeList used is the [SMDG ATTRIBUTES Code List](https://smdg.org/documents/smdg-code-lists/smdg-handling-stowins-attributes-code-lists/).
example: PLX
cargoGrossWeight:
$ref: '#/components/schemas/CargoGrossWeight'
cargoGrossVolume:
Expand Down
9 changes: 9 additions & 0 deletions ebl/v3/issuance/EBL_ISS_v3.0.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1600,6 +1600,15 @@ components:

If a container does not comply with [ISO 6346](https://www.iso.org/standard/83558.html), it is suggested to follow [Recommendation #2: Containers with non-ISO identification](https://smdg.org/documents/smdg-recommendations) from SMDG.
example: APZU4812090
equipmentAttributeCodes:
type: array
description: |
A list of `Equipment Attribute Codes` that apply to the cargo item.
items:
type: string
description: |
The code used to identify a property or status applicable to the cargo item. The codeList used is the [SMDG ATTRIBUTES Code List](https://smdg.org/documents/smdg-code-lists/smdg-handling-stowins-attributes-code-lists/).
example: PLX
Comment on lines +1607 to +1611
cargoGrossWeight:
$ref: '#/components/schemas/CargoGrossWeight'
cargoGrossVolume:
Expand Down
9 changes: 9 additions & 0 deletions pint/v3/EBL_PINT_v3.0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2259,6 +2259,15 @@ components:

If a container does not comply with [ISO 6346](https://www.iso.org/standard/83558.html), it is suggested to follow [Recommendation #2: Containers with non-ISO identification](https://smdg.org/documents/smdg-recommendations) from SMDG.
example: APZU4812090
equipmentAttributeCodes:
type: array
description: |
A list of `Equipment Attribute Codes` that apply to the cargo item.
items:
type: string
description: |
The code used to identify a property or status applicable to the cargo item. The codeList used is the [SMDG ATTRIBUTES Code List](https://smdg.org/documents/smdg-code-lists/smdg-handling-stowins-attributes-code-lists/).
example: PLX
Comment on lines +2266 to +2270
cargoGrossWeight:
$ref: '#/components/schemas/CargoGrossWeight'
cargoGrossVolume:
Expand Down
Loading