Skip to content

Commit

Permalink
chore(fix): fixed digital twins payloads and integrated IRS guide
Browse files Browse the repository at this point in the history
  • Loading branch information
saudkhan116 committed Dec 4, 2024
1 parent 4932bf2 commit cbfeb14
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 28 deletions.
34 changes: 33 additions & 1 deletion dpp-tutorial/builder-path.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,35 @@ curl --location --request GET '<DIGITAL_TWIN_REGISTRY_URL>/shell-descriptors/<DI
</details>
## 4º Add Relationships to Digital Twin (Drill Down Feature)
This step enables you to view the component relationships.
Example:
___________________
| |
| Battery |
|___________________|
|
| ___________________
|--->| |
| Battery Module |
|___________________|
|
| ___________________
|--->| |
| Battery Cell |
|___________________|
Refer to the [irs-drill-down](./irs-drill-down.md) guide for more information
In case of error, you can always modify your digital twin using the following commands:
> PUT /shell-descriptors/<DIGITAL_TWIN_ID_BASE64_ENCODED>
Expand Down Expand Up @@ -344,6 +373,9 @@ curl --location --request PUT '<DIGITAL_TWIN_REGISTRY_URL>/shell-descriptors/<DI
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 <a href= "/dpp-tutorial/README.md#step-3---generate-the-qr-code" target="_blank">here</a> to access the next steps.
Expand All @@ -356,4 +388,4 @@ This work is licensed under the [CC-BY-4.0](https://creativecommons.org/licenses
- SPDX-FileCopyrightText: 2024 BMW AG
- SPDX-FileCopyrightText: 2024 CGI Deutschland B.V. & Co. KG
- SPDX-FileCopyrightText: 2024 Contributors to the Eclipse Foundation
- Source URL: https://github.com/eclipse-tractusx/digital-product-pass
- Source URL: https://github.com/eclipse-tractusx/digital-product-pass
12 changes: 0 additions & 12 deletions dpp-tutorial/resources/digital-twins/car-dt-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,21 +94,9 @@
"semanticId": {
"type": "ExternalReference",
"keys": [
{
"type": "Operation",
"value": "https://w3c.github.io/vc-jws-2020/contexts/v1/"
},
{
"type": "Submodel",
"value": "urn:samm:io.catenax.generic.digital_product_passport:5.0.0#DigitalProductPassport"
},
{
"type": "Entity",
"value": "https://www.w3.org/ns/credentials/v2"
},
{
"type": "DataElement",
"value": "urn:samm:io.catenax.dpp_verification.cdc:1.0.0#CertifiedDataCredential"
}
]
},
Expand Down
18 changes: 3 additions & 15 deletions dpp-tutorial/resources/digital-twins/example-dt.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"displayName": [],
"globalAssetId": "urn:uuid:<digitalTwinId>",
"idShort": "Car",
"idShort": "<PART_NAME>",
"id": "<digitalTwinId>",
"specificAssetIds": [
{
Expand All @@ -24,7 +24,7 @@
}
},
{
"name": "<PART_INSTANCE_ID>",
"name": "partInstanceId",
"value": "<YOUR PART INSTANCE ID>",
"externalSubjectId": {
"type": "ExternalReference",
Expand Down Expand Up @@ -73,7 +73,7 @@
{
"interface": "SUBMODEL-3.0",
"protocolInformation": {
"href": "<EDC_DATAPLANE_URL>/api/public/<digitalTwinSubmodelId>>",
"href": "<EDC_DATAPLANE_URL>/api/public/<digitalTwinSubmodelId>",
"endpointProtocol": "HTTP",
"endpointProtocolVersion": ["1.1"],
"subprotocol": "DSP",
Expand All @@ -94,21 +94,9 @@
"semanticId": {
"type": "ExternalReference",
"keys": [
{
"type": "Operation",
"value": "https://w3c.github.io/vc-jws-2020/contexts/v1/"
},
{
"type": "Submodel",
"value": "urn:samm:io.catenax.generic.digital_product_passport:5.0.0#DigitalProductPassport"
},
{
"type": "Entity",
"value": "https://www.w3.org/ns/credentials/v2"
},
{
"type": "DataElement",
"value": "urn:samm:io.catenax.dpp_verification.cdc:1.0.0#CertifiedDataCredential"
}
]
},
Expand Down

0 comments on commit cbfeb14

Please sign in to comment.