From 4f609f7cd55dd1426412d1808da00d68cd0afb67 Mon Sep 17 00:00:00 2001 From: "Krzysztof Massalski (Extern)" Date: Fri, 1 Mar 2024 08:32:48 +0100 Subject: [PATCH] feat(impl):[#404] not accepted policy testdata --- ...ta_v1.6.2_AsBuilt-not-accepted-policy.json | 368 ++++++++++++++++++ 1 file changed, 368 insertions(+) create mode 100644 local/testing/testdata/CX_Testdata_v1.6.2_AsBuilt-not-accepted-policy.json diff --git a/local/testing/testdata/CX_Testdata_v1.6.2_AsBuilt-not-accepted-policy.json b/local/testing/testdata/CX_Testdata_v1.6.2_AsBuilt-not-accepted-policy.json new file mode 100644 index 0000000000..beb72df935 --- /dev/null +++ b/local/testing/testdata/CX_Testdata_v1.6.2_AsBuilt-not-accepted-policy.json @@ -0,0 +1,368 @@ +{ + "policies": { + "ID 3.0 NotAccepted": { + "@context": { + "odrl": "http://www.w3.org/ns/odrl/2/" + }, + "@type": "PolicyDefinitionRequestDto", + "@id": "id-3.0-not-accepted", + "policy": { + "@type": "Policy", + "odrl:permission": [ + { + "odrl:action": "USE", + "odrl:constraint": { + "@type": "AtomicConstraint", + "odrl:or": [ + { + "@type": "Constraint", + "odrl:leftOperand": "PURPOSE", + "odrl:operator": { + "@id": "odrl:eq" + }, + "odrl:rightOperand": "ID 3.0 NotAccepted" + } + ] + } + } + ] + } + } + }, + "https://catenax.io/schema/TestDataContainer/1.0.0" : [ + { + "catenaXId" : "urn:uuid:b0cc2dc9-b011-4b21-9c58-f48bd06d439f", + "bpnl" : "BPNL00000003AYRE", + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ { + "catenaXId" : "urn:uuid:b0cc2dc9-b011-4b21-9c58-f48bd06d439f", + "customers" : [ { + "businessPartner" : "BPNL00000003AYRE", + "parentItems" : [ { + "catenaXId" : "urn:uuid:7192e2e9-70aa-4e81-8fef-8c9ee3595aad", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "createdOn" : "2022-02-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } ], + "createdOn" : "2022-02-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } ] + } ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ { + "localIdentifiers" : [ { + "value" : "BPNL00000003AYRE", + "key" : "manufacturerId" + }, { + "value" : "8840838-04", + "key" : "manufacturerPartId" + }, { + "value" : "NO-202985304807824966383613", + "key" : "partInstanceId" + } ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:b0cc2dc9-b011-4b21-9c58-f48bd06d439f", + "partTypeInformation" : { + "manufacturerPartId" : "8840374-09", + "customerPartId" : "8840374-09", + "classification" : "component", + "nameAtManufacturer" : "ZB ZELLE", + "nameAtCustomer" : "ZB ZELLE" + } + } ], + "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode" : [ { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320", + "subcomponents" : [ { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320", + "productType" : "cell" + } ], + "productType" : "cell" + } ], + "urn:bamm:io.catenax.physical_dimension:1.0.0#PhysicalDimension" : [ { + "physicalDimensionsProperty" : { + "diameter" : 380, + "width" : 590, + "length" : 810, + "weight" : 85, + "height" : 610 + } + } ], + "urn:bamm:io.catenax.battery.battery_pass:3.0.1#BatteryPass" : [ { + "electrochemicalProperties" : { + "ratedCapacity" : 210, + "batteryEnergy" : { + "energyRoundtripEfficiencyChange" : 67, + "maximumAllowedBatteryEnergy" : 90000, + "energyRoundtripEfficiency" : 56 + }, + "ratioMaximumAllowedBatteryPowerAndMaximumAllowedBatteryEnergy" : 0.611, + "batteryVoltage" : { + "nominalVoltage" : 4.3, + "maxVoltage" : 6, + "minVoltage" : 2.04 + }, + "internalResistance" : { + "cellInternalResistance" : 45, + "packInternalResistance" : 67, + "packInternalResistanceIncrease" : 23 + }, + "capacityThresholdExhaustion" : 23, + "batteryPower" : { + "originalPowerCapability" : -1.7976931348623157E308, + "powerFade" : 23, + "originalPowerCapabilityLimits" : -1.7976931348623157E308, + "maximumAllowedBatteryPower" : -1.7976931348623157E308, + "powerCapabilityAt20Charge" : -1.7976931348623157E308, + "powerCapabilityAt80Charge" : -1.7976931348623157E308 + }, + "capacityFade" : 34 + }, + "document" : { + "responsibleSourcing" : [ { + "fileLocation" : "telnet://192.0.2.16:80/", + "title" : "LlN" + } ], + "packagingInstructions" : [ { + "fileLocation" : "telnet://192.0.2.16:80/", + "title" : "eOMtThyhVNLWUZNRcBaQKxI" + } ], + "transportationInstructions" : [ { + "fileLocation" : "ftp://ftp.is.co.za/rfc/rfc1808.txt", + "title" : "yedUsFwdkelQbxeTeQOvaScfqIOOmaa" + } ], + "vehicleDismantlingProcedure" : [ { + "fileLocation" : "http://www.ietf.org/rfc/rfc2396.txt", + "title" : "JxkyvRnL" + } ], + "testReportsResults" : [ { + "fileLocation" : "telnet://192.0.2.16:80/", + "title" : "UMaAIKKIkknjWEXJUfPxxQHeWKEJ" + } ], + "batteryDismantlingProcedure" : [ { + "fileLocation" : "http://www.wikipedia.org", + "title" : "RYtGKbgicZaHCBRQDSx" + } ], + "safetyMeasures" : [ { + "fileLocation" : "ftp://ftp.is.co.za/rfc/rfc1808.txt", + "title" : "VLhpfQGTMDYpsBZxvfBoeygjb" + } ], + "declarationOfConformity" : [ { + "fileLocation" : "http://www.wikipedia.org", + "title" : "dpHYZGhtgdntugzvvKAXLhM" + } ] + }, + "datePlacedOnMarket" : "2023-03-14", + "cellChemistry" : { + "anodeCompositionOther" : [ { + "materialName" : "Graphite", + "materialWeight" : 2.5, + "materialPercentageMassFraction" : 19 + } ], + "anodeActiveMaterials" : [ { + "materialName" : "Graphite", + "materialWeight" : 2.5, + "materialPercentageMassFraction" : 19 + } ], + "cathodeCompositionOther" : [ { + "materialName" : "Graphite", + "materialWeight" : 2.5, + "materialPercentageMassFraction" : 19 + } ], + "electrolyteComposition" : [ { + "materialName" : "Graphite", + "materialWeight" : 2.5, + "materialPercentageMassFraction" : 19 + } ], + "recyclateContentActiveMaterials" : [ { + "materialName" : "Graphite", + "materialWeight" : 2.5, + "materialPercentageMassFraction" : 19 + } ], + "cathodeActiveMaterials" : [ { + "materialName" : "Graphite", + "materialWeight" : 2.5, + "materialPercentageMassFraction" : 19 + } ] + }, + "physicalDimensions" : { + "diameter" : 3, + "length" : 20000, + "width" : 1000, + "weight" : 1007, + "height" : 1 + }, + "temperatureRangeIdleState" : { + "temperatureRangeIdleStateUpperLimit" : 67, + "temperatureRangeIdleStateLowerLimit" : 67 + }, + "batteryCycleLife" : { + "cycleLifeTestCRate" : 45, + "expectedLifetime" : 456, + "cycleLifeTestDepthOfDischarge" : 23 + }, + "manufacturer" : { + "address" : { + "country" : { + "shortName" : "XB-1M" + }, + "premise" : { + "technicalKey" : "BUILDING", + "value" : "Werk 1" + }, + "postalDeliveryPoint" : { + "technicalKey" : "INTERURBAN_DELIVERY_POINT", + "value" : "Tor 1" + }, + "locality" : { + "technicalKey" : "BLOCK", + "value" : "Mannheim" + }, + "postCode" : { + "technicalKey" : "CEDEX", + "value" : "68161-12" + }, + "thoroughfare" : { + "number" : "45", + "technicalKey" : "STREET", + "value" : "Bernstraße" + } + }, + "contact" : { + "website" : "https://www.samsung.com", + "phoneNumber" : "+49 89 1234567890", + "faxNumber" : "+49 89 0987654321", + "email" : "test.mail@example.com" + }, + "name" : "Company A" + }, + "warrantyPeriod" : 60, + "composition" : { + "components" : { + "componentsSupplier" : [ { + "componentsSupplierName" : "XY Corporation", + "address" : { + "country" : { + "shortName" : "" + }, + "premise" : { + "technicalKey" : "BUILDING", + "value" : "Werk 1" + }, + "postalDeliveryPoint" : { + "technicalKey" : "INTERURBAN_DELIVERY_POINT", + "value" : "Tor 1" + }, + "locality" : { + "technicalKey" : "BLOCK", + "value" : "Mannheim" + }, + "postCode" : { + "technicalKey" : "CEDEX", + "value" : "68161-12" + }, + "thoroughfare" : { + "number" : "45", + "technicalKey" : "STREET", + "value" : "Bernstraße" + } + }, + "contact" : { + "website" : "https://www.samsung.com", + "phoneNumber" : "+49 89 1234567890", + "faxNumber" : "+49 89 0987654321", + "email" : "test.mail@example.com" + } + } ], + "componentsPartNumber" : [ "Case xxxxxxx/xx; Controller xxxxxxx/xx" ] + }, + "compositionOfBattery" : [ { + "materialName" : "Graphite", + "materialWeight" : 2.5, + "materialPercentageMassFraction" : 19 + } ], + "criticalRawMaterials" : "gNfZBdyFGRajVfJNonEnOinZj" + }, + "manufacturing" : { + "address" : { + "country" : { + "shortName" : "RG-8" + }, + "premise" : { + "technicalKey" : "BUILDING", + "value" : "Werk 1" + }, + "postalDeliveryPoint" : { + "technicalKey" : "INTERURBAN_DELIVERY_POINT", + "value" : "Tor 1" + }, + "locality" : { + "technicalKey" : "BLOCK", + "value" : "Mannheim" + }, + "postCode" : { + "technicalKey" : "CEDEX", + "value" : "68161-12" + }, + "thoroughfare" : { + "number" : "45", + "technicalKey" : "STREET", + "value" : "Bernstraße" + } + }, + "dateOfManufacturing" : "2023-03-07" + }, + "batteryIdentification" : { + "batteryIDDMCCode" : "NO-202985304807824966383613", + "batteryModel" : "LFP, Natrium, Li-Ion, NMC, NCA, Solid-State", + "batteryType" : "LFP, Natrium, Li-Ion, NMC, NCA, Solid-State" + }, + "stateOfBattery" : { + "stateOfCharge" : 23, + "stateOfHealth" : 12, + "statusBattery" : "first life/ waste/ repaired/ repurposed/ recycled" + }, + "cO2FootprintTotal" : 124 + } ], + "urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt" : [ { + "catenaXId" : "urn:uuid:b0cc2dc9-b011-4b21-9c58-f48bd06d439f", + "childItems" : [ { + "catenaXId" : "urn:uuid:e3754252-85e0-4b50-98a0-b4010565fa07", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "hasAlternatives" : true, + "businessPartner" : "BPNL00000003B0Q0", + "createdOn" : "2022-02-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } ] + } ], + "urn:samm:io.catenax.battery.product_description:1.0.1#ProductDescription" : [ { + "minimalStateOfHealth" : { + "minimalStateOfHealthValue" : 90, + "specificatorId" : "OEM", + "minimalStateOfHealthPhase" : "as specified by OEM" + }, + "currentStateOfHealth" : [ { + "currentStateOfHealthTimestamp" : "2023-09-07", + "currentStateOfHealthPhase" : "as specified by OEM", + "currentStateOfHealthValue" : 105 + }, { + "currentStateOfHealthTimestamp" : "2023-09-21", + "currentStateOfHealthPhase" : "as recieved by dismantling", + "currentStateOfHealthValue" : 95 + } ], + "performanceIndicator" : { + "electrictiyCapacityMax" : 3117.732935335289, + "electrictiyCapacityMin" : 26212.182226034147 + }, + "type" : "HVB" + } ] + } ] + + +} \ No newline at end of file