From 9bd2b252d29b976d38ae34e9c6f408587347f4f7 Mon Sep 17 00:00:00 2001 From: Mathias Brunkow Moser Date: Thu, 16 May 2024 10:47:52 +0200 Subject: [PATCH] chore: added draft serial part items and bom as built --- .../test-data/bomAsBuiltRelationships.json | 44 +++++++++++++++++++ .../resources/test-data/serialPartItems.json | 39 ++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 dpp-tutorial/resources/test-data/bomAsBuiltRelationships.json create mode 100644 dpp-tutorial/resources/test-data/serialPartItems.json diff --git a/dpp-tutorial/resources/test-data/bomAsBuiltRelationships.json b/dpp-tutorial/resources/test-data/bomAsBuiltRelationships.json new file mode 100644 index 000000000..91601d79b --- /dev/null +++ b/dpp-tutorial/resources/test-data/bomAsBuiltRelationships.json @@ -0,0 +1,44 @@ + +{ + "urn:uuid:48acc23b-7cb8-4288-b620-9eb3d9dce6bf": { + "catenaXId" : "urn:uuid:48acc23b-7cb8-4288-b620-9eb3d9dce6bf", + "childItems" : [ { + "catenaXId" : "urn:uuid:f10c0181-ce80-4139-81f0-a59226c88bfe", + "quantity" : { + "value" : 1.0, + "unit" : "unit:piece" + }, + "hasAlternatives" : false, + "createdOn" : "2022-02-03T14:48:54.709Z", + "businessPartner" : "BPNL0073928UJ879", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + }, + { + "catenaXId" : "urn:uuid:12e656bb-948e-44eb-9b5e-88d7deedf388", + "quantity" : { + "value" : 1.0, + "unit" : "unit:piece" + }, + "hasAlternatives" : false, + "createdOn" : "2022-02-03T14:48:54.709Z", + "businessPartner" : "BPNL0073928UJ879", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + }, + "urn:uuid:2854cc7b-b815-4db0-ab10-047b4965c867": { + "catenaXId" : "urn:uuid:2854cc7b-b815-4db0-ab10-047b4965c867", + "childItems" : [ { + "catenaXId" : "urn:uuid:0b55ea93-7c5f-4f93-a2c9-9842f327a630", + "quantity" : { + "value" : 1.0, + "unit" : "unit:piece" + }, + "hasAlternatives" : false, + "createdOn" : "2022-02-03T14:48:54.709Z", + "businessPartner" : "BPNL0073928UJ879", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } +} \ No newline at end of file diff --git a/dpp-tutorial/resources/test-data/serialPartItems.json b/dpp-tutorial/resources/test-data/serialPartItems.json new file mode 100644 index 000000000..ac92e6182 --- /dev/null +++ b/dpp-tutorial/resources/test-data/serialPartItems.json @@ -0,0 +1,39 @@ + +{ + "urn:uuid:c28098f6-6996-4a77-be8d-497fd9f60fc6": { + "localIdentifiers" : [ { + "value" : "BFH-4459", + "key" : "partInstanceId" + } ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DE" + }, + "catenaXId" : "urn:uuid:c28098f6-6996-4a77-be8d-497fd9f60fc6", + "partTypeInformation" : { + "manufacturerPartId" : "MPI0012", + "customerPartId" : "BFH-4459", + "classification" : "product", + "nameAtManufacturer" : "CHASSIS", + "nameAtCustomer" : "CHASSIS" + } + }, + "urn:uuid:0d5d59ab-93b3-49f7-9a8c-48f9b96747ab": { + "localIdentifiers" : [ { + "value" : "JFU-9853", + "key" : "partInstanceId" + } ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DE" + }, + "catenaXId" : "urn:uuid:0d5d59ab-93b3-49f7-9a8c-48f9b96747ab", + "partTypeInformation" : { + "manufacturerPartId" : "MPI0012", + "customerPartId" : "JFU-9853", + "classification" : "product", + "nameAtManufacturer" : "FIREWALL", + "nameAtCustomer" : "FIREWALL" + } + } +} \ No newline at end of file