From 00f7b3a1fe58805bbd21e3322eea56101ff990f4 Mon Sep 17 00:00:00 2001 From: Nis Jespersen Date: Fri, 15 Sep 2023 13:03:01 +0200 Subject: [PATCH 1/2] feat: consignee on packing list --- docs/openapi/components/schemas/common/PackingList.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/openapi/components/schemas/common/PackingList.yml b/docs/openapi/components/schemas/common/PackingList.yml index 1f240128d..ea02fc50d 100644 --- a/docs/openapi/components/schemas/common/PackingList.yml +++ b/docs/openapi/components/schemas/common/PackingList.yml @@ -36,6 +36,14 @@ properties: $linkedData: term: buyer '@id': https://vocabulary.uncefact.org/buyerParty + consignee: + title: Consignee + description: A consignee party for the consignment. + $ref: ./Organization.yml + $linkedData: + term: consignee + '@id': >- + https://vocabulary.uncefact.org/consigneeParty shipFromParty: title: Ship From Party description: The party from whom goods will be or have been originally shipped. Also refered to as Original Despatch Party @@ -207,7 +215,7 @@ example: |- } } }, - "shipToParty": { + "consignee": { "type": ["Organization"], "name": "By ACRE", "location": { From 538db19711a796e771f8b2e5fcac91ecc46d577c Mon Sep 17 00:00:00 2001 From: Nis Jespersen Date: Fri, 15 Sep 2023 13:26:21 +0200 Subject: [PATCH 2/2] fix: bol number on packing list --- .../components/schemas/common/PackingList.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/openapi/components/schemas/common/PackingList.yml b/docs/openapi/components/schemas/common/PackingList.yml index ea02fc50d..2c4f9c3ad 100644 --- a/docs/openapi/components/schemas/common/PackingList.yml +++ b/docs/openapi/components/schemas/common/PackingList.yml @@ -70,12 +70,12 @@ properties: $linkedData: term: invoiceId '@id': https://schema.org/identifier - shipmentId: - title: Shipment Identifier + billOfLadingNumber: + title: Bill of Lading Number type: string $linkedData: - term: shipmentId - '@id': https://vocabulary.uncefact.org/MarkingInstructionCodeList#37 + term: billOfLadingNumber + '@id': https://vocabulary.uncefact.org/ReferenceCodeList#BM trackingNumber: title: Tracking Number type: string @@ -161,10 +161,6 @@ properties: additionalProperties: false required: - type - - seller - - buyer - - shipFromParty - - shipToParty example: |- { "type": ["PackingList"],