-
Notifications
You must be signed in to change notification settings - Fork 15
BKG 2.0: SD-3132: Add Special Instructions #644
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3184,6 +3184,29 @@ components: | |
| description: | | ||
| Transport obligations, costs and risks as agreed between buyer and seller as defined by [Incoterms Rules](https://iccwbo.org/business-solutions/incoterms-rules/). | ||
| example: FCA | ||
| specialInstructions: | ||
| type: array | ||
| minItems: 1 | ||
| maxItems: 5 | ||
| description: | | ||
| Free-text instructions provided by the shipper that apply to the Booking. | ||
|
|
||
| Each item may contain leading or trailing whitespace and newline characters for human readability. | ||
|
|
||
| This property must not contain information that can be provided through | ||
| another structured Booking property. | ||
|
|
||
| **Condition:** The order of the items in this array **MUST** be preserved | ||
| as by the provider of the API. | ||
|
Comment on lines
+3199
to
+3200
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 4. Ambiguous order responsibility The specialInstructions description says order must be preserved “as by the provider of the API”, which is ambiguous in request contexts where the shipper/consumer supplies the list and can confuse implementers about who must preserve ordering. Agent Prompt
|
||
| items: | ||
| type: string | ||
| maxLength: 512 | ||
|
Comment on lines
+3201
to
+3203
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 3. Empty instruction strings allowed specialInstructions items only constrain maxLength, so an array can schema-validate while containing empty or whitespace-only strings (including newline-only entries), resulting in a “non-empty” instructions list with no actual instruction content. Agent Prompt
|
||
| description: | | ||
|
Comment on lines
+3201
to
+3204
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2. specialinstructions has maxlength The schema enforces maxLength: 512 on specialInstructions items, but the requirement explicitly says not to enforce a maximum character length while the limit is TBC. This can cause valid longer instructions to be rejected by schema validation. Agent Prompt
|
||
| One free-text instruction applying to the Booking. | ||
| example: Inspector on Site | ||
| example: | ||
| - Inspector on Site | ||
| - Do not book VIA Bremerhaven | ||
| isEquipmentSubstitutionAllowed: | ||
| type: boolean | ||
| description: | | ||
|
|
@@ -3592,6 +3615,29 @@ components: | |
| description: | | ||
| Transport obligations, costs and risks as agreed between buyer and seller as defined by [Incoterms Rules](https://iccwbo.org/business-solutions/incoterms-rules/). | ||
| example: FCA | ||
| specialInstructions: | ||
| type: array | ||
| minItems: 1 | ||
| maxItems: 5 | ||
| description: | | ||
| Free-text instructions provided by the shipper that apply to the Booking. | ||
|
|
||
| Each item may contain leading or trailing whitespace and newline characters for human readability. | ||
|
|
||
| This property must not contain information that can be provided through | ||
| another structured Booking property. | ||
|
|
||
| **Condition:** The order of the items in this array **MUST** be preserved | ||
| as by the provider of the API. | ||
| items: | ||
| type: string | ||
| maxLength: 512 | ||
| description: | | ||
| One free-text instruction applying to the Booking. | ||
| example: Inspector on Site | ||
| example: | ||
| - Inspector on Site | ||
| - Do not book VIA Bremerhaven | ||
| isEquipmentSubstitutionAllowed: | ||
| type: boolean | ||
| description: | | ||
|
|
@@ -4069,6 +4115,29 @@ components: | |
| description: | | ||
| Transport obligations, costs and risks as agreed between buyer and seller as defined by [Incoterms Rules](https://iccwbo.org/business-solutions/incoterms-rules/). | ||
| example: FCA | ||
| specialInstructions: | ||
| type: array | ||
| minItems: 1 | ||
| maxItems: 5 | ||
| description: | | ||
| Free-text instructions provided by the shipper that apply to the Booking. | ||
|
|
||
| Each item may contain leading or trailing whitespace and newline characters for human readability. | ||
|
|
||
| This property must not contain information that can be provided through | ||
| another structured Booking property. | ||
|
|
||
| **Condition:** The order of the items in this array **MUST** be preserved | ||
| as by the provider of the API. | ||
| items: | ||
| type: string | ||
| maxLength: 512 | ||
| description: | | ||
| One free-text instruction applying to the Booking. | ||
| example: Inspector on Site | ||
| example: | ||
| - Inspector on Site | ||
| - Do not book VIA Bremerhaven | ||
| isEquipmentSubstitutionAllowed: | ||
| type: boolean | ||
| description: | | ||
|
|
@@ -5392,6 +5461,25 @@ components: | |
| example: false | ||
| activeReeferSettings: | ||
| $ref: '#/components/schemas/ActiveReeferSettings' | ||
| specialInstructions: | ||
| type: array | ||
| minItems: 1 | ||
| maxItems: 5 | ||
| description: | | ||
| Free-text instructions provided by the shipper that apply specifically to this Requested Equipment. | ||
|
|
||
| Each item may contain leading or trailing whitespace and newline characters for human readability. | ||
|
|
||
| This property must not contain information that can be provided through another structured Requested Equipment property. | ||
|
|
||
| **Condition:** The order of the items in this array **MUST** be preserved as by the provider of the API. | ||
| items: | ||
| type: string | ||
| maxLength: 512 | ||
| description: One free-text instruction applying to this Requested Equipment. | ||
| example: Doors Facing Cab | ||
| example: | ||
| - Doors Facing Cab | ||
| references: | ||
| type: array | ||
| description: | | ||
|
|
@@ -5497,6 +5585,25 @@ components: | |
| example: false | ||
| activeReeferSettings: | ||
| $ref: '#/components/schemas/ActiveReeferSettings' | ||
| specialInstructions: | ||
| type: array | ||
| minItems: 1 | ||
| maxItems: 5 | ||
| description: | | ||
| Free-text instructions provided by the shipper that apply specifically to this Requested Equipment. | ||
|
|
||
| Each item may contain leading or trailing whitespace and newline characters for human readability. | ||
|
|
||
| This property must not contain information that can be provided through another structured Requested Equipment property. | ||
|
|
||
| **Condition:** The order of the items in this array **MUST** be preserved as by the provider of the API. | ||
| items: | ||
| type: string | ||
| maxLength: 512 | ||
| description: One free-text instruction applying to this Requested Equipment. | ||
| example: Doors Facing Cab | ||
| example: | ||
| - Doors Facing Cab | ||
| references: | ||
| type: array | ||
| description: | | ||
|
|
||
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.
1. Booking specialinstructions not string
📎 Requirement gap≡ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools