From cae6763954c7748a48d60315acd95e39ffd53c78 Mon Sep 17 00:00:00 2001 From: Saud Khan Date: Thu, 5 Dec 2024 22:47:00 +0100 Subject: [PATCH] chore: updated guides, fixed issues and typos --- dpp-tutorial/builder-path.md | 27 +--- dpp-tutorial/irs-drill-down.md | 120 ++++++++++++++---- .../digital-twins/car-dt-template.json | 4 +- .../resources/digital-twins/example-dt.json | 4 +- ...s-X Community Days.postman_collection.json | 2 +- dpp-tutorial/verification.md | 14 +- 6 files changed, 119 insertions(+), 52 deletions(-) diff --git a/dpp-tutorial/builder-path.md b/dpp-tutorial/builder-path.md index 6d4c5250f..49172c87b 100644 --- a/dpp-tutorial/builder-path.md +++ b/dpp-tutorial/builder-path.md @@ -251,11 +251,8 @@ After creation of the digital twin in previous step, add the twin into Digital T Click to see the Windows command ```bash -curl.exe -v -X POST "/shell-descriptors" ` - -H "Content-Type: application/json" ` - --data-binary "@resources/.json" +curl.exe -v -X POST "/shell-descriptors" -H "Content-Type: application/json" -H "Edc-Bpn: BPNL00000003CSGV" --data-binary "@resources/.json" ``` - @@ -264,11 +261,8 @@ curl.exe -v -X POST "/shell-descriptors" ` Click here to see the Mac & Linux command ```bash -curl --location --request POST '/shell-descriptors' \ ---header 'Content-Type: application/json' \ ---data '@resources/.json' +curl --location --request POST '/shell-descriptors' --header 'Content-Type: application/json' --header "Edc-Bpn: BPNL00000003CSGV" --data '@resources/.json' ``` - > [!Note] @@ -295,8 +289,7 @@ Base64 Encoded: dXJuOnV1aWQ6M2Y4OWQwZDQtZTExYy1mODNiLTE2ZmQtNzMzYzYzZDRlMTIx Click to see the Windows command ```bash -curl.exe -v -X GET "/shell-descriptors/" ` --H "Content-Type: application/json" +curl.exe -v -X GET "/shell-descriptors/" -H "Content-Type: application/json" -H "Edc-Bpn: BPNL00000003CSGV" ``` @@ -305,8 +298,7 @@ curl.exe -v -X GET "/shell-descriptors/Click here to see the Mac & Linux command ```bash -curl --location --request GET '/shell-descriptors/' \ ---header 'Content-Type: application/json' +curl --location --request GET '/shell-descriptors/' --header 'Content-Type: application/json' --header 'Edc-Bpn: BPNL00000003CSGV' ``` @@ -349,9 +341,7 @@ In case of error, you can always modify your digital twin using the following co Click to see the Windows command ```bash -curl.exe -Method Put -Uri "/shell-descriptors/" ` - -ContentType "application/json" ` - -InFile "resources\.json" +curl.exe -v -X PUT "/shell-descriptors/" -H "Content-Type: application/json" -H "Edc-Bpn: BPNL00000003CSGV" --data-binary "@.json" ``` @@ -360,18 +350,13 @@ curl.exe -Method Put -Uri "/shell-descriptors/Click here to see the Mac & Linux command ```bash -curl --location --request PUT '/shell-descriptors/' \ ---header 'Content-Type: application/json' \ ---data '@resources/.json' +curl --location --request PUT '/shell-descriptors/' --header 'Content-Type: application/json' --header "Edc-Bpn: BPNL00000003CSGV" --data '@resources/.json' ``` - If everything works fine, then you have reached the end of data provisioning guide. - - Congratulations, you have successfully setup the data provider. It is now available and ready to exchange data in the dataspace. You can now process further with the original DPP-Tutorial at Step 3 - Generate the QR-Code. Click here to access the next steps. diff --git a/dpp-tutorial/irs-drill-down.md b/dpp-tutorial/irs-drill-down.md index 410e94a43..c51a6d802 100644 --- a/dpp-tutorial/irs-drill-down.md +++ b/dpp-tutorial/irs-drill-down.md @@ -146,12 +146,27 @@ The BOMAsBuilt relationships, you stored temporarily in your notepad editor from Open a new terminal and run the following command to add your data into the data service: > POST /<BOMAsBuiltID> +*Windows* +
+ Click to see the Windows command + ```bash -curl --location '/' \ ---header 'Content-Type: application/json' \ ---data "@.json" +curl.exe -v -X POST "/" -H "Content-Type: application/json"--data-binary "@.json" ``` +
+ +*Mac & Linux* +
+ Click here to see the Mac & Linux command + +```bash +curl --location '/' --header 'Content-Type: application/json' --data "@.json" +``` + +
+ + > [!TIP] > The placeholder is the json file which was stored in [step 2](#2-lookup-bomasbuilt-relationships-of-the-component) @@ -159,11 +174,28 @@ curl --location '/' \ Verify your data is registerd in the service > GET /<BOMAsBuiltID> + +*Windows* +
+ Click to see the Windows command + ```bash -curl --location '/' \ ---header 'Content-Type: application/json' \ +curl.exe -v -X GET "/" -H "Content-Type: application/json" ``` +
+ +*Mac & Linux* +
+ Click here to see the Mac & Linux command + +```bash +curl --location '/'--header 'Content-Type: application/json' +``` + +
+ + ## 4° Lookup SerialPart Item of the Component @@ -220,12 +252,26 @@ The serial part data, you stored temporarily in your notepad editor from [step 4 Open a new terminal and run the following command to add your data into the data service: > POST /> +*Windows* +
+ Click to see the Windows command + +```bash +curl.exe -v -X POST "/" -H "Content-Type: application/json" --data-binary "@.json" +``` +
+ +*Mac & Linux* +
+ Click here to see the Mac & Linux command + ```bash -curl --location '/' \ ---header 'Content-Type: application/json' \ ---data "@.json" +curl --location '/' --header 'Content-Type: application/json' --data "@.json" ``` +
+ + > [!TIP] > The placeholder is the json file which was stored in [step 4](#4-lookup-serialpart-item-of-the-component) @@ -233,10 +279,25 @@ curl --location '/' \ Verify your data is registerd in the service > GET /> + +*Windows* +
+ Click to see the Windows command + +```bash +curl.exe -v -X GET "/" -H "Content-Type: application/json" +``` +
+ +*Mac & Linux* +
+ Click here to see the Mac & Linux command + ```bash -curl --location '/' \ ---header 'Content-Type: application/json' \ +curl --location '/' --header 'Content-Type: application/json' ``` +
+ ## 6° Add BOMAsBuilt and SerialPart to Existing Digital Twin @@ -249,24 +310,38 @@ The digital twin registered can be checked/verified from the following command: ```bash Example: -Digital Twin Id: urn:uuid:3f89d0d4-e11c-f83b-16fd-733c63d4e121 -Base64 Encoded: dXJuOnV1aWQ6M2Y4OWQwZDQtZTExYy1mODNiLTE2ZmQtNzMzYzYzZDRlMTIx +Digital Twin Id: 3f89d0d4-e11c-f83b-16fd-733c63d4e121 +Base64 Encoded: M2Y4OWQwZDQtZTExYy1mODNiLTE2ZmQtNzMzYzYzZDRlMTIx ``` > GET /shell-descriptors/ + +*Windows* +
+ Click to see the Windows command + +```bash +curl.exe -X GET "/shell-descriptors/" -H "Content-Type: application/json" -H "Edc-Bpn: BPNL00000003CSGV" +``` + +
+ +*Mac & Linux* +
+ Click here to see the Mac & Linux command + ```bash -curl --location --request GET '/shell-descriptors/' \ ---header 'Content-Type: application/json' \ ---header 'Edc-Bpn: BPNL00000003CSGV' +curl --location --request GET '/shell-descriptors/' --header 'Content-Type: application/json' --header 'Edc-Bpn: BPNL00000003CSGV' ``` +
Example JSON response: ```json { "description": [], "displayName": [], - "id": "urn:uuid:a530baad-77ad-4ffc-a925-f3a207839791", + "id": "a530baad-77ad-4ffc-a925-f3a207839791", "specificAssetIds": [ { "name": "manufacturerPartId", @@ -304,6 +379,9 @@ Example JSON response: - Copy your response and add the following json content into the submodelDescriptors array: +> [!IMPORTANT] +> Please ensure that each Id attribute must contain the `urn:uuid` as prefix. The Digital Twin Id is an exception. + ```json { "endpoints": [ @@ -412,21 +490,17 @@ Update the digital twin submodel using the following command: Click to see the Windows command ```bash -curl.exe -v -X PUT "/shell-descriptors/" ` - -H "Content-Type: application/json" - --data-binary "@.json"`" +curl.exe -v -X PUT "/shell-descriptors/" -H "Content-Type: application/json" -H "Edc-Bpn: BPNL00000003CSGV" --data-binary "@.json" ``` - + *Mac & Linux*
Click here to see the Mac & Linux command ```bash -curl --location '/shell-descriptors/' \ ---header 'Content-Type: application/json' \ ---data "@.json" +curl --location --request PUT '/shell-descriptors/' --header 'Content-Type: application/json' --header "Edc-Bpn: BPNL00000003CSGV" --data '@resources/.json' ```
diff --git a/dpp-tutorial/resources/digital-twins/car-dt-template.json b/dpp-tutorial/resources/digital-twins/car-dt-template.json index bb0f18be0..58472d37e 100644 --- a/dpp-tutorial/resources/digital-twins/car-dt-template.json +++ b/dpp-tutorial/resources/digital-twins/car-dt-template.json @@ -73,7 +73,7 @@ { "interface": "SUBMODEL-3.0", "protocolInformation": { - "href": "/api/public/", + "href": "/api/public/urn:uuid:", "endpointProtocol": "HTTP", "endpointProtocolVersion": ["1.1"], "subprotocol": "DSP", @@ -90,7 +90,7 @@ } ], "idShort": "digitalProductPass", - "id": "", + "id": "urn:uuid:", "semanticId": { "type": "ExternalReference", "keys": [ diff --git a/dpp-tutorial/resources/digital-twins/example-dt.json b/dpp-tutorial/resources/digital-twins/example-dt.json index 1a0efffd7..7334a5841 100644 --- a/dpp-tutorial/resources/digital-twins/example-dt.json +++ b/dpp-tutorial/resources/digital-twins/example-dt.json @@ -73,7 +73,7 @@ { "interface": "SUBMODEL-3.0", "protocolInformation": { - "href": "/api/public/", + "href": "/api/public/urn:uuid:", "endpointProtocol": "HTTP", "endpointProtocolVersion": ["1.1"], "subprotocol": "DSP", @@ -90,7 +90,7 @@ } ], "idShort": "digitalProductPass", - "id": "", + "id": "urn:uuid:", "semanticId": { "type": "ExternalReference", "keys": [ diff --git a/dpp-tutorial/resources/explorer_payload/01 Tractus-X Community Days.postman_collection.json b/dpp-tutorial/resources/explorer_payload/01 Tractus-X Community Days.postman_collection.json index 31e155c0a..851c62487 100644 --- a/dpp-tutorial/resources/explorer_payload/01 Tractus-X Community Days.postman_collection.json +++ b/dpp-tutorial/resources/explorer_payload/01 Tractus-X Community Days.postman_collection.json @@ -1 +1 @@ -{"_type":"export","__export_format":4,"__export_date":"2024-12-05T07:42:01.242Z","__export_source":"insomnia.desktop.app:v2023.5.8","resources":[{"_id":"req_3af1a05ec2104ef38627d4a81830676e","parentId":"fld_bc5ee275ad4f45ecb7bad2af753ad878","modified":1733384169153,"created":1733326750841,"url":"/urn:uuid:","name":"Step 2.1.1 Create Aspect Model","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"metadata\" : {\n \"backupReference\" : \"https://dummy.link\",\n \"registrationIdentifier\" : \"https://dummy.link/ID8283746239078\",\n \"economicOperatorId\" : \"BPNL00000003B2OM\",\n \"lastModification\" : \"2000-01-01\",\n \"predecessor\" : \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n \"issueDate\" : \"2000-01-01\",\n \"version\" : \"1.0.0\",\n \"passportIdentifier\" : \"urn:uuid:550e8400-e29b-41d4-a716-446655440000\",\n \"status\" : \"draft\",\n \"expirationDate\" : \"2030-01-01\"\n },\n \"characteristics\" : {\n \"generalPerformanceClass\" : \"A\",\n \"physicalState\" : \"solid\",\n \"physicalDimension\" : {\n \"width\" : {\n \"value\" : \"\",\n \"unit\" : \"unit:millimetre\"\n },\n \"length\" : {\n \"value\" : \"\",\n \"unit\" : \"unit:millimetre\"\n },\n \"weight\" : {\n \"value\" : \"\",\n \"unit\" : \"unit:gram\"\n },\n \"height\" : {\n \"value\" : \"\",\n \"unit\" : \"unit:millimetre\"\n }\n },\n \"lifespan\" : [ {\n \"value\" : \"\",\n \"unit\" : \"\",\n \"key\" : \"guaranteed lifetime\"\n } ]\n },\n \"commercial\" : {\n \"placedOnMarket\" : \"2000-01-01\",\n \"purpose\" : [ \"automotive\" ]\n },\n \"identification\" : {\n \"batch\" : [ {\n \"value\" : \"BID12345678\",\n \"key\" : \"batchId\"\n } ],\n \"codes\" : [ {\n \"value\" : \"8703 24 10 00\",\n \"key\" : \"TARIC\"\n } ],\n \"type\" : {\n \"manufacturerPartId\" : \"123-0.740-3434-A\",\n \"nameAtManufacturer\" : \" \"\n },\n \"classification\" : [ {\n \"classificationStandard\" : \"GIN 20510-21513\",\n \"classificationID\" : \"1004712\",\n \"classificationDescription\" : \"Generic standard for classification of parts in the automotive industry.\"\n } ],\n \"serial\" : [ {\n \"value\" : \"\",\n \"key\" : \"partInstanceId\"\n } ],\n \"dataCarrier\" : {\n \"carrierType\" : \"QR\",\n \"carrierLayout\" : \"upper-left side\"\n }\n },\n \"sources\" : [ {\n \"header\" : \"Example Document XYZ\",\n \"category\" : \"Product Specifications\",\n \"type\" : \"URL\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"materials\" : {\n \"substancesOfConcern\" : {\n \"applicable\" : true,\n \"content\" : [ {\n \"unit\" : \"unit:partPerMillion\",\n \"hazardClassification\" : {\n \"category\" : \"category 1A\",\n \"statement\" : \"Causes severe skin burns and eye damage.\",\n \"class\" : \"Skin corrosion\"\n },\n \"documentation\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"concentrationRange\" : [ {\n \"max\" : 2.6,\n \"min\" : 2.1\n } ],\n \"location\" : \"Housing\",\n \"concentration\" : 5.3,\n \"exemption\" : \"shall not apply to product x containing not more than 1,5 ml of liquid\",\n \"id\" : [ {\n \"type\" : \"CAS\",\n \"name\" : \"phenolphthalein\",\n \"id\" : \"201-004-7\"\n } ]\n } ]\n },\n \"materialComposition\" : {\n \"applicable\" : true,\n \"content\" : [ {\n \"unit\" : \"unit:partPerMillion\",\n \"recycled\" : 12.5,\n \"critical\" : true,\n \"renewable\" : 23.5,\n \"documentation\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"concentration\" : 5.3,\n \"id\" : [ {\n \"type\" : \"CAS\",\n \"name\" : \"phenolphthalein\",\n \"id\" : \"201-004-7\"\n } ]\n } ]\n }\n },\n \"handling\" : {\n \"applicable\" : true,\n \"content\" : {\n \"producer\" : [ {\n \"id\" : \"BPNL0123456789ZZ\"\n } ],\n \"sparePart\" : [ {\n \"manufacturerPartId\" : \"123-0.740-3434-A\",\n \"nameAtManufacturer\" : \"Mirror left\"\n } ]\n }\n },\n \"additionalData\" : [ {\n \"description\" : \"Description of an attribute\",\n \"label\" : \"Maximum permitted battery power\",\n \"type\" : {\n \"typeUnit\" : \"unit:volume\",\n \"dataType\" : \"array\"\n },\n \"data\" : \"23\",\n \"children\" : [ {\n \"description\" : \"Description of an attribute\",\n \"label\" : \"Maximum permitted battery power\",\n \"type\" : {\n \"typeUnit\" : \"unit:volume\",\n \"dataType\" : \"array\"\n },\n \"data\" : \"23\"\n } ]\n } ],\n \"operation\" : {\n \"import\" : {\n \"applicable\" : true,\n \"content\" : {\n \"eori\" : \"GB123456789000\",\n \"id\" : \"BPNL0123456789ZZ\"\n }\n },\n \"other\" : {\n \"id\" : \"BPNL0123456789XX\",\n \"role\" : \"distributor\"\n },\n \"manufacturer\" : {\n \"facility\" : [ {\n \"facility\" : \"BPNA1234567890AA\"\n } ],\n \"manufacturingDate\" : \"\",\n \"manufacturer\" : \"BPNLbi7tAJ8UiMsF\"\n }\n },\n \"sustainability\" : {\n \"reparabilityScore\" : \"B\",\n \"productFootprint\" : {\n \"material\" : [ {\n \"lifecycle\" : \"main product production\",\n \"rulebook\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"unit\" : \"kg CO2 / kWh\",\n \"performanceClass\" : \"A\",\n \"manufacturingPlant\" : [ {\n \"facility\" : \"BPNA1234567890AA\"\n } ],\n \"type\" : \"Climate Change Total\",\n \"value\" : 12.678,\n \"declaration\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ]\n } ],\n \"carbon\" : [ {\n \"lifecycle\" : \"main product production\",\n \"rulebook\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"unit\" : \"kg CO2 / kWh\",\n \"performanceClass\" : \"A\",\n \"manufacturingPlant\" : [ {\n \"facility\" : \"BPNA1234567890AA\"\n } ],\n \"type\" : \"Climate Change Total\",\n \"value\" : \"\",\n \"declaration\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ]\n } ],\n \"environmental\" : [ {\n \"lifecycle\" : \"main product production\",\n \"rulebook\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"unit\" : \"kg CO2 / kWh\",\n \"performanceClass\" : \"A\",\n \"manufacturingPlant\" : [ {\n \"facility\" : \"BPNA1234567890AA\"\n } ],\n \"type\" : \"Climate Change Total\",\n \"value\" : 12.678,\n \"declaration\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ]\n } ]\n },\n \"status\" : \"original\",\n \"durabilityScore\" : \"A\"\n }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1733326751049,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_bc5ee275ad4f45ecb7bad2af753ad878","parentId":"wrk_2abbc17d6f894654b94880116b52753a","modified":1733326884705,"created":1733326750837,"name":"01 Tractus-X Community Days","description":"","environment":{"digitalTwinId":"","base64ShellId":""},"environmentPropertyOrder":null,"metaSortKey":-1733326751037,"_type":"request_group"},{"_id":"wrk_2abbc17d6f894654b94880116b52753a","parentId":null,"modified":1733326750834,"created":1733326750834,"name":"Imported Workspace","description":"","scope":"collection","_type":"workspace"},{"_id":"req_1d54ff6ce8b848aa83b7db935090283c","parentId":"fld_bc5ee275ad4f45ecb7bad2af753ad878","modified":1733384126901,"created":1733326750844,"url":"/urn:uuid:","name":"Step 2.1.2 Verify the Creation","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1733326750999,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_958dab7c53004b8a9432dd72d4a37faa","parentId":"fld_bc5ee275ad4f45ecb7bad2af753ad878","modified":1733384414307,"created":1733326750846,"url":"/shell-descriptors","name":"Step 2.2.1 Create Digital Twin","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"description\": [\n {\n \"language\": \"en\",\n \"text\": \"Car/part Digital Twin\"\n }\n ],\n \"displayName\": [],\n \"globalAssetId\": \"urn:uuid:\",\n \"idShort\": \"\",\n \"id\": \"\",\n \"specificAssetIds\": [\n {\n \"name\": \"manufacturerId\",\n \"value\": \"BPNL00000003CSGV\",\n \"externalSubjectId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"GlobalReference\",\n \"value\": \"BPNL00000003CSGV\"\n }\n ]\n }\n },\n {\n \"name\": \"partInstanceId\",\n \"value\": \"\",\n \"externalSubjectId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"GlobalReference\",\n \"value\": \"BPNL00000003CSGV\"\n }\n ]\n }\n },\n {\n \"name\": \"manufacturerPartId\",\n \"value\": \"MPI7654\",\n \"externalSubjectId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"GlobalReference\",\n \"value\": \"PUBLIC_READABLE\"\n },\n {\n \"type\": \"GlobalReference\",\n \"value\": \"BPNL00000003CSGV\"\n }\n ]\n }\n },\n {\n \"name\": \"digitalTwinType\",\n \"value\": \"PartInstance\",\n \"externalSubjectId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"GlobalReference\",\n \"value\": \"BPNL00000003CSGV\"\n }\n ]\n }\n }\n ],\n \"submodelDescriptors\": [\n {\n \"endpoints\": [\n {\n \"interface\": \"SUBMODEL-3.0\",\n \"protocolInformation\": {\n \"href\": \"/api/public/urn:uuid:\",\n \"endpointProtocol\": \"HTTP\",\n \"endpointProtocolVersion\": [\"1.1\"],\n \"subprotocol\": \"DSP\",\n \"subprotocolBody\": \"id=urn:uuid:9dc73b86-ef48-4cb9-b63e-4a392f04ecf1;dspEndpoint=\",\n \"subprotocolBodyEncoding\": \"plain\",\n \"securityAttributes\": [\n {\n \"type\": \"NONE\",\n \"key\": \"NONE\",\n \"value\": \"NONE\"\n }\n ]\n }\n }\n ],\n \"idShort\": \"digitalProductPass\",\n \"id\": \"urn:uuid:\",\n \"semanticId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"Submodel\",\n \"value\": \"urn:samm:io.catenax.generic.digital_product_passport:5.0.0#DigitalProductPassport\"\n }\n ]\n },\n \"description\": [\n {\n \"language\": \"en\",\n \"text\": \"Digital Product Pass Submodel\"\n }\n ],\n \"displayName\": []\n }\n ]\n}\n"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"Edc-Bpn","value":"BPNL000000000FV1"}],"authentication":{},"metaSortKey":-1733326750949,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b49c6104d2984b71809b041f1adc4845","parentId":"fld_bc5ee275ad4f45ecb7bad2af753ad878","modified":1733384134783,"created":1733326750848,"url":"/shell-descriptors/","name":"Step 2.2.2 Verify the Creation","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1733326750899,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_52569047fcf143a2ae9274894d6eb853","parentId":"fld_bc5ee275ad4f45ecb7bad2af753ad878","modified":1733384486119,"created":1733326750849,"url":"/shell-descriptors/","name":"Step 2.3 Modify Digital Twin","description":"","method":"PUT","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1733326750849,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6e310edba16a4a4c9a8bf650aba96fd8","parentId":"fld_d095cd218a7d4f5b907bb3dd48ba2046","modified":1733340032895,"created":1733333194131,"url":"/shell-descriptors//submodel-descriptors/","name":"Step 1.1 Get the Submodel","description":"","method":"GET","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/2023.5.8"}],"authentication":{"type":"apikey","disabled":false,"key":"X-Api-Key","value":"DPPPROVIDERKEY","addTo":"header"},"metaSortKey":-1733326829573.625,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_d095cd218a7d4f5b907bb3dd48ba2046","parentId":"wrk_2abbc17d6f894654b94880116b52753a","modified":1733326881242,"created":1733326823144,"name":"02 DPP-Verification","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1733326750937,"_type":"request_group"},{"_id":"req_c977a8af8d2c4720bf49c8fac7ec664e","parentId":"fld_d095cd218a7d4f5b907bb3dd48ba2046","modified":1733340860853,"created":1733333261215,"url":"/shell-descriptors//submodel-descriptors/","name":"Step 1.2 Update the Submodel","description":"","method":"PUT","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/2023.5.8"}],"authentication":{"type":"apikey","disabled":false,"key":"X-Api-Key","value":"DPPPROVIDERKEY","addTo":"header"},"metaSortKey":-1733326823950.4375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e1220ab188644a17a8654306dd94d596","parentId":"fld_d095cd218a7d4f5b907bb3dd48ba2046","modified":1733340775936,"created":1733333124880,"url":"/issue","name":"Step 1.3 Issue Verifiable Credentials","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"@context\": [\n \"https://www.w3.org/ns/credentials/v2\",\n \"https://w3c.github.io/vc-jws-2020/contexts/v1/\",\n \"https://raw.githubusercontent.com/eclipse-tractusx/digital-product-pass/main/dpp-verification/schemas/cdc/1.0.0/certifiedDataCredential.jsonld\",\n \"https://raw.githubusercontent.com/eclipse-tractusx/digital-product-pass/main/dpp-verification/schemas/dpp/5.0.0/digitalProductPass.jsonld\"\n ],\n \"type\": [\n \"VerifiableCredential\",\n \"CertifiedDataCredential\",\n \"DigitalProductPassport\"\n ],\n \"parent\": {\n \"@id\": \"did:web:dpp-test-system.com:BPNL00000003B2OM:api:public:urn%3Auuid%3A1c5b6a7c-90d4-3481-0538-f134ff53076d\",\n \"checksum\": \"64b1a523da600e8fc0018cf57b8f7756b83bb6e9b11c81b1c7444272fab239902321b1b6ae6624d6846fd010616ae98c118f12491f922badd64e58b782c6a115\"\n },\n \"semanticId\": \"urn:samm:io.catenax.generic.digital_product_passport:5.0.0#DigitalProductPassport\",\n \"credentialSubject\": {\n \"DigitalProductPassport\": \n },\n \"id\": \"urn:uuid:\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_af8b356e73f34c5db6441d240d6eb6b3"},{"name":"User-Agent","value":"insomnia/2023.5.8","id":"pair_8cdf2889d06f4e6e898190d441c62429"},{"id":"pair_989089f003d14f04a5b8ff78467f8e72","name":"BPN","value":"BPNL00000003B2OM","description":""}],"authentication":{"type":"apikey","disabled":false,"key":"X-Api-Key","value":"DPPPROVIDERKEY","addTo":"header"},"metaSortKey":-1733326818327.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_90e63c4eb48f48298ccc5161cf71228b","parentId":"fld_d095cd218a7d4f5b907bb3dd48ba2046","modified":1733340833646,"created":1733326894484,"url":"/verify","name":"Verify the Proof","description":"","method":"POST","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_34c9cf9b22cd4e20954ade158e093e42"},{"name":"User-Agent","value":"insomnia/2023.5.8","id":"pair_84e96700b27d45bcb2cec1b10989c850"},{"id":"pair_e0d14b3531204200a1e255da43452541","name":"BPN","value":"BPNL00000003CSGV","description":""}],"authentication":{"type":"apikey","disabled":false,"key":"X-Api-Key","value":"DPPCONSUMERKEY","addTo":"header"},"metaSortKey":-1733326795834.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_97a58519d1aba1aac14a490b862d6798805bb37e","parentId":"wrk_2abbc17d6f894654b94880116b52753a","modified":1733326759462,"created":1733326759462,"name":"Base Environment","data":{},"dataPropertyOrder":null,"color":null,"isPrivate":false,"metaSortKey":1733326759462,"_type":"environment"},{"_id":"jar_97a58519d1aba1aac14a490b862d6798805bb37e","parentId":"wrk_2abbc17d6f894654b94880116b52753a","modified":1733326759469,"created":1733326759469,"name":"Default Jar","cookies":[],"_type":"cookie_jar"}]} +{"_type":"export","__export_format":4,"__export_date":"2024-12-05T21:45:06.620Z","__export_source":"insomnia.desktop.app:v2023.5.8","resources":[{"_id":"req_539b7a00b5924653a6c29dfd2380eeef","parentId":"fld_9d77cf423da841e0b5989e50f87340b3","modified":1733384169153,"created":1733326750841,"url":"/urn:uuid:","name":"Step 2.1.1 Create Aspect Model","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"metadata\" : {\n \"backupReference\" : \"https://dummy.link\",\n \"registrationIdentifier\" : \"https://dummy.link/ID8283746239078\",\n \"economicOperatorId\" : \"BPNL00000003B2OM\",\n \"lastModification\" : \"2000-01-01\",\n \"predecessor\" : \"urn:uuid:00000000-0000-0000-0000-000000000000\",\n \"issueDate\" : \"2000-01-01\",\n \"version\" : \"1.0.0\",\n \"passportIdentifier\" : \"urn:uuid:550e8400-e29b-41d4-a716-446655440000\",\n \"status\" : \"draft\",\n \"expirationDate\" : \"2030-01-01\"\n },\n \"characteristics\" : {\n \"generalPerformanceClass\" : \"A\",\n \"physicalState\" : \"solid\",\n \"physicalDimension\" : {\n \"width\" : {\n \"value\" : \"\",\n \"unit\" : \"unit:millimetre\"\n },\n \"length\" : {\n \"value\" : \"\",\n \"unit\" : \"unit:millimetre\"\n },\n \"weight\" : {\n \"value\" : \"\",\n \"unit\" : \"unit:gram\"\n },\n \"height\" : {\n \"value\" : \"\",\n \"unit\" : \"unit:millimetre\"\n }\n },\n \"lifespan\" : [ {\n \"value\" : \"\",\n \"unit\" : \"\",\n \"key\" : \"guaranteed lifetime\"\n } ]\n },\n \"commercial\" : {\n \"placedOnMarket\" : \"2000-01-01\",\n \"purpose\" : [ \"automotive\" ]\n },\n \"identification\" : {\n \"batch\" : [ {\n \"value\" : \"BID12345678\",\n \"key\" : \"batchId\"\n } ],\n \"codes\" : [ {\n \"value\" : \"8703 24 10 00\",\n \"key\" : \"TARIC\"\n } ],\n \"type\" : {\n \"manufacturerPartId\" : \"123-0.740-3434-A\",\n \"nameAtManufacturer\" : \" \"\n },\n \"classification\" : [ {\n \"classificationStandard\" : \"GIN 20510-21513\",\n \"classificationID\" : \"1004712\",\n \"classificationDescription\" : \"Generic standard for classification of parts in the automotive industry.\"\n } ],\n \"serial\" : [ {\n \"value\" : \"\",\n \"key\" : \"partInstanceId\"\n } ],\n \"dataCarrier\" : {\n \"carrierType\" : \"QR\",\n \"carrierLayout\" : \"upper-left side\"\n }\n },\n \"sources\" : [ {\n \"header\" : \"Example Document XYZ\",\n \"category\" : \"Product Specifications\",\n \"type\" : \"URL\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"materials\" : {\n \"substancesOfConcern\" : {\n \"applicable\" : true,\n \"content\" : [ {\n \"unit\" : \"unit:partPerMillion\",\n \"hazardClassification\" : {\n \"category\" : \"category 1A\",\n \"statement\" : \"Causes severe skin burns and eye damage.\",\n \"class\" : \"Skin corrosion\"\n },\n \"documentation\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"concentrationRange\" : [ {\n \"max\" : 2.6,\n \"min\" : 2.1\n } ],\n \"location\" : \"Housing\",\n \"concentration\" : 5.3,\n \"exemption\" : \"shall not apply to product x containing not more than 1,5 ml of liquid\",\n \"id\" : [ {\n \"type\" : \"CAS\",\n \"name\" : \"phenolphthalein\",\n \"id\" : \"201-004-7\"\n } ]\n } ]\n },\n \"materialComposition\" : {\n \"applicable\" : true,\n \"content\" : [ {\n \"unit\" : \"unit:partPerMillion\",\n \"recycled\" : 12.5,\n \"critical\" : true,\n \"renewable\" : 23.5,\n \"documentation\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"concentration\" : 5.3,\n \"id\" : [ {\n \"type\" : \"CAS\",\n \"name\" : \"phenolphthalein\",\n \"id\" : \"201-004-7\"\n } ]\n } ]\n }\n },\n \"handling\" : {\n \"applicable\" : true,\n \"content\" : {\n \"producer\" : [ {\n \"id\" : \"BPNL0123456789ZZ\"\n } ],\n \"sparePart\" : [ {\n \"manufacturerPartId\" : \"123-0.740-3434-A\",\n \"nameAtManufacturer\" : \"Mirror left\"\n } ]\n }\n },\n \"additionalData\" : [ {\n \"description\" : \"Description of an attribute\",\n \"label\" : \"Maximum permitted battery power\",\n \"type\" : {\n \"typeUnit\" : \"unit:volume\",\n \"dataType\" : \"array\"\n },\n \"data\" : \"23\",\n \"children\" : [ {\n \"description\" : \"Description of an attribute\",\n \"label\" : \"Maximum permitted battery power\",\n \"type\" : {\n \"typeUnit\" : \"unit:volume\",\n \"dataType\" : \"array\"\n },\n \"data\" : \"23\"\n } ]\n } ],\n \"operation\" : {\n \"import\" : {\n \"applicable\" : true,\n \"content\" : {\n \"eori\" : \"GB123456789000\",\n \"id\" : \"BPNL0123456789ZZ\"\n }\n },\n \"other\" : {\n \"id\" : \"BPNL0123456789XX\",\n \"role\" : \"distributor\"\n },\n \"manufacturer\" : {\n \"facility\" : [ {\n \"facility\" : \"BPNA1234567890AA\"\n } ],\n \"manufacturingDate\" : \"\",\n \"manufacturer\" : \"BPNLbi7tAJ8UiMsF\"\n }\n },\n \"sustainability\" : {\n \"reparabilityScore\" : \"B\",\n \"productFootprint\" : {\n \"material\" : [ {\n \"lifecycle\" : \"main product production\",\n \"rulebook\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"unit\" : \"kg CO2 / kWh\",\n \"performanceClass\" : \"A\",\n \"manufacturingPlant\" : [ {\n \"facility\" : \"BPNA1234567890AA\"\n } ],\n \"type\" : \"Climate Change Total\",\n \"value\" : 12.678,\n \"declaration\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ]\n } ],\n \"carbon\" : [ {\n \"lifecycle\" : \"main product production\",\n \"rulebook\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"unit\" : \"kg CO2 / kWh\",\n \"performanceClass\" : \"A\",\n \"manufacturingPlant\" : [ {\n \"facility\" : \"BPNA1234567890AA\"\n } ],\n \"type\" : \"Climate Change Total\",\n \"value\" : \"\",\n \"declaration\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ]\n } ],\n \"environmental\" : [ {\n \"lifecycle\" : \"main product production\",\n \"rulebook\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ],\n \"unit\" : \"kg CO2 / kWh\",\n \"performanceClass\" : \"A\",\n \"manufacturingPlant\" : [ {\n \"facility\" : \"BPNA1234567890AA\"\n } ],\n \"type\" : \"Climate Change Total\",\n \"value\" : 12.678,\n \"declaration\" : [ {\n \"contentType\" : \"URL\",\n \"header\" : \"Example Document XYZ\",\n \"content\" : \"https://dummy.link\"\n } ]\n } ]\n },\n \"status\" : \"original\",\n \"durabilityScore\" : \"A\"\n }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1733326751049,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_9d77cf423da841e0b5989e50f87340b3","parentId":"wrk_2abbc17d6f894654b94880116b52753a","modified":1733326884705,"created":1733326750837,"name":"01 Tractus-X Community Days","description":"","environment":{"digitalTwinId":"","base64ShellId":""},"environmentPropertyOrder":null,"metaSortKey":-1733326751037,"_type":"request_group"},{"_id":"wrk_2abbc17d6f894654b94880116b52753a","parentId":null,"modified":1733326750834,"created":1733326750834,"name":"Imported Workspace","description":"","scope":"collection","_type":"workspace"},{"_id":"req_4bb40a96d507417ebc98c2669af5bc72","parentId":"fld_9d77cf423da841e0b5989e50f87340b3","modified":1733384126901,"created":1733326750844,"url":"/urn:uuid:","name":"Step 2.1.2 Verify the Creation","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1733326750999,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_459db8b27ccc4ed696e1f54ecfb2f18b","parentId":"fld_9d77cf423da841e0b5989e50f87340b3","modified":1733435010217,"created":1733326750846,"url":"/shell-descriptors","name":"Step 2.2.1 Create Digital Twin","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"description\": [\n {\n \"language\": \"en\",\n \"text\": \"Car/part Digital Twin\"\n }\n ],\n \"displayName\": [],\n \"globalAssetId\": \"urn:uuid:\",\n \"idShort\": \"\",\n \"id\": \"\",\n \"specificAssetIds\": [\n {\n \"name\": \"manufacturerId\",\n \"value\": \"BPNL00000003CSGV\",\n \"externalSubjectId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"GlobalReference\",\n \"value\": \"BPNL00000003CSGV\"\n }\n ]\n }\n },\n {\n \"name\": \"partInstanceId\",\n \"value\": \"\",\n \"externalSubjectId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"GlobalReference\",\n \"value\": \"BPNL00000003CSGV\"\n }\n ]\n }\n },\n {\n \"name\": \"manufacturerPartId\",\n \"value\": \"MPI7654\",\n \"externalSubjectId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"GlobalReference\",\n \"value\": \"PUBLIC_READABLE\"\n },\n {\n \"type\": \"GlobalReference\",\n \"value\": \"BPNL00000003CSGV\"\n }\n ]\n }\n },\n {\n \"name\": \"digitalTwinType\",\n \"value\": \"PartInstance\",\n \"externalSubjectId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"GlobalReference\",\n \"value\": \"BPNL00000003CSGV\"\n }\n ]\n }\n }\n ],\n \"submodelDescriptors\": [\n {\n \"endpoints\": [\n {\n \"interface\": \"SUBMODEL-3.0\",\n \"protocolInformation\": {\n \"href\": \"/api/public/urn:uuid:\",\n \"endpointProtocol\": \"HTTP\",\n \"endpointProtocolVersion\": [\"1.1\"],\n \"subprotocol\": \"DSP\",\n \"subprotocolBody\": \"id=urn:uuid:9dc73b86-ef48-4cb9-b63e-4a392f04ecf1;dspEndpoint=\",\n \"subprotocolBodyEncoding\": \"plain\",\n \"securityAttributes\": [\n {\n \"type\": \"NONE\",\n \"key\": \"NONE\",\n \"value\": \"NONE\"\n }\n ]\n }\n }\n ],\n \"idShort\": \"digitalProductPass\",\n \"id\": \"urn:uuid:\",\n \"semanticId\": {\n \"type\": \"ExternalReference\",\n \"keys\": [\n {\n \"type\": \"Submodel\",\n \"value\": \"urn:samm:io.catenax.generic.digital_product_passport:5.0.0#DigitalProductPassport\"\n }\n ]\n },\n \"description\": [\n {\n \"language\": \"en\",\n \"text\": \"Digital Product Pass Submodel\"\n }\n ],\n \"displayName\": []\n }\n ]\n}\n"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_2211c4d9f8a44546bfd04a391f99ddac"},{"name":"Edc-Bpn","value":"BPNL00000003CSGV","id":"pair_baa2c6941c0040479915d830d14ac50f"}],"authentication":{},"metaSortKey":-1733326750949,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_afc77eb3409d4613835d40e8ddfe0ea3","parentId":"fld_9d77cf423da841e0b5989e50f87340b3","modified":1733435025245,"created":1733326750848,"url":"/shell-descriptors/","name":"Step 2.2.2 Verify the Creation","description":"","method":"GET","body":{},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_8d81872d40014a0cb2b0f150dc8565fc"},{"id":"pair_d7740c87c052498cba932260a36a4b36","name":"Edc-Bpn","value":"BPNL00000003CSGV","description":""}],"authentication":{},"metaSortKey":-1733326750899,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ac0aeb1cdf2d4f06bbb4ef362defd678","parentId":"fld_9d77cf423da841e0b5989e50f87340b3","modified":1733435034077,"created":1733326750849,"url":"/shell-descriptors/","name":"Step 2.3 Modify Digital Twin","description":"","method":"PUT","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_72b63184e75545008141a3c9497a029f"},{"id":"pair_b81620cc6a904a86a5e27d25ba0ea87b","name":"Edc-Bpn","value":"BPNL00000003CSGV","description":""}],"authentication":{},"metaSortKey":-1733326750849,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_169a5c3a78154d1ba2bda8b311328e47","parentId":"fld_8b548c0e207043e6b2fc8d74031741f5","modified":1733340032895,"created":1733333194131,"url":"/shell-descriptors//submodel-descriptors/","name":"Step 1.1 Get the Submodel","description":"","method":"GET","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/2023.5.8"}],"authentication":{"type":"apikey","disabled":false,"key":"X-Api-Key","value":"DPPPROVIDERKEY","addTo":"header"},"metaSortKey":-1733326829573.625,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_8b548c0e207043e6b2fc8d74031741f5","parentId":"wrk_2abbc17d6f894654b94880116b52753a","modified":1733326881242,"created":1733326823144,"name":"02 DPP-Verification","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1733326750937,"_type":"request_group"},{"_id":"req_fba6cb7af2214eaab7a36d8e26337293","parentId":"fld_8b548c0e207043e6b2fc8d74031741f5","modified":1733340860853,"created":1733333261215,"url":"/shell-descriptors//submodel-descriptors/","name":"Step 1.2 Update the Submodel","description":"","method":"PUT","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/2023.5.8"}],"authentication":{"type":"apikey","disabled":false,"key":"X-Api-Key","value":"DPPPROVIDERKEY","addTo":"header"},"metaSortKey":-1733326823950.4375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ab230f202fa44e259416886664a4a02a","parentId":"fld_8b548c0e207043e6b2fc8d74031741f5","modified":1733340775936,"created":1733333124880,"url":"/issue","name":"Step 1.3 Issue Verifiable Credentials","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"@context\": [\n \"https://www.w3.org/ns/credentials/v2\",\n \"https://w3c.github.io/vc-jws-2020/contexts/v1/\",\n \"https://raw.githubusercontent.com/eclipse-tractusx/digital-product-pass/main/dpp-verification/schemas/cdc/1.0.0/certifiedDataCredential.jsonld\",\n \"https://raw.githubusercontent.com/eclipse-tractusx/digital-product-pass/main/dpp-verification/schemas/dpp/5.0.0/digitalProductPass.jsonld\"\n ],\n \"type\": [\n \"VerifiableCredential\",\n \"CertifiedDataCredential\",\n \"DigitalProductPassport\"\n ],\n \"parent\": {\n \"@id\": \"did:web:dpp-test-system.com:BPNL00000003B2OM:api:public:urn%3Auuid%3A1c5b6a7c-90d4-3481-0538-f134ff53076d\",\n \"checksum\": \"64b1a523da600e8fc0018cf57b8f7756b83bb6e9b11c81b1c7444272fab239902321b1b6ae6624d6846fd010616ae98c118f12491f922badd64e58b782c6a115\"\n },\n \"semanticId\": \"urn:samm:io.catenax.generic.digital_product_passport:5.0.0#DigitalProductPassport\",\n \"credentialSubject\": {\n \"DigitalProductPassport\": \n },\n \"id\": \"urn:uuid:\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_af8b356e73f34c5db6441d240d6eb6b3"},{"name":"User-Agent","value":"insomnia/2023.5.8","id":"pair_8cdf2889d06f4e6e898190d441c62429"},{"id":"pair_989089f003d14f04a5b8ff78467f8e72","name":"BPN","value":"BPNL00000003B2OM","description":""}],"authentication":{"type":"apikey","disabled":false,"key":"X-Api-Key","value":"DPPPROVIDERKEY","addTo":"header"},"metaSortKey":-1733326818327.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5503097c23434c2694f6ec1d109c1886","parentId":"fld_8b548c0e207043e6b2fc8d74031741f5","modified":1733434773984,"created":1733434581115,"url":"/urn:uuid:","name":"Step 1.4 Update Verifiable aspect in Submodel Server","description":"","method":"POST","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_af8b356e73f34c5db6441d240d6eb6b3"},{"name":"User-Agent","value":"insomnia/2023.5.8","id":"pair_8cdf2889d06f4e6e898190d441c62429"},{"id":"pair_989089f003d14f04a5b8ff78467f8e72","name":"BPN","value":"BPNL00000003B2OM","description":""}],"authentication":{"type":"apikey","disabled":false,"key":"X-Api-Key","value":"DPPPROVIDERKEY","addTo":"header"},"metaSortKey":-1733326807080.875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e14954cf50d345c292335fe6777d68d1","parentId":"fld_8b548c0e207043e6b2fc8d74031741f5","modified":1733434716351,"created":1733326894484,"url":"/verify","name":"Verify the Proof","description":"","method":"POST","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_34c9cf9b22cd4e20954ade158e093e42"},{"name":"User-Agent","value":"insomnia/2023.5.8","id":"pair_84e96700b27d45bcb2cec1b10989c850"},{"id":"pair_e0d14b3531204200a1e255da43452541","name":"BPN","value":"BPNL00000003CSGV","description":""}],"authentication":{"type":"apikey","disabled":false,"key":"X-Api-Key","value":"DPPCONSUMERKEY","addTo":"header"},"metaSortKey":-1733326795834.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_97a58519d1aba1aac14a490b862d6798805bb37e","parentId":"wrk_2abbc17d6f894654b94880116b52753a","modified":1733326759462,"created":1733326759462,"name":"Base Environment","data":{},"dataPropertyOrder":null,"color":null,"isPrivate":false,"metaSortKey":1733326759462,"_type":"environment"},{"_id":"jar_97a58519d1aba1aac14a490b862d6798805bb37e","parentId":"wrk_2abbc17d6f894654b94880116b52753a","modified":1733326759469,"created":1733326759469,"name":"Default Jar","cookies":[],"_type":"cookie_jar"}]} \ No newline at end of file diff --git a/dpp-tutorial/verification.md b/dpp-tutorial/verification.md index db91a664d..137fbeac4 100644 --- a/dpp-tutorial/verification.md +++ b/dpp-tutorial/verification.md @@ -125,20 +125,28 @@ Example Response: ### Step 1.3 Issue the Verifiable Credentials -- Copy the DPP aspect model from the Step 2.1.1 and replace `` with the payload that you copied. +- Copy the DPP aspect model API response from the Step 2.1.2 and replace `` with the payload that you copied. - Subsitute `` with its value given in a paper. - Execute the API call. +### Step 1.4 Update Verifiable Aspect in Submodel Server + +- Copy the API response from the Step 1.3 and replace `` with the payload that you copied. + +- Subsitute the url placeholders: `` from the given paper and `` which was used in step 2.1.1 in the collection + +- Execute the API call. + ## Verification Section ### Verify the Proof -- Copy the response from the [Step 1.3](#step-13-issue-the-verifiable-credentials) +- Copy the Json response from the API Step 1.3 in insomnia collection -- Paste the response and replace `` +- Paste the response and replace `` - Execute the API call.