From a0a60ae7e6221d4783a4e14bd9a92e0ced1975c2 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 19 Jun 2024 13:47:44 +0200 Subject: [PATCH 1/2] chore(test):[#529] add testdata --- ...9_compatibility_SingleLevelBomAsBuilt.json | 262 ++++++++++++++++++ ...compatibility_SingleLevelBomAsPlanned.json | 180 ++++++++++++ ...compatibility_SingleLevelUsageAsBuilt.json | 104 +++++++ ...mpatibility_SingleLevelUsageAsPlanned.json | 110 ++++++++ 4 files changed, 656 insertions(+) create mode 100644 local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json create mode 100644 local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json create mode 100644 local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsBuilt.json create mode 100644 local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsPlanned.json diff --git a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json new file mode 100644 index 0000000000..caf6981cc3 --- /dev/null +++ b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json @@ -0,0 +1,262 @@ +{ + "policies": { + "traceability-core": { + "@context": { + "odrl": "http://www.w3.org/ns/odrl/2/", + "cx-policy": "https://w3id.org/catenax/policy/" + }, + "@type": "PolicyDefinitionRequestDto", + "@id": "traceability-core", + "policy": { + "@type": "odrl:Set", + "odrl:permission": [ + { + "odrl:action": "use", + "odrl:constraint": { + "@type": "AtomicConstraint", + "odrl:and": [ + { + "@type": "Constraint", + "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:operator": { + "@id": "odrl:eq" + }, + "odrl:rightOperand": "traceability:1.0" + }, + { + "@type": "Constraint", + "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:operator": { + "@id": "odrl:eq" + }, + "odrl:rightOperand": "cx.core.industrycore:1" + } + ] + } + } + ] + } + } + }, + "https://catenax.io/schema/TestDataContainer/1.0.0": [ + { + "catenaXId": "urn:uuid:bec0a457-4d6b-4c1c-88f7-125d04f04d68", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_bom_as_built:3.0.0#SingleLevelBomAsBuilt": [ + { + "catenaXId": "urn:uuid:bec0a457-4d6b-4c1c-88f7-125d04f04d68", + "childItems": [ + { + "catenaXId": "urn:uuid:589d7f27-d200-4009-b24c-27b0f4b81528", + "businessPartner": "BPNL00000007RI31", + "hasAlternatives": false, + "quantity": { + "value": 20.0, + "unit": "unit:piece" + }, + "createdOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z" + }, + { + "catenaXId": "urn:uuid:6e709d64-bdc7-49f4-a87d-4e1f7e2c3b7c", + "businessPartner": "BPNL00000003CSAP", + "validityPeriod": { + "validFrom": "2023-03-21T08:17:29.187+01:00", + "validTo": "2024-07-01T16:10:00.000+01:00" + }, + "quantity": { + "value": 20.0, + "unit": "unit:piece" + }, + "createdOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z" + } + ] + } + ], + "urn:samm:io.catenax.serial_part:1.0.1#SerialPart": [ + { + "catenaXId": "urn:uuid:25bba830-bcd8-4123-be72-e5507b2ae827", + "localIdentifiers": [ + { + "value": "SN12345678", + "key": "partInstanceID" + } + ], + "manufacturingInformation": { + "date": "2024-02-04T14:48:54", + "country": "HUR" + }, + "partTypeInformation": { + "manufacturerPartId": "456-7.890-1234-A", + "customerPartId": "PRT-12345", + "classification": "product", + "nameAtManufacturer": "Test part 1", + "nameAtCustomer": "Test part 1 customer" + } + } + ] + }, + { + "catenaXId": "urn:uuid:589d7f27-d200-4009-b24c-27b0f4b81528", + "bpnl": "BPNL00000007RI31", + "urn:samm:io.catenax.single_level_bom_as_built:3.1.0#SingleLevelBomAsBuilt": [ + { + "catenaXId": "urn:uuid:589d7f27-d200-4009-b24c-27b0f4b81528", + "childItems": [], + "futureAddedField": "test" + } + ], + "urn:samm:io.catenax.serial_part:2.0.0#SerialPart": [ + { + "catenaXId": "urn:uuid:1c151801-0d9d-4fc6-af91-0ddcfe8d86e3", + "localIdentifiers": [ + { + "value": "SN23456789", + "key": "partInstanceID" + } + ], + "manufacturingInformation": { + "date": "2024-03-04T11:12:13", + "country": "HUR" + }, + "sites": [ + { + "catenaXsiteId": "BPNS3456789012ZZ", + "function": "production" + } + ], + "partTypeInformation": { + "manufacturerPartId": "567-8.901-2345-B", + "customerPartId": "PRT-78901", + "classification": "product", + "nameAtManufacturer": "Test part 2", + "nameAtCustomer": "Test part 2 customer" + } + } + ], + "urn:samm:io.catenax.serial_part:3.0.0#SerialPart": [ + { + "catenaXId": "urn:uuid:5bd8e513-b69d-4b08-a387-24d787ac5545", + "localIdentifiers": [ + { + "value": "SN56789012", + "key": "partInstanceId" + } + ], + "manufacturingInformation": { + "date": "2024-05-05T07:08:09", + "country": "HUR", + "sites": [ + { + "catenaXsiteId": "BPNS5678901234ZZ", + "function": "production" + } + ] + }, + "partTypeInformation": { + "partClassification": [ + { + "classificationStandard": "IEC", + "classificationID": "72451- 3:2012 ", + "classificationDescription": "Standard data element types with associated classification scheme for electric components." + } + ], + "manufacturerPartId": "890-1.234-5678-E", + "customerPartId": "PRT-89012", + "nameAtManufacturer": "Test part 3", + "nameAtCustomer": "Test part 3 customer" + } + } + ] + }, + { + "catenaXId": "urn:uuid:6e709d64-bdc7-49f4-a87d-4e1f7e2c3b7c", + "bpnl": "BPNL00000003CSAP", + "urn:samm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt": [ + { + "catenaXId": "urn:uuid:6e709d64-bdc7-49f4-a87d-4e1f7e2c3b7c", + "childItems": [ + { + "catenaXId": "urn:uuid:d23f278b-2d8b-4f11-af76-2a9a7bb91cfc", + "businessPartner": "BPNL00000007RNYV", + "quantity": { + "quantityNumber": 2.5, + "measurementUnit": "unit:litre" + }, + "hasAlternatives": false, + "createdOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z" + } + ] + } + ], + "urn:samm:io.catenax.serial_part:2.0.0#SerialPart": [ + { + "catenaXId": "urn:uuid:162cb1f1-c619-47db-ab7f-44a111a762fc", + "localIdentifiers": [ + { + "value": "SN34567890", + "key": "partInstanceID" + } + ], + "manufacturingInformation": { + "date": "2024-05-04T03:02:01", + "country": "HUR" + }, + "sites": [ + { + "catenaXsiteId": "BPNS4567890123ZZ", + "function": "production" + } + ], + "partTypeInformation": { + "manufacturerPartId": "678-9.012-3456-C", + "customerPartId": "PRT-90123", + "classification": "product", + "nameAtManufacturer": "Test part 4", + "nameAtCustomer": "Test part 4 customer" + } + } + ] + }, + { + "catenaXId": "urn:uuid:d23f278b-2d8b-4f11-af76-2a9a7bb91cfc", + "bpnl": "BPNL00000007RNYV", + "urn:samm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt": [ + { + "catenaXId": "urn:uuid:d23f278b-2d8b-4f11-af76-2a9a7bb91cfc", + "childItems": [] + } + ], + "urn:samm:io.catenax.serial_part:2.0.0#SerialPart": [ + { + "catenaXId": "urn:uuid:bc8b6912-4be3-4b4c-a28a-919ba405a5c2", + "localIdentifiers": [ + { + "value": "SN45678901", + "key": "partInstanceID" + } + ], + "manufacturingInformation": { + "date": "2024-06-05T04:03:02", + "country": "HUR" + }, + "sites": [ + { + "catenaXsiteId": "BPNS5678901234ZZ", + "function": "production" + } + ], + "partTypeInformation": { + "manufacturerPartId": "789-0.123-4567-D", + "customerPartId": "PRT-01234", + "classification": "product", + "nameAtManufacturer": "Test part 5", + "nameAtCustomer": "Test part 5 customer" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json new file mode 100644 index 0000000000..3d8c29e471 --- /dev/null +++ b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json @@ -0,0 +1,180 @@ +{ + "policies": { + "traceability-core": { + "@context": { + "odrl": "http://www.w3.org/ns/odrl/2/", + "cx-policy": "https://w3id.org/catenax/policy/" + }, + "@type": "PolicyDefinitionRequestDto", + "@id": "traceability-core", + "policy": { + "@type": "odrl:Set", + "odrl:permission": [ + { + "odrl:action": "use", + "odrl:constraint": { + "@type": "AtomicConstraint", + "odrl:and": [ + { + "@type": "Constraint", + "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:operator": { + "@id": "odrl:eq" + }, + "odrl:rightOperand": "traceability:1.0" + }, + { + "@type": "Constraint", + "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:operator": { + "@id": "odrl:eq" + }, + "odrl:rightOperand": "cx.core.industrycore:1" + } + ] + } + } + ] + } + } + }, + "https://catenax.io/schema/TestDataContainer/1.0.0": [ + { + "catenaXId": "urn:uuid:0bc18367-69c3-428f-925d-6f8a461edefd", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_bom_as_planned:3.0.0#SingleLevelBomAsPlanned": [ + { + "catenaXId": "urn:uuid:0bc18367-69c3-428f-925d-6f8a461edefd", + "childItems": [ + { + "catenaXId": "urn:uuid:db60f953-8894-4568-ab74-746ce00e78a1", + "businessPartner": "BPNL00000007QG00", + "validityPeriod": { + "validFrom": "2023-03-21T08:17:29.187+01:00", + "validTo": "2024-07-01T16:10:00.000+01:00" + }, + "quantity": { + "value": 20.0, + "unit": "unit:piece" + }, + "createdOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z" + }, + { + "catenaXId": "urn:uuid:4e8dd2c1-0d21-4794-af92-03a12f85a2eb", + "businessPartner": "BPNL00000007QG00", + "validityPeriod": { + "validFrom": "2023-03-21T08:17:29.187+01:00", + "validTo": "2024-07-01T16:10:00.000+01:00" + }, + "quantity": { + "value": 20.0, + "unit": "unit:piece" + }, + "createdOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId": "urn:uuid:db60f953-8894-4568-ab74-746ce00e78a1", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_bom_as_planned:3.1.0#SingleLevelBomAsPlanned": [ + { + "catenaXId": "urn:uuid:db60f953-8894-4568-ab74-746ce00e78a1", + "childItems": [], + "futureAddedField": "test" + } + ], + "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned": [ + { + "catenaXId": "urn:uuid:db60f953-8894-4568-ab74-746ce00e78a1", + "partTypeInformation": { + "classification": "product", + "manufacturerPartId": "123-4.567-8901-A", + "nameAtManufacturer": "Test part 1" + }, + "partSitesInformationAsPlanned": [ + { + "functionValidUntil": "2023-12-11T06:14:55.183Z", + "catenaXsiteId": "BPNL00000007QG00", + "function": "production", + "functionValidFrom": "2023-12-11T06:14:55.181Z" + } + ] + } + ] + }, + { + "catenaXId": "urn:uuid:4e8dd2c1-0d21-4794-af92-03a12f85a2eb", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned": [ + { + "catenaXId": "urn:uuid:4e8dd2c1-0d21-4794-af92-03a12f85a2eb", + "childItems" : [ { + "catenaXId" : "urn:uuid:7eb80b65-2e43-438c-8c2a-32b814d2cb88", + "businessPartner" : "BPNL00000007QG00", + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "createdOn" : "2022-02-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } ] + } + ], + "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned": [ + { + "catenaXId": "urn:uuid:4e8dd2c1-0d21-4794-af92-03a12f85a2eb", + "partTypeInformation": { + "classification": "product", + "manufacturerPartId": "345-6.789-0123-A", + "nameAtManufacturer": "Test part 2" + }, + "partSitesInformationAsPlanned": [ + { + "functionValidUntil": "2023-12-11T06:14:55.183Z", + "catenaXsiteId": "BPNL00000007QG00", + "function": "production", + "functionValidFrom": "2023-12-11T06:14:55.181Z" + } + ] + } + ] + }, + { + "catenaXId": "urn:uuid:7eb80b65-2e43-438c-8c2a-32b814d2cb88", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned": [ + { + "catenaXId": "urn:uuid:7eb80b65-2e43-438c-8c2a-32b814d2cb88", + "childItems" : [ ] + } + ], + "urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned": [ + { + "catenaXId": "urn:uuid:7eb80b65-2e43-438c-8c2a-32b814d2cb88", + "partTypeInformation": { + "classification": "product", + "manufacturerPartId": "234-5.678-9012-A", + "nameAtManufacturer": "Test part 3" + }, + "partSitesInformationAsPlanned": [ + { + "functionValidUntil": "2023-12-11T06:14:55.183Z", + "catenaXsiteId": "BPNL00000007QG00", + "function": "production", + "functionValidFrom": "2023-12-11T06:14:55.181Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsBuilt.json b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsBuilt.json new file mode 100644 index 0000000000..502b8e4251 --- /dev/null +++ b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsBuilt.json @@ -0,0 +1,104 @@ +{ + "policies": { + "traceability-core": { + "@context": { + "odrl": "http://www.w3.org/ns/odrl/2/", + "cx-policy": "https://w3id.org/catenax/policy/" + }, + "@type": "PolicyDefinitionRequestDto", + "@id": "traceability-core", + "policy": { + "@type": "odrl:Set", + "odrl:permission": [ + { + "odrl:action": "use", + "odrl:constraint": { + "@type": "AtomicConstraint", + "odrl:and": [ + { + "@type": "Constraint", + "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:operator": { + "@id": "odrl:eq" + }, + "odrl:rightOperand": "traceability:1.0" + }, + { + "@type": "Constraint", + "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:operator": { + "@id": "odrl:eq" + }, + "odrl:rightOperand": "cx.core.industrycore:1" + } + ] + } + } + ] + } + } + }, + "https://catenax.io/schema/TestDataContainer/1.0.0": [ + { + "catenaXId": "urn:uuid:677582a5-bdca-45e1-a671-7a98ff5ddcb7", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt": [ + { + "catenaXId": "urn:uuid:677582a5-bdca-45e1-a671-7a98ff5ddcb7", + "parentItems": [] + } + ] + }, + { + "catenaXId": "urn:uuid:13d35275-3b9b-4f0c-bc5e-00f656bb7cbc", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_usage_as_built:3.1.0#SingleLevelUsageAsBuilt": [ + { + "catenaXId": "urn:uuid:13d35275-3b9b-4f0c-bc5e-00f656bb7cbc", + "parentItems": [ + { + "catenaXId": "urn:uuid:677582a5-bdca-45e1-a671-7a98ff5ddcb7", + "businessPartner": "BPNL00000007QG00", + "isOnlyPotentialParent": false, + "quantity": { + "value": 11.0, + "unit": "unit:piece" + }, + "createdOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z" + } + ], + "customers": [ + "BPNL00000007QG00" + ], + "futureAddedField": "test" + } + ] + }, + { + "catenaXId": "urn:uuid:2ea93a69-7ecb-4747-94f4-960c2535dc7b", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt": [ + { + "catenaXId": "urn:uuid:2ea93a69-7ecb-4747-94f4-960c2535dc7b", + "parentItems": [ + { + "catenaXId": "urn:uuid:13d35275-3b9b-4f0c-bc5e-00f656bb7cbc", + "businessPartner": "BPNL00000007QG00", + "isOnlyPotentialParent": false, + "quantity": { + "value": 12.0, + "unit": "unit:piece" + }, + "createdOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z" + } + ], + "customers": [ + "BPNL00000007QG00" + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsPlanned.json b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsPlanned.json new file mode 100644 index 0000000000..612199257f --- /dev/null +++ b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelUsageAsPlanned.json @@ -0,0 +1,110 @@ +{ + "policies": { + "traceability-core": { + "@context": { + "odrl": "http://www.w3.org/ns/odrl/2/", + "cx-policy": "https://w3id.org/catenax/policy/" + }, + "@type": "PolicyDefinitionRequestDto", + "@id": "traceability-core", + "policy": { + "@type": "odrl:Set", + "odrl:permission": [ + { + "odrl:action": "use", + "odrl:constraint": { + "@type": "AtomicConstraint", + "odrl:and": [ + { + "@type": "Constraint", + "odrl:leftOperand": "cx-policy:FrameworkAgreement", + "odrl:operator": { + "@id": "odrl:eq" + }, + "odrl:rightOperand": "traceability:1.0" + }, + { + "@type": "Constraint", + "odrl:leftOperand": "cx-policy:UsagePurpose", + "odrl:operator": { + "@id": "odrl:eq" + }, + "odrl:rightOperand": "cx.core.industrycore:1" + } + ] + } + } + ] + } + } + }, + "https://catenax.io/schema/TestDataContainer/1.0.0": [ + { + "catenaXId": "urn:uuid:4e8aa114-cf50-4780-811c-11723c9f0647", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_usage_as_planned:2.0.0#SingleLevelUsageAsPlanned": [ + { + "catenaXId": "urn:uuid:4e8aa114-cf50-4780-811c-11723c9f0647", + "parentItems": [] + } + ] + }, + { + "catenaXId": "urn:uuid:01f4b57e-1ab3-4822-ab1b-e20651f6fd32", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_usage_as_planned:2.1.0#SingleLevelUsageAsPlanned": [ + { + "catenaXId": "urn:uuid:01f4b57e-1ab3-4822-ab1b-e20651f6fd32", + "parentItems": [ + { + "catenaXId": "urn:uuid:4e8aa114-cf50-4780-811c-11723c9f0647", + "businessPartner": "BPNL00000007QG00", + "validityPeriod": { + "validFrom": "2023-03-21T08:17:29.187+01:00", + "validTo": "2024-07-01T16:10:00.000+01:00" + }, + "quantity": { + "value": 11.0, + "unit": "unit:piece" + }, + "createdOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z" + } + ], + "customers": [ + "BPNL00000007QG00" + ], + "futureAddedField": "test" + } + ] + }, + { + "catenaXId": "urn:uuid:7fe9ac70-23c4-449a-88c1-3832a1cc6da6", + "bpnl": "BPNL00000007QG00", + "urn:samm:io.catenax.single_level_usage_as_planned:2.0.0#SingleLevelUsageAsPlanned": [ + { + "catenaXId": "urn:uuid:7fe9ac70-23c4-449a-88c1-3832a1cc6da6", + "parentItems": [ + { + "catenaXId": "urn:uuid:01f4b57e-1ab3-4822-ab1b-e20651f6fd32", + "businessPartner": "BPNL00000007QG00", + "validityPeriod": { + "validFrom": "2023-03-21T08:17:29.187+01:00", + "validTo": "2024-07-01T16:10:00.000+01:00" + }, + "quantity": { + "value": 12.0, + "unit": "unit:piece" + }, + "createdOn": "2022-02-03T14:48:54.709Z", + "lastModifiedOn": "2022-02-03T14:48:54.709Z" + } + ], + "customers": [ + "BPNL00000007QG00" + ] + } + ] + } + ] +} \ No newline at end of file From 5200c74424fcc06d49fe84e18d36b666044c35c8 Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Wed, 19 Jun 2024 13:55:37 +0200 Subject: [PATCH 2/2] chore(test):[#529] fix SingleLevelBomAsBuilt testdata --- ...ata_529_compatibility_SingleLevelBomAsBuilt.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json index caf6981cc3..854f83289f 100644 --- a/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json +++ b/local/testing/testdata/CX_Testdata_529_compatibility_SingleLevelBomAsBuilt.json @@ -60,6 +60,7 @@ { "catenaXId": "urn:uuid:6e709d64-bdc7-49f4-a87d-4e1f7e2c3b7c", "businessPartner": "BPNL00000003CSAP", + "hasAlternatives": false, "validityPeriod": { "validFrom": "2023-03-21T08:17:29.187+01:00", "validTo": "2024-07-01T16:10:00.000+01:00" @@ -76,7 +77,7 @@ ], "urn:samm:io.catenax.serial_part:1.0.1#SerialPart": [ { - "catenaXId": "urn:uuid:25bba830-bcd8-4123-be72-e5507b2ae827", + "catenaXId": "urn:uuid:bec0a457-4d6b-4c1c-88f7-125d04f04d68", "localIdentifiers": [ { "value": "SN12345678", @@ -109,7 +110,7 @@ ], "urn:samm:io.catenax.serial_part:2.0.0#SerialPart": [ { - "catenaXId": "urn:uuid:1c151801-0d9d-4fc6-af91-0ddcfe8d86e3", + "catenaXId": "urn:uuid:589d7f27-d200-4009-b24c-27b0f4b81528", "localIdentifiers": [ { "value": "SN23456789", @@ -137,7 +138,7 @@ ], "urn:samm:io.catenax.serial_part:3.0.0#SerialPart": [ { - "catenaXId": "urn:uuid:5bd8e513-b69d-4b08-a387-24d787ac5545", + "catenaXId": "urn:uuid:589d7f27-d200-4009-b24c-27b0f4b81528", "localIdentifiers": [ { "value": "SN56789012", @@ -145,7 +146,7 @@ } ], "manufacturingInformation": { - "date": "2024-05-05T07:08:09", + "date": "2024-05-05T07:08:09Z", "country": "HUR", "sites": [ { @@ -193,7 +194,7 @@ ], "urn:samm:io.catenax.serial_part:2.0.0#SerialPart": [ { - "catenaXId": "urn:uuid:162cb1f1-c619-47db-ab7f-44a111a762fc", + "catenaXId": "urn:uuid:6e709d64-bdc7-49f4-a87d-4e1f7e2c3b7c", "localIdentifiers": [ { "value": "SN34567890", @@ -231,7 +232,7 @@ ], "urn:samm:io.catenax.serial_part:2.0.0#SerialPart": [ { - "catenaXId": "urn:uuid:bc8b6912-4be3-4b4c-a28a-919ba405a5c2", + "catenaXId": "urn:uuid:d23f278b-2d8b-4f11-af76-2a9a7bb91cfc", "localIdentifiers": [ { "value": "SN45678901",