Conformity Credential
info
Please note that this content is under development and is not ready for implementation. This status message will be updated as content development progresses.
Description
This section outlines three methods for creating and using Conformity Credentials within the Reference implementation system. Each method offers different levels of automation and integration with external services.
Manually Import Conformity Credential
This method involves manually creating and importing a Conformity Credential.
Steps:
- Craft the Conformity Credential payload based on the desired schema.
- Sign the credential using the Verifiable Credential service.
- Store the credential in an external or Local Storage service.
- Format the URL for the conformity evidence reference.
- Include the formatted URL in the Conformity Credential within the DPP data props in the app config (conformityEvidence.reference).
Example config snippet:
{
"name": "Steel Mill 1",
"type": "producer",
"assets": {
"logo": "https://example.com/Logo.jpg",
"brandTitle": "Steel Mill 1"
},
"features": [
{
"name": "Issue DPP",
"id": "produce_product",
"components": [
{
"name": "JsonForm",
"type": "EntryData",
"props": {
"schema": {
"type": "object",
"properties": {
"conformityClaim": {
"type": "array",
"items": {
"type": "object",
"properties": {
"topic": { "type": "string" },
"standardOrRegulation": { "type": "string" },
"criteriaReference": { "type": "string" },
"claimedValues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"value": {
"type": "object",
"properties": {
"value": { "type": "number" },
"unit": { "type": "string" }
}
},
"accuracy": { "type": "number" }
}
}
},
"benchmarkValue": {
"type": "object",
"properties": {
"name": { "type": "string" },
"value": {
"type": "object",
"properties": {
"value": { "type": "number" },
"unit": { "type": "string" }
}
}
}
},
"benchmarkReference": { "type": "string" },
"conformance": { "type": "boolean" },
"conformityEvidence": {
"type": "object",
"properties": {
"type": { "type": "string" },
"assuranceLevel": { "type": "string" },
"reference": { "type": "string" }
}
}
}
}
}
}
},
"data": {
"conformityClaim": [
{
"topic": "environment.emissions",
"standardOrRegulation": "https://example.org/standards/environment",
"criteriaReference": "https://example.org/standards/environment/criteria",
"claimedValues": [
{ "name": "GHG Emissions", "value": { "value": 50, "unit": "KG_CO2E" }, "accuracy": 0.98 }
],
"benchmarkValue": { "name": "Industry Benchmark", "value": { "value": 60, "unit": "KG_CO2E" } },
"benchmarkReference": "https://example.org/benchmarks/environment",
"conformance": true,
"conformityEvidence": {
"type": "w3c_vc",
"assuranceLevel": "3rdParty",
"reference": "http://localhost:3003/verify?q%3D%7Bpayload%3A%7Buri%3Ahttp%3A%2F%2Flocalhost%3A3001%2Fconformity-credentials%2Fsteel-mill-1-emissions.json%7D%7D"
}
}
]
}
}
}
],
"services": []
}
]
}