diff --git a/docs/contexts/dbp/credentials/dbp.jsonld b/docs/contexts/dbp/credentials/dbp.jsonld index ecc1ff3..3b8b3c5 100644 --- a/docs/contexts/dbp/credentials/dbp.jsonld +++ b/docs/contexts/dbp/credentials/dbp.jsonld @@ -6,37 +6,72 @@ "productIdentifier": "did:web:impactnewenergy.com:dbp:640-265-c-00-640-2405-00024-826-b-01-c-2001-a-0-ea-8", "batteryCategory": "Ev", "manufacturerIdentification": "did:web:impactnewenergy.com", - "manufacturingDate" : "2024-01-01T00:00:00Z", - "batteryStatus" : "Original", + "manufacturingDate": "2024-01-01T00:00:00Z", + "batteryStatus": "Original", "batteryWeight": 550, - "manufacturingPlace" : { - "addressCountry" : "PL", - "addressStreet" : "Przejazdowa 22", - "postalCode" : "05-800", - "addressLocality" : "Pruszków" + "manufacturingPlace": { + "addressCountry": "PL", + "addressStreet": "Przejazdowa 22", + "postalCode": "05-800", + "addressLocality": "Pruszków" }, - "economicOperator" : "did:web:solarisbus.com" + "economicOperator": "did:web:solarisbus.com" }, "carbonFootprint": { - "batteryCarbonFootprint" : 0.20315, - "carbonFootprintPerLifecycleStage" : [ + "batteryCarbonFootprint": 0.20315, + "carbonFootprintPerLifecycleStage": [ { - "lifeCycleStage" : "RawMaterialExtraction", - "carbonFootprint" : 7.18 + "lifeCycleStage": "RawMaterialExtraction", + "carbonFootprint": 7.18 }, { - "lifeCycleStage" : "MainProduction", - "carbonFootprint" : 0.22 + "lifeCycleStage": "MainProduction", + "carbonFootprint": 0.22 }, { - "lifeCycleStage" : "Distribution", - "carbonFootprint" : 0.42 + "lifeCycleStage": "Distribution", + "carbonFootprint": 0.42 }, { - "lifeCycleStage" : "Recycling", - "carbonFootprint" : 92.19 + "lifeCycleStage": "Recycling", + "carbonFootprint": 92.19 } ], "carbonFootprintStudy": "https://ghgprotocol.org/sites/default/files/standards/Product-Life-Cycle-Accounting-Reporting-Standard_041613.pdf" + }, + "circularity": { + "sourceForSpareParts": { + "nameOfSupplier": "Impact Clean Power Technology S.A.", + "emailAddressOfSupplier": "email:info@icpt.pl", + "supplierWebAddress": "https://impactnewenergy.com", + "addressOfSupplier":{ + "addressCountry": "PL", + "addressStreet": "Przejazdowa 22", + "postalCode": "05-800", + "addressLocality": "Pruszków" + } + }, + "recycledContent": [ + { + "preConsumerShare": 95, + "recycledMaterial": "Cobalt", + "postConsumerShare": 95 + }, + { + "preConsumerShare": 95, + "recycledMaterial": "Nickel", + "postConsumerShare": 95 + }, + { + "preConsumerShare": 95, + "recycledMaterial": "Lithium", + "postConsumerShare": 95 + } + ], + "safetyRequirements": { + "safetyInstructions": "https://files-vera.spherity.com/solaris/Safety%20measures.pdf", + "extinguishingAgent": "Class C" + } } } + diff --git a/docs/contexts/dbp/v1.jsonld b/docs/contexts/dbp/v1.jsonld index d7851e0..db00f55 100644 --- a/docs/contexts/dbp/v1.jsonld +++ b/docs/contexts/dbp/v1.jsonld @@ -174,6 +174,186 @@ "@type": "@id" } } + }, + "circularity": { + "@protected": true, + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity", + "@context": { + "@version": 1.1, + "id": "@id", + "type": "@type", + "dismantlingAndRemovalInformation": { + "@protected": true, + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation", + "@context": { + "@version": 1.1, + "id": "@id", + "type": "@type", + "documentType": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType", + "@type": "@vocab", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "BillOfMaterial": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_BillOfMaterial", + "@type": "@id", + "@container": "@set" + }, + "Model3D": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_BillOfMaterial_Model3D", + "@type": "@id", + "@container": "@set" + }, + "DismantlingManual": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_DismantlingManual", + "@type": "@id", + "@container": "@set" + }, + "RemovalManual": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_RemovalManual", + "@type": "@id", + "@container": "@set" + }, + "OtherManual": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_OtherManual", + "@type": "@id", + "@container": "@set" + }, + "Drawing": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_Drawing", + "@type": "@id", + "@container": "@set" + } + } + }, + "mimeType": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_mimeType", + "documentURL": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentURL", + "@type": "@id" + } + } + }, + "sourceForSpareParts": { + "@protected": true, + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_sourceForSpareParts", + "@context": { + "@version": 1.1, + "id": "@id", + "type": "@type", + "nameOfSupplier": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_sourceForSpareParts_nameOfSupplier", + "components": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_sourceForSpareParts_components", + "@type": "@id", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "partName": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_sourceForSpareParts_components_partName", + "partNumber": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_sourceForSpareParts_components_partNumber" + } + }, + "supplierWebAddress": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_sourceForSpareParts_supplierWebAddress", + "@type": "@id" + }, + "emailAddressOfSupplier": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_sourceForSpareParts_emailAddressOfSupplier", + "@type": "@id" + }, + "addressOfSupplier": { + "@protected": true, + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_sourceForSpareParts_addressOfSupplier", + "@context": { + "@version": 1.1, + "id": "@id", + "type": "@type", + "addressCountry": "https:/schema.org/addressCountry", + "addressStreet": "https:/schema.org/addressStreet", + "postalCode": "https:/schema.org/postalCode", + "addressLocality": "https:/schema.org/addressLocality" + } + } + } + }, + "recycledContent": { + "@protected": true, + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_recycledContent", + "@context": { + "@version": 1.1, + "id": "@id", + "type": "@type", + "preConsumerShare": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_recycledContent_preConsumerShare", + "recycledMaterial": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial", + "@type": "@vocab", + "@context": { + "@protected": true, + "id": "@id", + "type": "@type", + "Cobalt": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial_Cobalt", + "@type": "@id", + "@container": "@set" + }, + "Nickel": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial_Nickel", + "@type": "@id", + "@container": "@set" + }, + "Lithium": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial_Lithium", + "@type": "@id", + "@container": "@set" + }, + "Lead": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial_Lead", + "@type": "@id", + "@container": "@set" + } + } + }, + "postConsumerShare": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_recycledContent_postConsumerShare" + } + }, + "safetyRequirements": { + "@protected": true, + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_safetyRequirements", + "@context": { + "@version": 1.1, + "id": "@id", + "type": "@type", + "safetyInstructions": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_safetyRequirements_safetyInstructions", + "@type": "@id" + }, + "extinguishingAgent": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_safetyRequirements_extinguishingAgent" + } + }, + "endOfLifeInformation": { + "@protected": true, + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_endOfLifeInformation", + "@context": { + "@version": 1.1, + "id": "@id", + "type": "@type", + "separateCollection": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_endOfLifeInformation_separateCollection", + "@type": "@id" + }, + "wastePrevention": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_endOfLifeInformation_wastePrevention", + "@type": "@id" + }, + "informationOnCollection": { + "@id": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_endOfLifeInformation_informationOnCollection", + "@type": "@id" + } + } + }, + "renewableContent": "https://dpp.spherity.com/dbp#DigitalBatteryPassport_circularity_renewableContent" + } } } } diff --git a/docs/contexts/dbp/vocabulary.md b/docs/contexts/dbp/vocabulary.md index edeeb64..43b4315 100644 --- a/docs/contexts/dbp/vocabulary.md +++ b/docs/contexts/dbp/vocabulary.md @@ -228,6 +228,15 @@ classDiagram mimeType documentURL } + class DocumentType { + <> + BillOfMaterial + Model3D + DismantlingManual + RemovalManual + OtherManual + Drawing + } class SourceForSpareParts { <> nameOfSupplier @@ -247,6 +256,13 @@ classDiagram recycledMaterial postConsumerShare } + class RecycledMaterial { + <> + Cobalt + Nickel + Lithium + Lead + } class SafetyRequirements { <> safetyInstructions @@ -264,8 +280,8 @@ classDiagram Circularity "1" *-- "n" RecycledContent Circularity "1" *-- "n" SafetyRequirements Circularity "1" *-- "n" EndOfLifeInformation - - + DismantlingAndRemovalInformation "1" *-- "1" DocumentType + RecycledContent "1" *-- "1" RecycledMaterial ``` ### MaterialComposition @@ -463,10 +479,6 @@ classDiagram ### 5.3 PerformanceAndDurability {#PerformanceAndDurability} -### 5.4 External Types - -#### 5.4.1 dateTime {#dateTime} - ## 6 Properties ### 6.1 Properties of DigitalBatteryPassport @@ -509,6 +521,50 @@ classDiagram #### 6.1.3 circularity {#DigitalBatteryPassport_circularity} +#### 6.1.3.1 dismantlingAndRemovalInformation {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation} + +##### 6.1.3.1.1 documentType {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType} + +##### 6.1.3.1.2 mimeType {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_mimeType} + +##### 6.1.3.1.3 documentURL {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentURL} + +#### 6.1.3.2 sourceForSpareParts {#DigitalBatteryPassport_circularity_sourceForSpareParts} + +##### 6.1.3.2.1 nameOfSupplier {#DigitalBatteryPassport_circularity_sourceForSpareParts_nameOfSupplier} + +##### 6.1.3.2.2 components {#DigitalBatteryPassport_circularity_sourceForSpareParts_components} + +##### 6.1.3.2.3 supplierWebAddress {#DigitalBatteryPassport_circularity_sourceForSpareParts_supplierWebAddress} + +##### 6.1.3.2.4 emailAddressOfSupplier {#DigitalBatteryPassport_circularity_sourceForSpareParts_emailAddressOfSupplier} + +##### 6.1.3.2.5 addressOfSupplier {#DigitalBatteryPassport_circularity_sourceForSpareParts_addressOfSupplier} + +#### 6.1.3.3 recycledContent {#DigitalBatteryPassport_circularity_recycledContent} + +##### 6.1.3.3.1 preConsumerShare {#DigitalBatteryPassport_circularity_recycledContent_preConsumerShare} + +##### 6.1.3.3.2 recycledMaterial {#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial} + +##### 6.1.3.3.3 postConsumerShare {#DigitalBatteryPassport_circularity_recycledContent_postConsumerShare} + +#### 6.1.3.4 safetyRequirements {#DigitalBatteryPassport_circularity_safetyRequirements} + +##### 6.1.3.4.1 safetyInstructions {#DigitalBatteryPassport_circularity_safetyRequirements_safetyInstructions} + +##### 6.1.3.4.2 extinguishingAgent {#DigitalBatteryPassport_circularity_safetyRequirements_extinguishingAgent} + +#### 6.1.3.5 endOfLifeInformation {#DigitalBatteryPassport_circularity_endOfLifeInformation} + +#### 6.1.3.5 separateCollection {#DigitalBatteryPassport_circularity_endOfLifeInformation_separateCollection} + +#### 6.1.3.5 wastePrevention {#DigitalBatteryPassport_circularity_endOfLifeInformation_wastePrevention} + +#### 6.1.3.5 informationOnCollection {#DigitalBatteryPassport_circularity_endOfLifeInformation_informationOnCollection} + +#### 6.1.3.6 renewableContent {#DigitalBatteryPassport_circularity_renewableContent} + #### 6.1.4 materialComposition {#DigitalBatteryPassport_materialComposition} #### 6.1.5 labelsAndCertification {#DigitalBatteryPassport_labelsAndCertification} @@ -549,6 +605,35 @@ classDiagram #### 7.3.4 Recycling {#DigitalBatteryPassport_carbonFootprint_carbonFootprintPerLifecycleStage_lifeCycleStage_Recycling} +### 7.4 DocumentType + +#### 7.4.1 BillOfMaterial {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_BillOfMaterial} + +#### 7.4.2 Model3D {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_Model3D} + +#### 7.4.3 DismantlingManual {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_DismantlingManual} + +#### 7.4.4 RemovalManual {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_RemovalManual} + +#### 7.4.5 OtherManual {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_OtherManual} + +#### 7.4.6 Drawing {#DigitalBatteryPassport_circularity_dismantlingAndRemovalInformation_documentType_Drawing} + +### 7.5 RecycledMaterial + +#### 7.5.1 Cobalt {#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial_Cobalt} + +#### 7.5.2 Nickel {#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial_Nickel} + +#### 7.5.3 Lithium {#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial_Lithium} + +#### 7.5.4 Lead {#DigitalBatteryPassport_circularity_recycledContent_recycledMaterial_Lead} + +## 8 External Types + +### 8.1 dateTime {#dateTime} + + ## References diff --git a/node_modules/.pnpm/node_modules/.bin/node-which b/node_modules/.pnpm/node_modules/.bin/node-which index 7706b2f..2554b93 100755 --- a/node_modules/.pnpm/node_modules/.bin/node-which +++ b/node_modules/.pnpm/node_modules/.bin/node-which @@ -6,9 +6,9 @@ case `uname` in esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/tschuck/projects/spherity/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules/which/bin/node_modules:/Users/tschuck/projects/spherity/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules/which/node_modules:/Users/tschuck/projects/spherity/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules:/Users/tschuck/projects/spherity/dpp-vocabulary/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/ronald/IdeaProjects/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules/which/bin/node_modules:/Users/ronald/IdeaProjects/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules/which/node_modules:/Users/ronald/IdeaProjects/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules:/Users/ronald/IdeaProjects/dpp-vocabulary/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/tschuck/projects/spherity/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules/which/bin/node_modules:/Users/tschuck/projects/spherity/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules/which/node_modules:/Users/tschuck/projects/spherity/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules:/Users/tschuck/projects/spherity/dpp-vocabulary/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/ronald/IdeaProjects/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules/which/bin/node_modules:/Users/ronald/IdeaProjects/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules/which/node_modules:/Users/ronald/IdeaProjects/dpp-vocabulary/node_modules/.pnpm/which@2.0.2/node_modules:/Users/ronald/IdeaProjects/dpp-vocabulary/node_modules/.pnpm/node_modules:$NODE_PATH" fi if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../which/bin/node-which" "$@"