From 12356bc897af71c5fd7d8a23bc4d67c7ce014788 Mon Sep 17 00:00:00 2001
From: Ashley Harwood <60303491+ashleythedeveloper@users.noreply.github.com>
Date: Wed, 6 Nov 2024 15:23:03 +0000
Subject: [PATCH 1/2] Initialize config file
---
app-config.json | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 app-config.json
diff --git a/app-config.json b/app-config.json
new file mode 100644
index 00000000..3c81b8fc
--- /dev/null
+++ b/app-config.json
@@ -0,0 +1,14 @@
+{
+ "name": "Default Configuration",
+ "styles": {
+ "primaryColor": "#000000",
+ "secondaryColor": "#ffffff",
+ "tertiaryColor": "#cccccc"
+ },
+ "generalFeatures": [],
+ "apps": [],
+ "identifyProvider": {
+ "type": "gs1",
+ "url": "http://localhost:3333/products"
+ }
+}
\ No newline at end of file
From 92741cab06be4f14e429489d3b23a83444515fbd Mon Sep 17 00:00:00 2001
From: Ashley Harwood <60303491+ashleythedeveloper@users.noreply.github.com>
Date: Wed, 6 Nov 2024 15:23:33 +0000
Subject: [PATCH 2/2] chore: update system configuration
---
app-config.json | 7742 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 7735 insertions(+), 7 deletions(-)
diff --git a/app-config.json b/app-config.json
index 3c81b8fc..a0b1161d 100644
--- a/app-config.json
+++ b/app-config.json
@@ -1,14 +1,7742 @@
{
- "name": "Default Configuration",
+ "name": "Battery Supply Chain Traceability",
"styles": {
- "primaryColor": "#000000",
- "secondaryColor": "#ffffff",
- "tertiaryColor": "#cccccc"
+ "primaryColor": "rgb(35, 138, 186)",
+ "secondaryColor": "black",
+ "tertiaryColor": "black"
},
- "generalFeatures": [],
- "apps": [],
+ "generalFeatures": [
+ {
+ "name": "General features",
+ "type": "",
+ "styles": {
+ "primaryColor": "rgb(35, 138, 186)",
+ "secondaryColor": "black",
+ "tertiaryColor": "black"
+ },
+ "features": []
+ }
+ ],
+ "apps": [
+ {
+ "name": "Battery Facility",
+ "type": "producer",
+ "assets": {
+ "logo": "Cherries-farm-logo.webp",
+ "brandTitle": "Battery Facility"
+ },
+ "styles": {
+ "primaryColor": "#b5651d",
+ "secondaryColor": "#391561",
+ "tertiaryColor": "#ffffff"
+ },
+ "features": [
+ {
+ "name": "Issue DPP",
+ "id": "produce_product",
+ "components": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/DigitalProductPassport/v/working/artefacts/jsonSchemas/Product.json?class=Product"
+ },
+ "data": {
+ "type": [
+ "Product"
+ ],
+ "id": "https://example.com/01/09359502000034",
+ "name": "EcoCharge Lithium-Ion Battery",
+ "registeredId": "095201234",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "serialNumber": "12345678",
+ "batchNumber": "6789",
+ "productImage": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://c.animaapp.com/b3vf2M20/img/pp-header@2x.png",
+ "linkName": "EV Battery 300Ah Image"
+ },
+ "description": "The EcoCharge EC-5000 Lithium-Ion Battery is a high-capacity, 5000mAh battery designed for performance and sustainability. Manufactured with responsibly sourced materials and a 95% recyclability rate, it reduces lifecycle emissions through eco-friendly production and verified recycling programs.",
+ "productCategory": [
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary cells",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ },
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary batteries",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ }
+ ],
+ "furtherInformation": [
+ {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/product-information/1234567",
+ "linkName": "Name of document that is further information"
+ },
+ {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/product-information/1234567",
+ "linkName": "Name of additional document that is further information"
+ }
+ ],
+ "producedByParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.example-company.com/party/6789",
+ "name": "Example Manufacturing Co."
+ },
+ "producedAtFacility": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.example-company.com/facility/123",
+ "name": "Green Acres Battery Factory"
+ },
+ "dimensions": {
+ "type": [
+ "Dimension"
+ ],
+ "weight": {
+ "value": 10,
+ "unit": "kg"
+ },
+ "length": {
+ "value": 90,
+ "unit": "mm"
+ },
+ "width": {
+ "value": 60,
+ "unit": "mm"
+ },
+ "height": {
+ "value": 10,
+ "unit": "mm"
+ },
+ "volume": {
+ "value": 7.5,
+ "unit": "L"
+ }
+ },
+ "characteristic": {
+ "Battery status": "Recycled",
+ "Battery cell type": "Prismatic",
+ "Number of cells per battery": "180",
+ "Total energy": "100kwh"
+ },
+ "productionDate": "2024-04-24",
+ "countryOfProduction": "Australia",
+ "granularityLevel": "item",
+ "dueDiligenceDeclaration": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/due-diligence/1234567",
+ "linkName": "Due Diligence Declaration"
+ },
+ "materialsProvenance": [
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 10,
+ "hazardous": true,
+ "materialSafetyInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example.com/safety-info/lithium-spodumene.pdf",
+ "linkName": "Material Safety Data Sheet",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/safetyData"
+ }
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ }
+ ],
+ "conformityClaim": [
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2024-04-25"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": true,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ }
+ ],
+ "circularityScorecard": {
+ "type": [
+ "CircularityPerformance"
+ ],
+ "recyclingInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/recycling/1234567",
+ "linkName": "Recycling Information"
+ },
+ "repairInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/repair/1234567",
+ "linkName": "Repair Instructions"
+ },
+ "recyclableContent": 67,
+ "recycledContent": 86,
+ "utilityFactor": 1.2,
+ "materialCircularityIndicator": 0.67
+ },
+ "emissionsScorecard": {
+ "type": [
+ "EmissionsPerformance"
+ ],
+ "carbonFootprint": 12.5,
+ "declaredUnit": "kg",
+ "operationalScope": "CradleToGate",
+ "primarySourcedRatio": 75,
+ "reportingStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.ifrs.org/standards/issb/s2",
+ "name": "WBSCD Pathfinder framework - V.2.0",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.ifrs.org/issuing-party/123",
+ "name": "International Financial Reporting Standards Foundation",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.ifrs.org/issuing-party/",
+ "name": "IFRS Issuing Party"
+ }
+ },
+ "issueDate": "2024-04-25"
+ }
+ },
+ "traceabilityInformation": {
+ "valueChainProcess": "Spinning",
+ "verifiedRatio": 0.5,
+ "traceabilityEvent": [
+ {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "Object Event",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ },
+ {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "Transformation Event",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ },
+ {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "Transaction Event",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ },
+ {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "Aggregation Event",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ },
+ {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "Association Event",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ },
+ {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "Object Event",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ }
+ ]
+ }
+ },
+ "constructData": {
+ "mappingFields": [],
+ "dummyFields": [],
+ "generationFields": [
+ {
+ "path": "/eventID",
+ "handler": "generateIdWithSerialNumber"
+ }
+ ]
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "processDPP",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Battery Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "dpp": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dpp/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": "
Digital Product Passport {{#if credentialSubject.characteristic}}
Characteristics
{{#each credentialSubject.characteristic}}
{{/each}}
{{/if}}
{{credentialSubject.circularityScorecard.recyclableContent}}% Recyclable content
{{credentialSubject.circularityScorecard.recycledContent}}% Recycled content
{{credentialSubject.circularityScorecard.utilityFactor}} Utility factor
{{credentialSubject.circularityScorecard.materialCircularityIndicator}} Material circularity*
*The Material Circularity Indicator provides an overall circularity score which is a function of all three of the earlier measures.
Emissions Scorecard The Emissions Scorecard gives a clear snapshot of the product's greenhouse gas (GHG) emissions performance, providing a single indicator to assess its overall environmental impact.
{{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}}
Co2Eq
Scope includes {{credentialSubject.emissionsScorecard.operationalScope}}
Primary sourced ratio* {{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary sources
Issue date {{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
* The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly collected from actual sources, rather than being based on estimates.
Production
Product category {{#each credentialSubject.productCategory}}{{name}}{{#unless @last}},{{/unless}} {{/each}}
Date produced {{credentialSubject.productionDate}}
Country {{credentialSubject.countryOfProduction}}
Dimensions Weight: {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} Length: {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} Width: {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} Height: {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} Volume: {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}}
Product composition
A complete list of materials that make up the composition of this product.
{{#each credentialSubject.materialsProvenance}}
{{/each}}
{{!-- start: Supply chain due diligence report --}} Supply chain due diligence report
{{!-- end: Supply chain due diligence report --}} {{credentialSubject.traceabilityInformation.valueChainProcess}}
Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
{{#each credentialSubject.traceabilityInformation.traceabilityEvent}}
{{/each}}
Passport issued by Organisation {{issuer.name}}
This Digital Product Passport (DPP) is a digital record of the product's sustainability and environmental performance, ensuring transparency and accountability in line with UNTP standards. The DPP can be verified at any time using the QR code or visiting www.untp-certification.org with the passport ID.
PRODUCT PASSPORT
{{credentialSubject.name}}
Batch: {{credentialSubject.batchNumber}}
Serial: {{credentialSubject.serialNumber}}
{{credentialSubject.description}}
{{#each credentialSubject.furtherInformation}}
{{linkName}}
{{/each}}
{{#if credentialSubject.characteristic}}
{{#each credentialSubject.characteristic}}
{{/each}}
{{/if}}
The circularity Scorecard provides a simple high level summary of circularity performance of the product.
{{credentialSubject.circularityScorecard.recyclableContent}}%
Recyclable content
{{credentialSubject.circularityScorecard.recycledContent}}%
Recycled content
{{credentialSubject.circularityScorecard.utilityFactor}}
Utility factor
{{credentialSubject.circularityScorecard.materialCircularityIndicator}}
Material circularity*
*The Material Circularity Indicator provides an overall circularity score which is a function of all three of the earlier measures.
The Emissions Scorecard gives a clear snapshot of the product's greenhouse gas (GHG) emissions performance, providing a single indicator to assess its overall environmental impact.
{{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}}
Co2Eq
Scope includes
{{credentialSubject.emissionsScorecard.operationalScope}}
Primary sourced ratio*
{{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary sources
The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly collected from actual sources, rather than being based on estimates.
Issue date
{{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
Product category
{{#each credentialSubject.productCategory}}{{name}}{{#unless @last}},{{/unless}} {{/each}}
Date produced
{{credentialSubject.productionDate}}
Country
{{credentialSubject.countryOfProduction}}
Dimensions
Weight: {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} Length: {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} Width: {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} Height: {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} Volume: {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}}
The Product Composition List details the materials and components used in the product, providing transparency on the origin and nature of each element.
{{#each credentialSubject.materialsProvenance}}
{{massFraction}}%
{{massAmount.value}}{{massAmount.unit}} {{name}}
Recycled {{#if recycledAmount}}{{recycledAmount}}{{else}}0{{/if}}%
Hazard {{#if hazardous}}Yes{{else}}No{{/if}}
{{/each}}
{{!-- start: Supply chain due diligence report --}}
Supply chain due diligence report
{{!-- end: Supply chain due diligence report --}}
{{credentialSubject.traceabilityInformation.valueChainProcess}}
Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
{{#each credentialSubject.traceabilityInformation.traceabilityEvent}}
{{/each}}
This Digital Product Passport (DPP) is a digital record of the product’s sustainability and environmental performance, ensuring transparency and accountability in line with UNTP standards. The DPP can be verified at any time using the QR code or visiting www.untp-certification.org with the passport ID.
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalProductPassport"
+ ],
+ "dlrLinkTitle": "Cherries Product Passport",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/id"
+ }
+ ]
+ },
+ {
+ "name": "mergeToLocalStorage",
+ "parameters": [
+ {
+ "storageKey": "CherriesFarm_dpps",
+ "objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Move to Next Facility",
+ "id": "transaction_product",
+ "components": [
+ {
+ "name": "LocalStorageLoader",
+ "type": "EntryData",
+ "props": {
+ "storageKey": "CherriesFarm_dpps",
+ "nestedComponents": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/traceabilityEvents/v/working/artefacts/jsonSchemas/TransactionEvent.json?class=TransactionEvent"
+ }
+ },
+ "constructData": {
+ "mappingFields": [
+ {
+ "sourcePath": "/decodedEnvelopedVC/credentialSubject/id",
+ "destinationPath": "/epcList/index/name"
+ },
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/epcList/index/id"
+ },
+ {
+ "sourcePath": "/decodedEnvelopedVC/credentialSubject/name",
+ "destinationPath": "/quantityList/0/productName"
+ },
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/quantityList/0/productId"
+ }
+ ],
+ "dummyFields": [
+ {
+ "path": "/type",
+ "data": [
+ "TransactionEvent",
+ "Event"
+ ]
+ },
+ {
+ "path": "/id",
+ "data": "https://events.sample.com/01/09359502000034/21/123456"
+ },
+ {
+ "path": "/processType",
+ "data": "Weaving"
+ },
+ {
+ "path": "/eventTime",
+ "data": "2024-09-01T12:00:00"
+ },
+ {
+ "path": "/action",
+ "data": "add"
+ },
+ {
+ "path": "/disposition",
+ "data": "https://ref.gs1.org/cbv/Disp-active"
+ },
+ {
+ "path": "/bizStep",
+ "data": "https://ref.gs1.org/cbv/BizStep-commissioning"
+ },
+ {
+ "path": "/bizLocation",
+ "data": "https://id.gs1.org/414/9520123456788"
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/type",
+ "data": [
+ "Item"
+ ]
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/id",
+ "data": "https://id.gs1.org/01/09520123456788/21/12345"
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/name",
+ "data": "EV battery 300Ah."
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/dataProcessingMethod",
+ "data": "https://standards.org/sensorMethod#1234"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/time",
+ "data": "2024-07-24T12:00:00"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/sensorType",
+ "data": "https://samplesensors.com/model1234"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/value",
+ "data": 25
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/uom",
+ "data": "KGM"
+ },
+ {
+ "path": "/sensorElementList/0/sensorIntegrityProof",
+ "data": "https://jargon.sh"
+ },
+ {
+ "path": "/sourcePartyId",
+ "data": "https://abr.business.gov.au/ABN/View?abn=90664869327"
+ },
+ {
+ "path": "/destinationPartyId",
+ "data": "https://abr.business.gov.au/ABN/View?abn=90664869327"
+ },
+ {
+ "path": "/bizTransaction",
+ "data": "https://ref.gs1.org/cbv/BTT-prodorder"
+ },
+ {
+ "path": "/epcList/0/type",
+ "data": [
+ "Item"
+ ]
+ },
+ {
+ "path": "/quantityList/0/quantity",
+ "data": 20
+ },
+ {
+ "path": "/quantityList/0/uom",
+ "data": "KGM"
+ }
+ ],
+ "generationFields": [
+ {
+ "path": "/eventTime",
+ "handler": "generateCurrentDatetime"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {
+ "includeDownload": true,
+ "downloadFileName": "transaction"
+ }
+ }
+ ],
+ "services": [
+ {
+ "name": "convertObjectToArray1Item",
+ "parameters": [
+ {
+ "path": "/data"
+ }
+ ]
+ },
+ {
+ "name": "processTransactionEvent",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Orchard Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "traceabilityEvent": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dte/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " {{#each credentialSubject}}
{{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalTraceabilityEvent"
+ ],
+ "dlrLinkTitle": "Transaction Event",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/0/id",
+ "localStorageParams": {
+ "storageKey": "CherriesFarm_dpps",
+ "keyPath": "/0/epcList/index/name"
+ }
+ }
+ ]
+ },
+ {
+ "name": "mergeToLocalStorage",
+ "parameters": [
+ {
+ "storageKey": "orchard_facility_transaction_event",
+ "objectKeyPath": "/decodedEnvelopedVC/credentialSubject/0/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Issue traceability Event",
+ "id": "issue_traceability_event",
+ "components": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/Event"
+ },
+ "$defs": {
+ "CredentialIssuer": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "CredentialIssuer"
+ ],
+ "default": [
+ "CredentialIssuer"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "CredentialIssuer"
+ ]
+ }
+ },
+ "id": {
+ "example": "did:web:identifiers.example-company.com:12345",
+ "type": "string",
+ "format": "uri",
+ "description": "The W3C DID of the issuer - should be a did:web or did:tdw"
+ },
+ "name": {
+ "example": "Example Company Pty Ltd",
+ "type": "string",
+ "description": "The name of the issuer person or organisation"
+ },
+ "otherIdentifier": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/Identifier"
+ },
+ "description": "An optional list of other registered identifiers for this credential issuer "
+ }
+ },
+ "description": "The issuer party (person or organisation) of a verifiable credential.",
+ "required": [
+ "id",
+ "name"
+ ]
+ },
+ "Identifier": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "Identifier"
+ ],
+ "default": [
+ "Identifier"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "Identifier"
+ ]
+ }
+ },
+ "id": {
+ "example": "https://id.gs1.org/01/09520123456788/21/12345",
+ "type": "string",
+ "format": "uri",
+ "description": "The globally unique ID of the entity as a resolvable URL according to ISO 18975. ExamplesProduct - id.gs1.org/01/09520123456788/21/12345 Party - abr.business.gov.au/ABN/View?abn=90664869327. Facility - did:web:facilities.example-company.com:123. "
+ },
+ "name": {
+ "example": "EV battery 300Ah.",
+ "type": "string",
+ "description": "The registered name of the entity within the identifier scheme. Examples: product - EV battery 300Ah, Party - Sample Company Pty Ltd, Facility - Green Acres battery factory"
+ },
+ "registeredId": {
+ "example": "90664869327",
+ "type": "string",
+ "description": "The registration number (alphanumeric) of the entity within the register. Unique within the register."
+ },
+ "idScheme": {
+ "$ref": "#/$defs/IdentifierScheme",
+ "description": "The identifier scheme. Examples : Product - id.gs1.org/01, Party - business.gov.au/abn, Facility - did:web:facilities.acme.com. "
+ }
+ },
+ "description": "The ID and Name of an identified entity such as a product, facility, party, standard, etc. If the identifier is a W3C DID then the corresponding DID document SHOULD include a serviceEndpoint of type \"IdentityResolver\". If the identifier is not a W3C DID then the id property SHOULD be an identity resolver URL.",
+ "required": [
+ "id",
+ "name"
+ ]
+ },
+ "IdentifierScheme": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "IdentifierScheme"
+ ],
+ "default": [
+ "IdentifierScheme"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "IdentifierScheme"
+ ]
+ }
+ },
+ "id": {
+ "example": "https://id.gs1.org/01/",
+ "type": "string",
+ "format": "uri",
+ "description": "The globally unique identifier of the registration scheme. The scheme should be registered and discoverable from vocabulary.uncefact.org/identifierSchemes"
+ },
+ "name": {
+ "example": "Global Trade Identification Number (GTIN)",
+ "type": "string",
+ "description": "The name of the identifier scheme. "
+ }
+ },
+ "description": "An identifier registration scheme for products, facilities, or organisations. Typically operated by a state, national or global authority."
+ },
+ "TransformationEvent": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "TransformationEvent",
+ "Event"
+ ],
+ "default": [
+ "TransformationEvent",
+ "Event"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "TransformationEvent",
+ "Event"
+ ]
+ }
+ },
+ "id": {
+ "readOnly": true,
+ "example": "https://events.sample.com/01/09359502000034/21/123456",
+ "type": "string",
+ "format": "uri",
+ "description": "The unique identifier of this event - SHOULD be a UUID"
+ },
+ "processType": {
+ "example": "Weaving",
+ "type": "string",
+ "description": "A human readable name for industry specific process represented by this event."
+ },
+ "eventTime": {
+ "example": "2024-09-01T12:00:00",
+ "type": "string",
+ "format": "date-time",
+ "description": "The ISO-8601 date time when the event occurred."
+ },
+ "action": {
+ "type": "string",
+ "enum": [
+ "observe",
+ "add",
+ "delete"
+ ],
+ "example": "observe",
+ "description": "Code describing how an event relates to the life-cycle of the entity impacted by the event."
+ },
+ "disposition": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/Disp",
+ "description": "Disposition code describing the state of the item after the event. \n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/Disp\n "
+ },
+ "bizStep": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/BizStep",
+ "description": "A business step code drawn from a controlled vocabulary.\n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/BizStep\n "
+ },
+ "bizLocation": {
+ "example": "https://id.gs1.org/414/9520123456788",
+ "type": "string",
+ "format": "uri",
+ "description": "A Business Location is a uniquely identified and discretely recorded geospatial location that is meant to designate the specific place where an object is assumed to be following an event until it is reported to be at a different Business Location by a subsequent event. The bizLocation must be a resolvable URI that links to facility information and geo-location data."
+ },
+ "sensorElementList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/SensorElement"
+ },
+ "description": "An array (one for each sensor) of sensor device data sets associated with the event. "
+ },
+ "outputEPCList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/Item"
+ },
+ "description": "The list of uniquely identified items that are the output of this transformation event - for example a list of individually identified bolts of cloth that are the output of a weaving process."
+ },
+ "inputEPCList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/Item"
+ },
+ "description": "The list of uniquely identified items that are the input of this transformation event - for example a list of individually identified bobbins of yarn that are the input of a weaving process."
+ },
+ "inputQuantityList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/QuantityElement"
+ },
+ "description": "The quantified list of product classes that are the input of this transformation event - used when each item does not have a unique identity. for example the weight of raw cotton that is the input to a ginning process."
+ },
+ "outputQuantityList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/QuantityElement"
+ },
+ "description": "The quantified list of product classes that are the output of this transformation event - used when each item does not have a unique identity. for example a count of the bales of cleaned cotton that are the output of a ginning process."
+ }
+ },
+ "description": "Transformation represents an event in which input objects are fully or partially consumed and output objects are produced, such that any of the input objects may have contributed to all of the output objects - for example consuming bales of cotton to produce yarn."
+ },
+ "SensorElement": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "SensorElement"
+ ],
+ "default": [
+ "SensorElement"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "SensorElement"
+ ]
+ }
+ },
+ "sensorMetadata": {
+ "$ref": "#/$defs/Sensor",
+ "description": "Data that describes the physical sensor that recorded the sensor data set."
+ },
+ "sensorReport": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/SensorData"
+ },
+ "description": "A list of sensor readings from the given sensor relevant to the traceability event context."
+ },
+ "sensorIntegrityProof": {
+ "type": "string",
+ "format": "uri",
+ "description": "An optional reference to a verifiable credential signed by the sensor device or device manufacturer that contains the digitally signed raw data associated with this sensor report."
+ }
+ },
+ "description": "A SensorElement is used to carry data related to an event that is captured one sensor such as an IoT device. Include one sensor property and an array of sensor data values."
+ },
+ "Sensor": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "Sensor"
+ ],
+ "default": [
+ "Sensor"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "Sensor"
+ ]
+ }
+ },
+ "device": {
+ "$ref": "#/$defs/Item",
+ "description": "The device Identifier for the sensor as a URI (typically an EPC)"
+ },
+ "dataProcessingMethod": {
+ "example": "https://standards.org/sensorMethod#1234",
+ "type": "string",
+ "format": "uri",
+ "description": "The data processing method used by the sensor - should reference a documented standard criteria as a URI"
+ }
+ },
+ "description": "A physical sensor that records a sensor data set."
+ },
+ "Item": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "Item"
+ ],
+ "default": [
+ "Item"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "Item"
+ ]
+ }
+ },
+ "id": {
+ "example": "https://id.gs1.org/01/09520123456788/21/12345",
+ "type": "string",
+ "format": "uri",
+ "description": "The globally unique ID of the product as a URI. Ideally as a resolvable URL according to ISO 18975. "
+ },
+ "name": {
+ "example": "EV battery 300Ah.",
+ "type": "string",
+ "description": "The name of the product class to which the product item belongs. "
+ }
+ },
+ "description": "A specific serialised trade item which is an instance of a more generic product. ",
+ "required": [
+ "id",
+ "name"
+ ]
+ },
+ "SensorData": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "SensorData"
+ ],
+ "default": [
+ "SensorData"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "SensorData"
+ ]
+ }
+ },
+ "time": {
+ "example": "2024-07-24T12:00:00",
+ "type": "string",
+ "format": "date-time",
+ "description": "the timestamp at which the sensor reading was made."
+ },
+ "sensorType": {
+ "example": "https://samplesensors.com/model1234",
+ "type": "string",
+ "format": "uri",
+ "description": "the measurement type of the sensor reading, as a URI reference to a measurement method specification."
+ },
+ "value": {
+ "example": 25,
+ "type": "number",
+ "description": "the sensor reading"
+ },
+ "uom": {
+ "type": "string",
+ "x-external-enumeration": "https://vocabulary.uncefact.org/UnitMeasureCode",
+ "description": "the unit of measure for the sensor reading, drawn from UNECE rec20 code list.\n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://vocabulary.uncefact.org/UnitMeasureCode\n "
+ }
+ },
+ "description": "A data point read by a sensor."
+ },
+ "QuantityElement": {
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "QuantityElement"
+ ],
+ "default": [
+ "QuantityElement"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "QuantityElement"
+ ]
+ }
+ },
+ "productId": {
+ "example": "https://id.gs1.org/01/09520123456788/21/12345",
+ "type": "string",
+ "format": "uri",
+ "description": "THe identifier of a product class (as opposed to a product instance) such as a GTIN code for a manufactured product."
+ },
+ "productName": {
+ "example": "EV battery 300Ah.",
+ "type": "string",
+ "description": "The registered name of the product within the identifier scheme. "
+ },
+ "quantity": {
+ "example": 20,
+ "type": "number",
+ "description": "The numeric quantity of the product class (eg 100 kg of cotton)"
+ },
+ "uom": {
+ "type": "string",
+ "x-external-enumeration": "https://vocabulary.uncefact.org/UnitMeasureCode",
+ "description": "The unit of measure for the quantity value (eg Kg or meters etc) using the UNECE Rec 20 unit of measure codelist.\n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://vocabulary.uncefact.org/UnitMeasureCode\n "
+ }
+ },
+ "description": "The quantity element is used to define the quantity (eg 100 kg of a product class. Used when serialised items are not applicable.",
+ "required": [
+ "productId",
+ "productName",
+ "quantity"
+ ]
+ },
+ "ObjectEvent": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "ObjectEvent",
+ "Event"
+ ],
+ "default": [
+ "ObjectEvent",
+ "Event"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "ObjectEvent",
+ "Event"
+ ]
+ }
+ },
+ "id": {
+ "readOnly": true,
+ "example": "https://events.sample.com/01/09359502000034/21/123456",
+ "type": "string",
+ "format": "uri",
+ "description": "The unique identifier of this event - SHOULD be a UUID"
+ },
+ "processType": {
+ "example": "Weaving",
+ "type": "string",
+ "description": "A human readable name for industry specific process represented by this event."
+ },
+ "eventTime": {
+ "example": "2024-09-01T12:00:00",
+ "type": "string",
+ "format": "date-time",
+ "description": "The ISO-8601 date time when the event occurred."
+ },
+ "action": {
+ "type": "string",
+ "enum": [
+ "observe",
+ "add",
+ "delete"
+ ],
+ "example": "observe",
+ "description": "Code describing how an event relates to the life-cycle of the entity impacted by the event."
+ },
+ "disposition": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/Disp",
+ "description": "Disposition code describing the state of the item after the event. \n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/Disp\n "
+ },
+ "bizStep": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/BizStep",
+ "description": "A business step code drawn from a controlled vocabulary.\n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/BizStep\n "
+ },
+ "bizLocation": {
+ "example": "https://id.gs1.org/414/9520123456788",
+ "type": "string",
+ "format": "uri",
+ "description": "A Business Location is a uniquely identified and discretely recorded geospatial location that is meant to designate the specific place where an object is assumed to be following an event until it is reported to be at a different Business Location by a subsequent event. The bizLocation must be a resolvable URI that links to facility information and geo-location data."
+ },
+ "sensorElementList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/SensorElement"
+ },
+ "description": "An array (one for each sensor) of sensor device data sets associated with the event. "
+ },
+ "epcList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/Item"
+ },
+ "description": "A list of uniquely identified items (eg specific items serial numbers or tagged shipments / packages) that are the focus of this object event. "
+ },
+ "quantityList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/QuantityElement"
+ },
+ "description": "A quantified list of product classes (eg GS1 GTINs) that are the focus of this object event"
+ }
+ },
+ "description": "Object represents an event that happened to one or more physical or digital objects - such as an inspection or certification of a product or shipment. The physical objects may be identified either as specific items (eg a unique consignment number) or as a quantified amount of a product class (eg 100Kg of cotton yarn)"
+ },
+ "AggregationEvent": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "AggregationEvent",
+ "Event"
+ ],
+ "default": [
+ "AggregationEvent",
+ "Event"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "AggregationEvent",
+ "Event"
+ ]
+ }
+ },
+ "id": {
+ "readOnly": true,
+ "example": "https://events.sample.com/01/09359502000034/21/123456",
+ "type": "string",
+ "format": "uri",
+ "description": "The unique identifier of this event - SHOULD be a UUID"
+ },
+ "processType": {
+ "example": "Weaving",
+ "type": "string",
+ "description": "A human readable name for industry specific process represented by this event."
+ },
+ "eventTime": {
+ "example": "2024-09-01T12:00:00",
+ "type": "string",
+ "format": "date-time",
+ "description": "The ISO-8601 date time when the event occurred."
+ },
+ "action": {
+ "type": "string",
+ "enum": [
+ "observe",
+ "add",
+ "delete"
+ ],
+ "example": "observe",
+ "description": "Code describing how an event relates to the life-cycle of the entity impacted by the event."
+ },
+ "disposition": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/Disp",
+ "description": "Disposition code describing the state of the item after the event. \n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/Disp\n "
+ },
+ "bizStep": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/BizStep",
+ "description": "A business step code drawn from a controlled vocabulary.\n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/BizStep\n "
+ },
+ "bizLocation": {
+ "example": "https://id.gs1.org/414/9520123456788",
+ "type": "string",
+ "format": "uri",
+ "description": "A Business Location is a uniquely identified and discretely recorded geospatial location that is meant to designate the specific place where an object is assumed to be following an event until it is reported to be at a different Business Location by a subsequent event. The bizLocation must be a resolvable URI that links to facility information and geo-location data."
+ },
+ "sensorElementList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/SensorElement"
+ },
+ "description": "An array (one for each sensor) of sensor device data sets associated with the event. "
+ },
+ "parentEPC": {
+ "$ref": "#/$defs/Item",
+ "description": "The unique item identifier that is the result of this aggregation. Typically a packaging ID used in shipments that represents a box/ pallet / container of contained items."
+ },
+ "childEPCList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/Item"
+ },
+ "description": "The list of child items that have been aggregated into the parent (or dis-aggregated from the parent). Maybe a list of package references (eg boxes on a pallet) or may be individual items (eg products in a box)."
+ },
+ "childQuantityList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/QuantityElement"
+ },
+ "description": "List of quantified product classes that have been aggregated into the parent. Used when the child items do not have unique identifiers (eg 100 Kg of cotton bales)"
+ }
+ },
+ "description": "Aggregation represents an event that happened to one or more objects that are physically aggregated together (physically constrained to be in the same place at the same time, as when cases are aggregated to a pallet). This event is also used to represent de-aggregation (eg unpacking) when businessStepCode is unpacking."
+ },
+ "TransactionEvent": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "TransactionEvent",
+ "Event"
+ ],
+ "default": [
+ "TransactionEvent",
+ "Event"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "TransactionEvent",
+ "Event"
+ ]
+ }
+ },
+ "id": {
+ "readOnly": true,
+ "example": "https://events.sample.com/01/09359502000034/21/123456",
+ "type": "string",
+ "format": "uri",
+ "description": "The unique identifier of this event - SHOULD be a UUID"
+ },
+ "processType": {
+ "example": "Weaving",
+ "type": "string",
+ "description": "A human readable name for industry specific process represented by this event."
+ },
+ "eventTime": {
+ "example": "2024-09-01T12:00:00",
+ "type": "string",
+ "format": "date-time",
+ "description": "The ISO-8601 date time when the event occurred."
+ },
+ "action": {
+ "type": "string",
+ "enum": [
+ "observe",
+ "add",
+ "delete"
+ ],
+ "example": "observe",
+ "description": "Code describing how an event relates to the life-cycle of the entity impacted by the event."
+ },
+ "disposition": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/Disp",
+ "description": "Disposition code describing the state of the item after the event. \n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/Disp\n "
+ },
+ "bizStep": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/BizStep",
+ "description": "A business step code drawn from a controlled vocabulary.\n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/BizStep\n "
+ },
+ "bizLocation": {
+ "example": "https://id.gs1.org/414/9520123456788",
+ "type": "string",
+ "format": "uri",
+ "description": "A Business Location is a uniquely identified and discretely recorded geospatial location that is meant to designate the specific place where an object is assumed to be following an event until it is reported to be at a different Business Location by a subsequent event. The bizLocation must be a resolvable URI that links to facility information and geo-location data."
+ },
+ "sensorElementList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/SensorElement"
+ },
+ "description": "An array (one for each sensor) of sensor device data sets associated with the event. "
+ },
+ "sourcePartyId": {
+ "example": "https://abr.business.gov.au/ABN/View?abn=90664869327",
+ "type": "string",
+ "format": "uri",
+ "description": "The source party for this supply chain transaction - typically the seller party"
+ },
+ "destinationPartyId": {
+ "example": "https://abr.business.gov.au/ABN/View?abn=90664869327",
+ "type": "string",
+ "format": "uri",
+ "description": "The destination party for this supply chain transaction - typically the buyer party."
+ },
+ "bizTransaction": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/BTT",
+ "description": "The document type representing the trade transaction drawn from the business transaction type vocabulary.\n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/BTT\n "
+ },
+ "epcList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/Item"
+ },
+ "description": "The list of uniquely identified trade items included in this supply chain transaction."
+ },
+ "quantityList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/QuantityElement"
+ },
+ "description": "List of quantified product classes that are included in this transaction. Used when the trade items do not have unique identifiers (eg 100 reels of yarn)"
+ }
+ },
+ "description": "Transaction represents an event in which one or more objects become associated or disassociated with one or more identified business transactions - such as the purchase / shipment of goods between buyer and seller.",
+ "required": [
+ "sourcePartyId",
+ "destinationPartyId"
+ ]
+ },
+ "AssociationEvent": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "type": {
+ "type": "array",
+ "readOnly": true,
+ "const": [
+ "AssociationEvent",
+ "Event"
+ ],
+ "default": [
+ "AssociationEvent",
+ "Event"
+ ],
+ "items": {
+ "type": "string",
+ "enum": [
+ "AssociationEvent",
+ "Event"
+ ]
+ }
+ },
+ "id": {
+ "readOnly": true,
+ "example": "https://events.sample.com/01/09359502000034/21/123456",
+ "type": "string",
+ "format": "uri",
+ "description": "The unique identifier of this event - SHOULD be a UUID"
+ },
+ "processType": {
+ "example": "Weaving",
+ "type": "string",
+ "description": "A human readable name for industry specific process represented by this event."
+ },
+ "eventTime": {
+ "example": "2024-09-01T12:00:00",
+ "type": "string",
+ "format": "date-time",
+ "description": "The ISO-8601 date time when the event occurred."
+ },
+ "action": {
+ "type": "string",
+ "enum": [
+ "observe",
+ "add",
+ "delete"
+ ],
+ "example": "observe",
+ "description": "Code describing how an event relates to the life-cycle of the entity impacted by the event."
+ },
+ "disposition": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/Disp",
+ "description": "Disposition code describing the state of the item after the event. \n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/Disp\n "
+ },
+ "bizStep": {
+ "type": "string",
+ "x-external-enumeration": "https://ref.gs1.org/cbv/BizStep",
+ "description": "A business step code drawn from a controlled vocabulary.\n\n This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL: https://ref.gs1.org/cbv/BizStep\n "
+ },
+ "bizLocation": {
+ "example": "https://id.gs1.org/414/9520123456788",
+ "type": "string",
+ "format": "uri",
+ "description": "A Business Location is a uniquely identified and discretely recorded geospatial location that is meant to designate the specific place where an object is assumed to be following an event until it is reported to be at a different Business Location by a subsequent event. The bizLocation must be a resolvable URI that links to facility information and geo-location data."
+ },
+ "sensorElementList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/SensorElement"
+ },
+ "description": "An array (one for each sensor) of sensor device data sets associated with the event. "
+ },
+ "parentEPC": {
+ "$ref": "#/$defs/Item",
+ "description": "The unique item identifier that is the parent of this association. Typically an assembled product ID such as a desktop computer that is built from the associated child components."
+ },
+ "childEPCList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/Item"
+ },
+ "description": "The list of child items that have been assembled to create the parent - for example the power supply or hard drive components of a desktop computer."
+ },
+ "childQuantityList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/$defs/QuantityElement"
+ },
+ "description": "List of quantified product classes that have been assembled into the parent. Used when the child items do not have unique identifiers (eg brackets and screws used in the assembly of a desktop computer)"
+ }
+ },
+ "description": "The association event represents the assembly of child sub-components to create a parent assembled item. For example a desktop computer assembled from power supply, hard drive, and motherboard. The association event is very similar in structure to the aggregation event but is used for physical assembly. An association event may represent a bill of materials used to assemble a product whilst an aggregation event may represent a packing list or items for transport. "
+ },
+ "Event": {
+ "type": "object",
+ "oneOf": [
+ {
+ "$ref": "#/$defs/TransformationEvent"
+ },
+ {
+ "$ref": "#/$defs/ObjectEvent"
+ },
+ {
+ "$ref": "#/$defs/AggregationEvent"
+ },
+ {
+ "$ref": "#/$defs/TransactionEvent"
+ },
+ {
+ "$ref": "#/$defs/AssociationEvent"
+ }
+ ],
+ "description": "This abstract event structure provides a common language to describe supply chain events such as shipments, inspections, manufacturing processes, etc. There are four types of EPCIS event but this is an abstract class representing all common properties of an EPCIS event.",
+ "additionalProperties": true
+ }
+ }
+ },
+ "data": [
+ {
+ "type": [
+ "TransformationEvent",
+ "Event"
+ ],
+ "id": "https://events.sample.com/01/09359502000034/21/123456",
+ "processType": "Weaving",
+ "eventTime": "2024-09-01T12:00:00",
+ "action": "observe",
+ "disposition": "https://ref.gs1.org/cbv/Disp-active",
+ "bizStep": "https://ref.gs1.org/cbv/BizStep-commissioning",
+ "bizLocation": "https://id.gs1.org/414/9520123456788",
+ "sensorElementList": [
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ },
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ }
+ ],
+ "outputEPCList": [
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ }
+ ],
+ "inputEPCList": [
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ }
+ ],
+ "inputQuantityList": [
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ },
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ }
+ ],
+ "outputQuantityList": [
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ },
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ }
+ ]
+ }
+ ],
+ "constructData": {
+ "mappingFields": [],
+ "dummyFields": [],
+ "generationFields": [
+ {
+ "path": "/eventID",
+ "handler": "generateIdWithSerialNumber"
+ }
+ ]
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "processTraceabilityEvent",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Orchard Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "traceabilityEvent": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dte/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " {{#each credentialSubject}}
{{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalTraceabilityEvent"
+ ],
+ "dlrLinkTitle": "Traceability Event",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/0/id",
+ "eventTypePath": "/0/type/0"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Issue Object Event",
+ "id": "issue_object_event",
+ "components": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/traceabilityEvents/v/working/artefacts/jsonSchemas/ObjectEvent.json?class=ObjectEvent"
+ },
+ "data": {
+ "type": [
+ "ObjectEvent",
+ "Event"
+ ],
+ "id": "https://events.sample.com/01/09359502000034/21/123456",
+ "processType": "Weaving",
+ "eventTime": "2024-09-01T12:00:00",
+ "action": "add",
+ "disposition": "https://ref.gs1.org/cbv/Disp-active",
+ "bizStep": "https://ref.gs1.org/cbv/BizStep-commissioning",
+ "bizLocation": "https://id.gs1.org/414/9520123456788",
+ "sensorElementList": [
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ },
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ }
+ ],
+ "epcList": [
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ }
+ ],
+ "quantityList": [
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ },
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ }
+ ]
+ },
+ "constructData": {
+ "mappingFields": [],
+ "dummyFields": [],
+ "generationFields": [
+ {
+ "path": "/eventTime",
+ "handler": "generateCurrentDatetime"
+ }
+ ]
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "convertObjectToArray1Item",
+ "parameters": [
+ {
+ "path": "/data"
+ }
+ ]
+ },
+ {
+ "name": "processObjectEvent",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Orchard Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "traceabilityEvent": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dte/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " {{#each credentialSubject}}
{{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalTraceabilityEvent"
+ ],
+ "dlrLinkTitle": "Object Event",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/0/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Issue Association Event",
+ "id": "issue_association_event",
+ "components": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/traceabilityEvents/v/working/artefacts/jsonSchemas/AssociationEvent.json?class=AssociationEvent"
+ },
+ "data": {
+ "type": [
+ "AssociationEvent",
+ "Event"
+ ],
+ "id": "https://events.sample.com/01/09359502000034/21/123456",
+ "processType": "Weaving",
+ "eventTime": "2024-09-01T12:00:00",
+ "action": "add",
+ "disposition": "https://ref.gs1.org/cbv/Disp-active",
+ "bizStep": "https://ref.gs1.org/cbv/BizStep-commissioning",
+ "bizLocation": "https://id.gs1.org/414/9520123456788",
+ "sensorElementList": [
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ },
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ }
+ ],
+ "parentEPC": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "childEPCList": [
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ }
+ ],
+ "childQuantityList": [
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ },
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ }
+ ]
+ },
+ "constructData": {
+ "mappingFields": [],
+ "dummyFields": [],
+ "generationFields": [
+ {
+ "path": "/eventID",
+ "handler": "generateIdWithSerialNumber"
+ }
+ ]
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "convertObjectToArray1Item",
+ "parameters": [
+ {
+ "path": "/data"
+ }
+ ]
+ },
+ {
+ "name": "processAssociationEvent",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Orchard Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "traceabilityEvent": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dte/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " {{#each credentialSubject}}
{{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalTraceabilityEvent"
+ ],
+ "dlrLinkTitle": "Association Event",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/0/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Issue Aggregation Event",
+ "id": "issue_aggregation_event",
+ "components": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/traceabilityEvents/v/working/artefacts/jsonSchemas/AggregationEvent.json?class=AggregationEvent"
+ },
+ "data": {
+ "type": [
+ "AggregationEvent",
+ "Event"
+ ],
+ "id": "https://events.sample.com/01/09359502000034/21/123456",
+ "processType": "Weaving",
+ "eventTime": "2024-09-01T12:00:00",
+ "action": "add",
+ "disposition": "https://ref.gs1.org/cbv/Disp-active",
+ "bizStep": "https://ref.gs1.org/cbv/BizStep-commissioning",
+ "bizLocation": "https://id.gs1.org/414/9520123456788",
+ "sensorElementList": [
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ },
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ }
+ ],
+ "parentEPC": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "childEPCList": [
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ }
+ ],
+ "childQuantityList": [
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ },
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ }
+ ]
+ },
+ "constructData": {
+ "mappingFields": [],
+ "dummyFields": [],
+ "generationFields": [
+ {
+ "path": "/eventID",
+ "handler": "generateIdWithSerialNumber"
+ }
+ ]
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "convertObjectToArray1Item",
+ "parameters": [
+ {
+ "path": "/data"
+ }
+ ]
+ },
+ {
+ "name": "processAggregationEvent",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Orchard Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "traceabilityEvent": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dte/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " {{#each credentialSubject}}
{{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalTraceabilityEvent"
+ ],
+ "dlrLinkTitle": "Aggregation Event",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/0/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Issue Transformation Event",
+ "id": "issue_transformation_event",
+ "components": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/traceabilityEvents/v/working/artefacts/jsonSchemas/TransformationEvent.json?class=TransformationEvent"
+ },
+ "data": {
+ "type": [
+ "TransformationEvent",
+ "Event"
+ ],
+ "id": "https://events.sample.com/01/09359502000034/21/123456",
+ "processType": "Weaving",
+ "eventTime": "2024-09-01T12:00:00",
+ "action": "observe",
+ "disposition": "https://ref.gs1.org/cbv/Disp-active",
+ "bizStep": "https://ref.gs1.org/cbv/BizStep-commissioning",
+ "bizLocation": "https://id.gs1.org/414/9520123456788",
+ "sensorElementList": [
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ },
+ {
+ "sensorMetadata": {
+ "device": {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ "dataProcessingMethod": "https://standards.org/sensorMethod#1234"
+ },
+ "sensorReport": [
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ },
+ {
+ "time": "2024-07-24T12:00:00",
+ "sensorType": "https://samplesensors.com/model1234",
+ "value": 25,
+ "uom": "KGM"
+ }
+ ],
+ "sensorIntegrityProof": "https://jargon.sh"
+ }
+ ],
+ "outputEPCList": [
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ }
+ ],
+ "inputEPCList": [
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ },
+ {
+ "type": [
+ "Item"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah."
+ }
+ ],
+ "inputQuantityList": [
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ },
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ }
+ ],
+ "outputQuantityList": [
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ },
+ {
+ "productId": "https://id.gs1.org/01/09520123456788/21/12345",
+ "productName": "EV battery 300Ah.",
+ "quantity": 20,
+ "uom": "KGM"
+ }
+ ]
+ },
+ "constructData": {
+ "mappingFields": [],
+ "dummyFields": [],
+ "generationFields": [
+ {
+ "path": "/eventID",
+ "handler": "generateIdWithSerialNumber"
+ }
+ ]
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "convertObjectToArray1Item",
+ "parameters": [
+ {
+ "path": "/data"
+ }
+ ]
+ },
+ {
+ "name": "processTransformationEventOnly",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Orchard Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "traceabilityEvent": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dte/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " {{#each credentialSubject}}
{{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalTraceabilityEvent"
+ ],
+ "dlrLinkTitle": "Transformation Event",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/0/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Issue DCC",
+ "id": "produce_product",
+ "components": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/ConformityCredential/v/working/artefacts/jsonSchemas/ConformityAttestation.json?class=ConformityAttestation"
+ },
+ "data": {
+ "type": [
+ "ConformityAttestation",
+ "Attestation"
+ ],
+ "id": "https://exampleCAB.com/01/09359502000034",
+ "name": "Conformity attestation Name e.g. Product GHG Footprint certificate in accordance with GBA Rulebook.",
+ "assessorLevel": "Self",
+ "assessmentLevel": "GovtApproval",
+ "attestationType": "certification",
+ "description": "Attestation description SampleCAB Inc attests that the product class LiFePO4 EV batteries manufactured at Sample battery facility have reported GHG foorptint that conform to the GBA rulebook version 1.5.",
+ "issuedToParty": {
+ "type": [
+ "Party"
+ ],
+ "id": "https://abr.business.gov.au/ABN/View?abn=90664869327",
+ "name": "ABC Example Company PTY LTD",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "description": "A leading electric energy storage company"
+ },
+ "authorisation": [
+ {
+ "type": [
+ "Endorsement"
+ ],
+ "id": "https://authority.gov/schemeABC/123456789",
+ "name": "Endorsement name e.g. Accreditation of certifiers.com under the Australian National Greenhouse and Energy Reporting scheme (NGER)",
+ "trustmark": {
+ "type": [
+ "BinaryFile"
+ ],
+ "fileName": "GHG protocol trust mark",
+ "fileType": "image/png",
+ "file": "iVBORw0KGgoAAAANSUhEUgAAADkAAAA2CAYAAAB9TjFQAAAABGdBTUEAAi/9H3pWy6vI9uFdAAAAAElFTkSuQmCC"
+ },
+ "issuingAuthority": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "Authorising Entity",
+ "registeredId": "12345",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "endorsementEvidence": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "GBA rule book conformity certificate",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc"
+ }
+ },
+ {
+ "type": [
+ "Endorsement"
+ ],
+ "id": "https://authority.gov/schemeABC/123456789",
+ "name": "Endorsement name e.g. Accreditation of certifiers.com under the Australian National Greenhouse and Energy Reporting scheme (NGER)",
+ "trustmark": {
+ "type": [
+ "BinaryFile"
+ ],
+ "fileName": "GHG protocol trust mark",
+ "fileType": "image/png",
+ "file": "iVBORw0KGgoAAAANSUhEUgAAADkAAAA2CAYAAAB9TjFQAAAABGdBTUEAAi/9H3pWy6vI9uFdAAAAAElFTkSuQmCC"
+ },
+ "issuingAuthority": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "Authorising Entity",
+ "registeredId": "12345",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "endorsementEvidence": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "GBA rule book conformity certificate",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc"
+ }
+ }
+ ],
+ "conformityCertificate": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "GBA rule book conformity certificate",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "none"
+ },
+ "auditableEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "GBA rule book conformity certificate",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "none"
+ },
+ "scope": {
+ "type": [
+ "ConformityAssessmentScheme",
+ "Standard"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf",
+ "name": "GBA Battery Passport Greenhouse Gas Rulebook - V.2.0",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "12345",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "issueDate": "2023-12-05",
+ "trustmark": {
+ "type": [
+ "BinaryFile"
+ ],
+ "fileName": "GHG protocol trust mark",
+ "fileType": "image/png",
+ "file": "iVBORw0KGgoAAAANSUhEUgAAADkAAAA2CAYAAAB9TjFQAAAABGdBTUEAAi/9H3pWy6vI9uFdAAAAAElFTkSuQmCC"
+ }
+ },
+ "assessment": [
+ {
+ "type": [
+ "ConformityAssessment",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "id": "https://exampleCAB.com/38f73303-a39e-45a7-b8b7-e73517548f27/01",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf",
+ "name": "GBA Battery Passport",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "12345",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "AU",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "12345",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "GBA Battery rule book v2.0 battery assembly guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "emissions intensity",
+ "metricValue": {
+ "type": [
+ "Measure"
+ ],
+ "value": 1.8,
+ "unit": "kg"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "emissions footprint",
+ "metricValue": {
+ "type": [
+ "Measure"
+ ],
+ "value": 12,
+ "unit": "kg"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ }
+ ]
+ },
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Other battery assessment criteria rulebook",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "emissions intensity",
+ "metricValue": {
+ "type": [
+ "Measure"
+ ],
+ "value": 1.8,
+ "unit": "kg"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "emissions footprint",
+ "metricValue": {
+ "type": [
+ "Measure"
+ ],
+ "value": 12,
+ "unit": "kg"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ }
+ ]
+ }
+ ],
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "emissions intensity",
+ "metricValue": {
+ "type": [
+ "Measure"
+ ],
+ "value": 10,
+ "unit": "kg"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "emissions footprint",
+ "metricValue": {
+ "type": [
+ "Measure"
+ ],
+ "value": 10,
+ "unit": "kg"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ }
+ ],
+ "conformance": true,
+ "conformityTopic": "environment.energy",
+ "assessedProduct": [
+ {
+ "type": [
+ "Product"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "09520123456788.21.12345",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "serialNumber": "12345678",
+ "batchNumber": "6789",
+ "IDverifiedByCAB": true
+ },
+ {
+ "type": [
+ "Product"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "09520123456788.21.12345",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "serialNumber": "12345678",
+ "batchNumber": "6789",
+ "IDverifiedByCAB": true
+ },
+ {
+ "type": [
+ "Product"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "09520123456788.21.12345",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "serialNumber": "12345678",
+ "batchNumber": "6789",
+ "IDverifiedByCAB": true
+ }
+ ],
+ "assessedFacility": [
+ {
+ "type": [
+ "Facility"
+ ],
+ "id": "https://sample-facility-register.com/1234567",
+ "name": "Greenacres battery factory",
+ "registeredId": "1234567",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "locationInformation": {
+ "type": [
+ "Location"
+ ],
+ "plusCode": "https://plus.codes/8CGRC78W+MM",
+ "geoLocation": {
+ "type": "Point",
+ "coordinates": [
+ 12.34,
+ 56.78,
+ 90.12
+ ]
+ },
+ "geoBoundary": {
+ "type": "Polygon",
+ "coordinates": [
+ [
+ [
+ 12.34,
+ 56.78,
+ 90.12
+ ]
+ ]
+ ]
+ }
+ },
+ "address": {
+ "type": [
+ "Address"
+ ],
+ "streetAddress": "level 11, 15 London Circuit",
+ "postalCode": "2601",
+ "addressLocality": "Acton",
+ "addressRegion": "ACT",
+ "addressCountry": "AU"
+ },
+ "IDverifiedByCAB": true
+ },
+ {
+ "type": [
+ "Facility"
+ ],
+ "id": "https://sample-facility-register.com/1234567",
+ "name": "Greenacres battery factory",
+ "registeredId": "1234567",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "locationInformation": {
+ "type": [
+ "Location"
+ ],
+ "plusCode": "https://plus.codes/8CGRC78W+MM",
+ "geoLocation": {
+ "type": "Point",
+ "coordinates": [
+ 12.34,
+ 56.78,
+ 90.12
+ ]
+ },
+ "geoBoundary": {
+ "type": "Polygon",
+ "coordinates": [
+ [
+ [
+ 12.34,
+ 56.78,
+ 90.12
+ ]
+ ]
+ ]
+ }
+ },
+ "address": {
+ "type": [
+ "Address"
+ ],
+ "streetAddress": "level 11, 15 London Circuit",
+ "postalCode": "2601",
+ "addressLocality": "Acton",
+ "addressRegion": "ACT",
+ "addressCountry": "AU"
+ },
+ "IDverifiedByCAB": true
+ },
+ {
+ "type": [
+ "Facility"
+ ],
+ "id": "https://sample-facility-register.com/1234567",
+ "name": "Greenacres battery factory",
+ "registeredId": "1234567",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "locationInformation": {
+ "type": [
+ "Location"
+ ],
+ "plusCode": "https://plus.codes/8CGRC78W+MM",
+ "geoLocation": {
+ "type": "Point",
+ "coordinates": [
+ 12.34,
+ 56.78,
+ 90.12
+ ]
+ },
+ "geoBoundary": {
+ "type": "Polygon",
+ "coordinates": [
+ [
+ [
+ 12.34,
+ 56.78,
+ 90.12
+ ]
+ ]
+ ]
+ }
+ },
+ "address": {
+ "type": [
+ "Address"
+ ],
+ "streetAddress": "level 11, 15 London Circuit",
+ "postalCode": "2601",
+ "addressLocality": "Acton",
+ "addressRegion": "ACT",
+ "addressCountry": "AU"
+ },
+ "IDverifiedByCAB": true
+ }
+ ],
+ "assessedOrganisation": {
+ "type": [
+ "Party"
+ ],
+ "id": "https://abr.business.gov.au/ABN/View?abn=90664869327",
+ "name": "Sample Company Pty Ltd.",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "description": "A leading electric energy storage company"
+ },
+ "auditor": {
+ "type": [
+ "Party"
+ ],
+ "id": "https://abr.business.gov.au/ABN/View?abn=90664869327",
+ "name": "Auditor Name",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "description": "A leading electric energy storage company"
+ }
+ }
+ ]
+ },
+ "constructData": {
+ "mappingFields": [],
+ "dummyFields": [],
+ "generationFields": [
+ {
+ "path": "/eventID",
+ "handler": "generateIdWithSerialNumber"
+ }
+ ]
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "processDigitalConformityCredential",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Orchard Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "digitalConformityCredential": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dcc/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " DigitalConformityCredential
Assessments
The list of specific assessments made within this conformity attestation.
{{#each credentialSubject.assessment}}
{{conformityTopic}}
{{#each declaredValue}}
Value
{{metricValue.value}}{{metricValue.unit}}
{{/each}}
{{#each assessmentCriteria}}
{{name}}
{{#each thresholdValues}} Industry average {{metricName}} is {{metricValue.value}}{{metricValue.unit}} .
{{/each}} {{/each}}
{{#each assessedFacility}}
{{/each}}
{{#each assessedProduct}}
{{/each}}
{{/each}}
{{#each credentialSubject.authorisation}}
{{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalConformityCredential"
+ ],
+ "dlrLinkTitle": "DigitalConformityCredential",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Issue DFR",
+ "id": "produce_product",
+ "components": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/DigitalFacilityRecord/v/working/artefacts/jsonSchemas/Facility.json?class=Facility"
+ },
+ "data": {
+ "type": [
+ "Facility"
+ ],
+ "id": "https://id.gs1.org/414/9359502000034",
+ "registeredId": "4149359502000034",
+ "description": "LiFePO4 Battery plant number 7",
+ "name": "Example facility 7",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "countryOfOperation": "AU",
+ "processCategory": [
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary cells and primary batteries",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ },
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary cells and primary batteries",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ }
+ ],
+ "operatedByParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "otherIdentifier": [
+ {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ }
+ ],
+ "address": {
+ "streetAddress": "level 11, 15 London Circuit",
+ "postalCode": "2601",
+ "addressLocality": "Acton",
+ "addressRegion": "ACT",
+ "addressCountry": "AU"
+ },
+ "locationInformation": {
+ "plusCode": "https://plus.codes/8CGRC78W+MM",
+ "geoLocation": {
+ "type": "Point",
+ "coordinates": [
+ 3.141579,
+ 3.141579
+ ]
+ },
+ "geoBoundary": {
+ "type": "Polygon",
+ "coordinates": [
+ [
+ [
+ 3.141579,
+ 3.141579
+ ]
+ ]
+ ]
+ }
+ },
+ "conformityClaim": [
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf",
+ "name": "GBA Battery Passport Greenhouse Gas Rulebook - V.2.0",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "NNational Greenhouse and Energy Reporting (Measurement) Determination",
+ "jurisdictionCountry": "Enumeration Value",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "GBA Battery rule book v2.0 battery assembly guidelines.",
+ "thresholdValues": [
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ },
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ }
+ ]
+ },
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "GBA Battery rule book v2.0 battery assembly guidelines.",
+ "thresholdValues": [
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ },
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ }
+ ]
+ }
+ ],
+ "declaredValue": [
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ },
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ }
+ ],
+ "conformance": true,
+ "conformityTopic": "environment.emissions",
+ "conformityEvidence": {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "GBA rule book conformity certificate",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-03-15",
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf",
+ "name": "GBA Battery Passport Greenhouse Gas Rulebook - V.2.0",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "NNational Greenhouse and Energy Reporting (Measurement) Determination",
+ "jurisdictionCountry": "Enumeration Value",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.gs1.org/01/09520123456788/21/12345",
+ "name": "EV battery 300Ah.",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ }
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "GBA Battery rule book v2.0 battery assembly guidelines.",
+ "thresholdValues": [
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ },
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ }
+ ]
+ },
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "GBA Battery rule book v2.0 battery assembly guidelines.",
+ "thresholdValues": [
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ },
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ }
+ ]
+ }
+ ],
+ "declaredValue": [
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ },
+ {
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 10,
+ "unit": "KGM"
+ },
+ "score": "BB",
+ "accuracy": 0.05
+ }
+ ],
+ "conformance": true,
+ "conformityTopic": "environment.emissions",
+ "conformityEvidence": {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "GBA rule book conformity certificate",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ }
+ }
+ ]
+ },
+ "constructData": {
+ "mappingFields": [],
+ "dummyFields": [],
+ "generationFields": [
+ {
+ "path": "/eventID",
+ "handler": "generateIdWithSerialNumber"
+ }
+ ]
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "processDigitalFacilityRecord",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Orchard Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "digitalFacilityRecord": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dfr/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " Digital Facility Record ",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalFacilityRecord"
+ ],
+ "dlrLinkTitle": "DigitalFacilityRecord",
+ "dlrIdentificationKeyType": "gln",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/id"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Packhouse Facility",
+ "type": "producer",
+ "assets": {
+ "logo": "Cherries-farm-logo.webp",
+ "brandTitle": "Packhouse Facility"
+ },
+ "styles": {
+ "primaryColor": "#b5651d",
+ "secondaryColor": "#391561",
+ "tertiaryColor": "#ffffff"
+ },
+ "features": [
+ {
+ "name": "Issue DPP",
+ "id": "produce_product",
+ "components": [
+ {
+ "name": "LocalStorageLoader",
+ "type": "EntryData",
+ "props": {
+ "storageKey": "orchard_facility_transaction_event",
+ "nestedComponents": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/DigitalProductPassport/v/working/artefacts/jsonSchemas/Product.json?class=Product"
+ },
+ "data": {
+ "type": [
+ "Product"
+ ],
+ "id": "https://example.com/01/09359502000034",
+ "name": "EcoCharge Lithium-Ion Battery",
+ "registeredId": "095201234",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "serialNumber": "12345678",
+ "batchNumber": "6789",
+ "productImage": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://c.animaapp.com/b3vf2M20/img/pp-header@2x.png",
+ "linkName": "EV Battery 300Ah Image"
+ },
+ "description": "The EcoCharge EC-5000 Lithium-Ion Battery is a high-capacity, 5000mAh battery designed for performance and sustainability. Manufactured with responsibly sourced materials and a 95% recyclability rate, it reduces lifecycle emissions through eco-friendly production and verified recycling programs.",
+ "productCategory": [
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary cells",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ },
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary batteries",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ }
+ ],
+ "furtherInformation": [
+ {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/product-information/1234567",
+ "linkName": "Name of document that is further information"
+ },
+ {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/product-information/1234567",
+ "linkName": "Name of additional document that is further information"
+ }
+ ],
+ "producedByParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.example-company.com/party/6789",
+ "name": "Example Manufacturing Co."
+ },
+ "producedAtFacility": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.example-company.com/facility/123",
+ "name": "Green Acres Battery Factory"
+ },
+ "dimensions": {
+ "type": [
+ "Dimension"
+ ],
+ "weight": {
+ "value": 10,
+ "unit": "kg"
+ },
+ "length": {
+ "value": 90,
+ "unit": "mm"
+ },
+ "width": {
+ "value": 60,
+ "unit": "mm"
+ },
+ "height": {
+ "value": 10,
+ "unit": "mm"
+ },
+ "volume": {
+ "value": 7.5,
+ "unit": "L"
+ }
+ },
+ "characteristic": {
+ "Battery status": "Recycled",
+ "Battery cell type": "Prismatic",
+ "Number of cells per battery": "180",
+ "Total energy": "100kwh"
+ },
+ "productionDate": "15 August 2024",
+ "countryOfProduction": "Australia",
+ "granularityLevel": "item",
+ "dueDiligenceDeclaration": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/due-diligence/1234567",
+ "linkName": "Due Diligence Declaration"
+ },
+ "materialsProvenance": [
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 10,
+ "hazardous": true,
+ "materialSafetyInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example.com/safety-info/lithium-spodumene.pdf",
+ "linkName": "Material Safety Data Sheet",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/safetyData"
+ }
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ }
+ ],
+ "conformityClaim": [
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": true,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ }
+ ],
+ "circularityScorecard": {
+ "type": [
+ "CircularityPerformance"
+ ],
+ "recyclingInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/recycling/1234567",
+ "linkName": "Recycling Information"
+ },
+ "repairInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/repair/1234567",
+ "linkName": "Repair Instructions"
+ },
+ "recyclableContent": 67,
+ "recycledContent": 86,
+ "utilityFactor": 1.2,
+ "materialCircularityIndicator": 0.67
+ },
+ "emissionsScorecard": {
+ "type": [
+ "EmissionsPerformance"
+ ],
+ "carbonFootprint": 12.5,
+ "declaredUnit": "kg",
+ "operationalScope": "CradleToGate",
+ "primarySourcedRatio": 75,
+ "reportingStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.ifrs.org/standards/issb/s2",
+ "name": "WBSCD Pathfinder framework - V.2.0",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.ifrs.org/issuing-party/123",
+ "name": "International Financial Reporting Standards Foundation",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.ifrs.org/issuing-party/",
+ "name": "IFRS Issuing Party"
+ }
+ },
+ "issueDate": "2024-04-25"
+ }
+ },
+ "traceabilityInformation": {
+ "valueChainProcess": "Spinning",
+ "verifiedRatio": 0.5,
+ "traceabilityEvent": [
+ {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "Transaction Event",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ }
+ ]
+ }
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ },
+ "constructData": {
+ "mappingFields": [
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/traceabilityInformation/traceabilityEvent/0/linkURL"
+ }
+ ],
+ "dummyFields": [
+ {
+ "path": "/traceabilityInformation/0/eventType",
+ "data": "transaction"
+ }
+ ],
+ "generationFields": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "processDPP",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Packhouse Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "dpp": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dpp/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " Digital Product Passport {{#if credentialSubject.characteristic}}
Characteristics
{{#each credentialSubject.characteristic}}
{{/each}}
{{/if}}
{{credentialSubject.circularityScorecard.recyclableContent}}% Recyclable content
{{credentialSubject.circularityScorecard.recycledContent}}% Recycled content
{{credentialSubject.circularityScorecard.utilityFactor}} Utility factor
{{credentialSubject.circularityScorecard.materialCircularityIndicator}} Material circularity*
*The Material Circularity Indicator provides an overall circularity score which is a function of all three of the earlier measures.
Emissions Scorecard The Emissions Scorecard gives a clear snapshot of the product's greenhouse gas (GHG) emissions performance, providing a single indicator to assess its overall environmental impact.
{{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}}
Co2Eq
Scope includes {{credentialSubject.emissionsScorecard.operationalScope}}
Primary sourced ratio* {{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary sources
Issue date {{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
* The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly collected from actual sources, rather than being based on estimates.
Production
Product category {{#each credentialSubject.productCategory}}{{name}}{{#unless @last}},{{/unless}} {{/each}}
Date produced {{credentialSubject.productionDate}}
Country {{credentialSubject.countryOfProduction}}
Dimensions Weight: {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} Length: {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} Width: {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} Height: {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} Volume: {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}}
Product composition
A complete list of materials that make up the composition of this product.
{{#each credentialSubject.materialsProvenance}}
{{/each}}
{{!-- start: Supply chain due diligence report --}} Supply chain due diligence report
{{!-- end: Supply chain due diligence report --}} {{credentialSubject.traceabilityInformation.valueChainProcess}}
Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
{{#each credentialSubject.traceabilityInformation.traceabilityEvent}}
{{/each}}
Passport issued by Organisation {{issuer.name}}
This Digital Product Passport (DPP) is a digital record of the product's sustainability and environmental performance, ensuring transparency and accountability in line with UNTP standards. The DPP can be verified at any time using the QR code or visiting www.untp-certification.org with the passport ID.
PRODUCT PASSPORT
{{credentialSubject.name}}
Batch: {{credentialSubject.batchNumber}}
Serial: {{credentialSubject.serialNumber}}
{{credentialSubject.description}}
{{#each credentialSubject.furtherInformation}}
{{linkName}}
{{/each}}
{{#if credentialSubject.characteristic}}
{{#each credentialSubject.characteristic}}
{{/each}}
{{/if}}
The circularity Scorecard provides a simple high level summary of circularity performance of the product.
{{credentialSubject.circularityScorecard.recyclableContent}}%
Recyclable content
{{credentialSubject.circularityScorecard.recycledContent}}%
Recycled content
{{credentialSubject.circularityScorecard.utilityFactor}}
Utility factor
{{credentialSubject.circularityScorecard.materialCircularityIndicator}}
Material circularity*
*The Material Circularity Indicator provides an overall circularity score which is a function of all three of the earlier measures.
The Emissions Scorecard gives a clear snapshot of the product's greenhouse gas (GHG) emissions performance, providing a single indicator to assess its overall environmental impact.
{{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}}
Co2Eq
Scope includes
{{credentialSubject.emissionsScorecard.operationalScope}}
Primary sourced ratio*
{{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary sources
The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly collected from actual sources, rather than being based on estimates.
Issue date
{{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
Product category
{{#each credentialSubject.productCategory}}{{name}}{{#unless @last}},{{/unless}} {{/each}}
Date produced
{{credentialSubject.productionDate}}
Country
{{credentialSubject.countryOfProduction}}
Dimensions
Weight: {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} Length: {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} Width: {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} Height: {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} Volume: {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}}
The Product Composition List details the materials and components used in the product, providing transparency on the origin and nature of each element.
{{#each credentialSubject.materialsProvenance}}
{{massFraction}}%
{{massAmount.value}}{{massAmount.unit}} {{name}}
Recycled {{#if recycledAmount}}{{recycledAmount}}{{else}}0{{/if}}%
Hazard {{#if hazardous}}Yes{{else}}No{{/if}}
{{/each}}
{{!-- start: Supply chain due diligence report --}}
Supply chain due diligence report
{{!-- end: Supply chain due diligence report --}}
{{credentialSubject.traceabilityInformation.valueChainProcess}}
Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
{{#each credentialSubject.traceabilityInformation.traceabilityEvent}}
{{/each}}
This Digital Product Passport (DPP) is a digital record of the product’s sustainability and environmental performance, ensuring transparency and accountability in line with UNTP standards. The DPP can be verified at any time using the QR code or visiting www.untp-certification.org with the passport ID.
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalProductPassport"
+ ],
+ "dlrLinkTitle": "Cherries Product Passport",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/id"
+ }
+ ]
+ },
+ {
+ "name": "mergeToLocalStorage",
+ "parameters": [
+ {
+ "storageKey": "CherriesFarm_dpps",
+ "objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Move to Next Facility",
+ "id": "transaction_product",
+ "components": [
+ {
+ "name": "LocalStorageLoader",
+ "type": "EntryData",
+ "props": {
+ "storageKey": "CherriesFarm_dpps",
+ "nestedComponents": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/traceabilityEvents/v/working/artefacts/jsonSchemas/TransactionEvent.json?class=TransactionEvent"
+ }
+ },
+ "constructData": {
+ "mappingFields": [
+ {
+ "sourcePath": "/decodedEnvelopedVC/credentialSubject/id",
+ "destinationPath": "/epcList/index/name"
+ },
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/epcList/index/id"
+ },
+ {
+ "sourcePath": "/decodedEnvelopedVC/credentialSubject/name",
+ "destinationPath": "/quantityList/0/productName"
+ },
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/quantityList/0/productId"
+ }
+ ],
+ "dummyFields": [
+ {
+ "path": "/type",
+ "data": [
+ "TransactionEvent",
+ "Event"
+ ]
+ },
+ {
+ "path": "/id",
+ "data": "https://events.sample.com/01/09359502000034/21/123456"
+ },
+ {
+ "path": "/processType",
+ "data": "Weaving"
+ },
+ {
+ "path": "/eventTime",
+ "data": "2024-09-01T12:00:00"
+ },
+ {
+ "path": "/action",
+ "data": "add"
+ },
+ {
+ "path": "/disposition",
+ "data": "https://ref.gs1.org/cbv/Disp-active"
+ },
+ {
+ "path": "/bizStep",
+ "data": "https://ref.gs1.org/cbv/BizStep-commissioning"
+ },
+ {
+ "path": "/bizLocation",
+ "data": "https://id.gs1.org/414/9520123456788"
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/type",
+ "data": [
+ "Item"
+ ]
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/id",
+ "data": "https://id.gs1.org/01/09520123456788/21/12345"
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/name",
+ "data": "EV battery 300Ah."
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/dataProcessingMethod",
+ "data": "https://standards.org/sensorMethod#1234"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/time",
+ "data": "2024-07-24T12:00:00"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/sensorType",
+ "data": "https://samplesensors.com/model1234"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/value",
+ "data": 25
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/uom",
+ "data": "KGM"
+ },
+ {
+ "path": "/sensorElementList/0/sensorIntegrityProof",
+ "data": "https://jargon.sh"
+ },
+ {
+ "path": "/sourcePartyId",
+ "data": "https://abr.business.gov.au/ABN/View?abn=90664869327"
+ },
+ {
+ "path": "/destinationPartyId",
+ "data": "https://abr.business.gov.au/ABN/View?abn=90664869327"
+ },
+ {
+ "path": "/bizTransaction",
+ "data": "https://ref.gs1.org/cbv/BTT-prodorder"
+ },
+ {
+ "path": "/epcList/0/type",
+ "data": [
+ "Item"
+ ]
+ },
+ {
+ "path": "/quantityList/0/quantity",
+ "data": 20
+ },
+ {
+ "path": "/quantityList/0/uom",
+ "data": "KGM"
+ }
+ ],
+ "generationFields": [
+ {
+ "path": "/eventTime",
+ "handler": "generateCurrentDatetime"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {
+ "includeDownload": true,
+ "downloadFileName": "transaction"
+ }
+ }
+ ],
+ "services": [
+ {
+ "name": "convertObjectToArray1Item",
+ "parameters": [
+ {
+ "path": "/data"
+ }
+ ]
+ },
+ {
+ "name": "processTransactionEvent",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Packhouse Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "traceabilityEvent": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dte/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " {{#each credentialSubject}}
{{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalTraceabilityEvent"
+ ],
+ "dlrLinkTitle": "Transaction Event",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/0/id",
+ "localStorageParams": {
+ "storageKey": "CherriesFarm_dpps",
+ "keyPath": "/0/epcList/index/name"
+ }
+ }
+ ]
+ },
+ {
+ "name": "mergeToLocalStorage",
+ "parameters": [
+ {
+ "storageKey": "orchard_facility_transaction_event",
+ "objectKeyPath": "/decodedEnvelopedVC/credentialSubject/0/id"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Fumigation and Freight Forwarding Facility",
+ "type": "producer",
+ "assets": {
+ "logo": "Cherries-farm-logo.webp",
+ "brandTitle": "Fumigation and Freight Forwarding Facility"
+ },
+ "styles": {
+ "primaryColor": "#b5651d",
+ "secondaryColor": "#391561",
+ "tertiaryColor": "#ffffff"
+ },
+ "features": [
+ {
+ "name": "Issue DPP",
+ "id": "produce_product",
+ "components": [
+ {
+ "name": "LocalStorageLoader",
+ "type": "EntryData",
+ "props": {
+ "storageKey": "orchard_facility_transaction_event",
+ "nestedComponents": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/DigitalProductPassport/v/working/artefacts/jsonSchemas/Product.json?class=Product"
+ },
+ "data": {
+ "type": [
+ "Product"
+ ],
+ "id": "https://example.com/01/09359502000034",
+ "name": "EcoCharge Lithium-Ion Battery",
+ "registeredId": "095201234",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "serialNumber": "12345678",
+ "batchNumber": "6789",
+ "productImage": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://c.animaapp.com/b3vf2M20/img/pp-header@2x.png",
+ "linkName": "EV Battery 300Ah Image"
+ },
+ "description": "The EcoCharge EC-5000 Lithium-Ion Battery is a high-capacity, 5000mAh battery designed for performance and sustainability. Manufactured with responsibly sourced materials and a 95% recyclability rate, it reduces lifecycle emissions through eco-friendly production and verified recycling programs.",
+ "productCategory": [
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary cells",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ },
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary batteries",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ }
+ ],
+ "furtherInformation": [
+ {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/product-information/1234567",
+ "linkName": "Name of document that is further information"
+ },
+ {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/product-information/1234567",
+ "linkName": "Name of additional document that is further information"
+ }
+ ],
+ "producedByParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.example-company.com/party/6789",
+ "name": "Example Manufacturing Co."
+ },
+ "producedAtFacility": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.example-company.com/facility/123",
+ "name": "Green Acres Battery Factory"
+ },
+ "dimensions": {
+ "type": [
+ "Dimension"
+ ],
+ "weight": {
+ "value": 10,
+ "unit": "kg"
+ },
+ "length": {
+ "value": 90,
+ "unit": "mm"
+ },
+ "width": {
+ "value": 60,
+ "unit": "mm"
+ },
+ "height": {
+ "value": 10,
+ "unit": "mm"
+ },
+ "volume": {
+ "value": 7.5,
+ "unit": "L"
+ }
+ },
+ "characteristic": {
+ "Battery status": "Recycled",
+ "Battery cell type": "Prismatic",
+ "Number of cells per battery": "180",
+ "Total energy": "100kwh"
+ },
+ "productionDate": "15 August 2024",
+ "countryOfProduction": "Australia",
+ "granularityLevel": "item",
+ "dueDiligenceDeclaration": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/due-diligence/1234567",
+ "linkName": "Due Diligence Declaration"
+ },
+ "materialsProvenance": [
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 10,
+ "hazardous": true,
+ "materialSafetyInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example.com/safety-info/lithium-spodumene.pdf",
+ "linkName": "Material Safety Data Sheet",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/safetyData"
+ }
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ }
+ ],
+ "conformityClaim": [
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": true,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ }
+ ],
+ "circularityScorecard": {
+ "type": [
+ "CircularityPerformance"
+ ],
+ "recyclingInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/recycling/1234567",
+ "linkName": "Recycling Information"
+ },
+ "repairInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/repair/1234567",
+ "linkName": "Repair Instructions"
+ },
+ "recyclableContent": 67,
+ "recycledContent": 86,
+ "utilityFactor": 1.2,
+ "materialCircularityIndicator": 0.67
+ },
+ "emissionsScorecard": {
+ "type": [
+ "EmissionsPerformance"
+ ],
+ "carbonFootprint": 12.5,
+ "declaredUnit": "kg",
+ "operationalScope": "CradleToGate",
+ "primarySourcedRatio": 75,
+ "reportingStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.ifrs.org/standards/issb/s2",
+ "name": "WBSCD Pathfinder framework - V.2.0",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.ifrs.org/issuing-party/123",
+ "name": "International Financial Reporting Standards Foundation",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.ifrs.org/issuing-party/",
+ "name": "IFRS Issuing Party"
+ }
+ },
+ "issueDate": "2024-04-25"
+ }
+ },
+ "traceabilityInformation": {
+ "valueChainProcess": "Spinning",
+ "verifiedRatio": 0.5,
+ "traceabilityEvent": [
+ {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "Transaction Event",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ }
+ ]
+ }
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ },
+ "constructData": {
+ "mappingFields": [
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/traceabilityInformation/traceabilityEvent/0/linkURL"
+ }
+ ],
+ "dummyFields": [
+ {
+ "path": "/traceabilityInformation/0/eventType",
+ "data": "transaction"
+ }
+ ],
+ "generationFields": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "processDPP",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Fumigation and Freight Forwarding Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "dpp": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dpp/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " Digital Product Passport {{#if credentialSubject.characteristic}}
Characteristics
{{#each credentialSubject.characteristic}}
{{/each}}
{{/if}}
{{credentialSubject.circularityScorecard.recyclableContent}}% Recyclable content
{{credentialSubject.circularityScorecard.recycledContent}}% Recycled content
{{credentialSubject.circularityScorecard.utilityFactor}} Utility factor
{{credentialSubject.circularityScorecard.materialCircularityIndicator}} Material circularity*
*The Material Circularity Indicator provides an overall circularity score which is a function of all three of the earlier measures.
Emissions Scorecard The Emissions Scorecard gives a clear snapshot of the product's greenhouse gas (GHG) emissions performance, providing a single indicator to assess its overall environmental impact.
{{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}}
Co2Eq
Scope includes {{credentialSubject.emissionsScorecard.operationalScope}}
Primary sourced ratio* {{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary sources
Issue date {{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
* The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly collected from actual sources, rather than being based on estimates.
Production
Product category {{#each credentialSubject.productCategory}}{{name}}{{#unless @last}},{{/unless}} {{/each}}
Date produced {{credentialSubject.productionDate}}
Country {{credentialSubject.countryOfProduction}}
Dimensions Weight: {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} Length: {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} Width: {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} Height: {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} Volume: {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}}
Product composition
A complete list of materials that make up the composition of this product.
{{#each credentialSubject.materialsProvenance}}
{{/each}}
{{!-- start: Supply chain due diligence report --}} Supply chain due diligence report
{{!-- end: Supply chain due diligence report --}} {{credentialSubject.traceabilityInformation.valueChainProcess}}
Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
{{#each credentialSubject.traceabilityInformation.traceabilityEvent}}
{{/each}}
Passport issued by Organisation {{issuer.name}}
This Digital Product Passport (DPP) is a digital record of the product's sustainability and environmental performance, ensuring transparency and accountability in line with UNTP standards. The DPP can be verified at any time using the QR code or visiting www.untp-certification.org with the passport ID.
PRODUCT PASSPORT
{{credentialSubject.name}}
Batch: {{credentialSubject.batchNumber}}
Serial: {{credentialSubject.serialNumber}}
{{credentialSubject.description}}
{{#each credentialSubject.furtherInformation}}
{{linkName}}
{{/each}}
{{#if credentialSubject.characteristic}}
{{#each credentialSubject.characteristic}}
{{/each}}
{{/if}}
The circularity Scorecard provides a simple high level summary of circularity performance of the product.
{{credentialSubject.circularityScorecard.recyclableContent}}%
Recyclable content
{{credentialSubject.circularityScorecard.recycledContent}}%
Recycled content
{{credentialSubject.circularityScorecard.utilityFactor}}
Utility factor
{{credentialSubject.circularityScorecard.materialCircularityIndicator}}
Material circularity*
*The Material Circularity Indicator provides an overall circularity score which is a function of all three of the earlier measures.
The Emissions Scorecard gives a clear snapshot of the product's greenhouse gas (GHG) emissions performance, providing a single indicator to assess its overall environmental impact.
{{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}}
Co2Eq
Scope includes
{{credentialSubject.emissionsScorecard.operationalScope}}
Primary sourced ratio*
{{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary sources
The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly collected from actual sources, rather than being based on estimates.
Issue date
{{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
Product category
{{#each credentialSubject.productCategory}}{{name}}{{#unless @last}},{{/unless}} {{/each}}
Date produced
{{credentialSubject.productionDate}}
Country
{{credentialSubject.countryOfProduction}}
Dimensions
Weight: {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} Length: {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} Width: {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} Height: {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} Volume: {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}}
The Product Composition List details the materials and components used in the product, providing transparency on the origin and nature of each element.
{{#each credentialSubject.materialsProvenance}}
{{massFraction}}%
{{massAmount.value}}{{massAmount.unit}} {{name}}
Recycled {{#if recycledAmount}}{{recycledAmount}}{{else}}0{{/if}}%
Hazard {{#if hazardous}}Yes{{else}}No{{/if}}
{{/each}}
{{!-- start: Supply chain due diligence report --}}
Supply chain due diligence report
{{!-- end: Supply chain due diligence report --}}
{{credentialSubject.traceabilityInformation.valueChainProcess}}
Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
{{#each credentialSubject.traceabilityInformation.traceabilityEvent}}
{{/each}}
This Digital Product Passport (DPP) is a digital record of the product’s sustainability and environmental performance, ensuring transparency and accountability in line with UNTP standards. The DPP can be verified at any time using the QR code or visiting www.untp-certification.org with the passport ID.
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalProductPassport"
+ ],
+ "dlrLinkTitle": "Cherries Product Passport",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/id"
+ }
+ ]
+ },
+ {
+ "name": "mergeToLocalStorage",
+ "parameters": [
+ {
+ "storageKey": "CherriesFarm_dpps",
+ "objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Move to Next Facility",
+ "id": "transaction_product",
+ "components": [
+ {
+ "name": "LocalStorageLoader",
+ "type": "EntryData",
+ "props": {
+ "storageKey": "CherriesFarm_dpps",
+ "nestedComponents": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/traceabilityEvents/v/working/artefacts/jsonSchemas/TransactionEvent.json?class=TransactionEvent"
+ }
+ },
+ "constructData": {
+ "mappingFields": [
+ {
+ "sourcePath": "/decodedEnvelopedVC/credentialSubject/id",
+ "destinationPath": "/epcList/index/name"
+ },
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/epcList/index/id"
+ },
+ {
+ "sourcePath": "/decodedEnvelopedVC/credentialSubject/name",
+ "destinationPath": "/quantityList/0/productName"
+ },
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/quantityList/0/productId"
+ }
+ ],
+ "dummyFields": [
+ {
+ "path": "/type",
+ "data": [
+ "TransactionEvent",
+ "Event"
+ ]
+ },
+ {
+ "path": "/id",
+ "data": "https://events.sample.com/01/09359502000034/21/123456"
+ },
+ {
+ "path": "/processType",
+ "data": "Weaving"
+ },
+ {
+ "path": "/eventTime",
+ "data": "2024-09-01T12:00:00"
+ },
+ {
+ "path": "/action",
+ "data": "add"
+ },
+ {
+ "path": "/disposition",
+ "data": "https://ref.gs1.org/cbv/Disp-active"
+ },
+ {
+ "path": "/bizStep",
+ "data": "https://ref.gs1.org/cbv/BizStep-commissioning"
+ },
+ {
+ "path": "/bizLocation",
+ "data": "https://id.gs1.org/414/9520123456788"
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/type",
+ "data": [
+ "Item"
+ ]
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/id",
+ "data": "https://id.gs1.org/01/09520123456788/21/12345"
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/name",
+ "data": "EV battery 300Ah."
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/dataProcessingMethod",
+ "data": "https://standards.org/sensorMethod#1234"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/time",
+ "data": "2024-07-24T12:00:00"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/sensorType",
+ "data": "https://samplesensors.com/model1234"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/value",
+ "data": 25
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/uom",
+ "data": "KGM"
+ },
+ {
+ "path": "/sensorElementList/0/sensorIntegrityProof",
+ "data": "https://jargon.sh"
+ },
+ {
+ "path": "/sourcePartyId",
+ "data": "https://abr.business.gov.au/ABN/View?abn=90664869327"
+ },
+ {
+ "path": "/destinationPartyId",
+ "data": "https://abr.business.gov.au/ABN/View?abn=90664869327"
+ },
+ {
+ "path": "/bizTransaction",
+ "data": "https://ref.gs1.org/cbv/BTT-prodorder"
+ },
+ {
+ "path": "/epcList/0/type",
+ "data": [
+ "Item"
+ ]
+ },
+ {
+ "path": "/quantityList/0/quantity",
+ "data": 20
+ },
+ {
+ "path": "/quantityList/0/uom",
+ "data": "KGM"
+ }
+ ],
+ "generationFields": [
+ {
+ "path": "/eventTime",
+ "handler": "generateCurrentDatetime"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {
+ "includeDownload": true,
+ "downloadFileName": "transaction"
+ }
+ }
+ ],
+ "services": [
+ {
+ "name": "convertObjectToArray1Item",
+ "parameters": [
+ {
+ "path": "/data"
+ }
+ ]
+ },
+ {
+ "name": "processTransactionEvent",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Fumigation and Freight Forwarding Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "traceabilityEvent": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dte/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " {{#each credentialSubject}}
{{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalTraceabilityEvent"
+ ],
+ "dlrLinkTitle": "Transaction Event",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/0/id",
+ "localStorageParams": {
+ "storageKey": "CherriesFarm_dpps",
+ "keyPath": "/0/epcList/index/name"
+ }
+ }
+ ]
+ },
+ {
+ "name": "mergeToLocalStorage",
+ "parameters": [
+ {
+ "storageKey": "orchard_facility_transaction_event",
+ "objectKeyPath": "/decodedEnvelopedVC/credentialSubject/0/id"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Airport Terminal Facility",
+ "type": "producer",
+ "assets": {
+ "logo": "Cherries-farm-logo.webp",
+ "brandTitle": "Airport Terminal"
+ },
+ "styles": {
+ "primaryColor": "#b5651d",
+ "secondaryColor": "#391561",
+ "tertiaryColor": "#ffffff"
+ },
+ "features": [
+ {
+ "name": "Issue DPP",
+ "id": "produce_product",
+ "components": [
+ {
+ "name": "LocalStorageLoader",
+ "type": "EntryData",
+ "props": {
+ "storageKey": "orchard_facility_transaction_event",
+ "nestedComponents": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/DigitalProductPassport/v/working/artefacts/jsonSchemas/Product.json?class=Product"
+ },
+ "data": {
+ "type": [
+ "Product"
+ ],
+ "id": "https://example.com/01/09359502000034",
+ "name": "EcoCharge Lithium-Ion Battery",
+ "registeredId": "095201234",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.gs1.org/01/",
+ "name": "Global Trade Identification Number (GTIN)"
+ },
+ "serialNumber": "12345678",
+ "batchNumber": "6789",
+ "productImage": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://c.animaapp.com/b3vf2M20/img/pp-header@2x.png",
+ "linkName": "EV Battery 300Ah Image"
+ },
+ "description": "The EcoCharge EC-5000 Lithium-Ion Battery is a high-capacity, 5000mAh battery designed for performance and sustainability. Manufactured with responsibly sourced materials and a 95% recyclability rate, it reduces lifecycle emissions through eco-friendly production and verified recycling programs.",
+ "productCategory": [
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary cells",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ },
+ {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/46410",
+ "code": "46410",
+ "name": "Primary batteries",
+ "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/",
+ "schemeName": "UN Central Product Classification (CPC)"
+ }
+ ],
+ "furtherInformation": [
+ {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/product-information/1234567",
+ "linkName": "Name of document that is further information"
+ },
+ {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/product-information/1234567",
+ "linkName": "Name of additional document that is further information"
+ }
+ ],
+ "producedByParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.example-company.com/party/6789",
+ "name": "Example Manufacturing Co."
+ },
+ "producedAtFacility": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.example-company.com/facility/123",
+ "name": "Green Acres Battery Factory"
+ },
+ "dimensions": {
+ "type": [
+ "Dimension"
+ ],
+ "weight": {
+ "value": 10,
+ "unit": "kg"
+ },
+ "length": {
+ "value": 90,
+ "unit": "mm"
+ },
+ "width": {
+ "value": 60,
+ "unit": "mm"
+ },
+ "height": {
+ "value": 10,
+ "unit": "mm"
+ },
+ "volume": {
+ "value": 7.5,
+ "unit": "L"
+ }
+ },
+ "characteristic": {
+ "Battery status": "Recycled",
+ "Battery cell type": "Prismatic",
+ "Number of cells per battery": "180",
+ "Total energy": "100kwh"
+ },
+ "productionDate": "15 August 2024",
+ "countryOfProduction": "Australia",
+ "granularityLevel": "item",
+ "dueDiligenceDeclaration": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/due-diligence/1234567",
+ "linkName": "Due Diligence Declaration"
+ },
+ "materialsProvenance": [
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 10,
+ "hazardous": true,
+ "materialSafetyInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example.com/safety-info/lithium-spodumene.pdf",
+ "linkName": "Material Safety Data Sheet",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/safetyData"
+ }
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ },
+ {
+ "type": [
+ "Material"
+ ],
+ "name": "Material",
+ "originCountry": "AU",
+ "materialType": {
+ "type": [
+ "Classification"
+ ],
+ "id": "https://unfc.org/material-type/Lithium",
+ "name": "Lithium"
+ },
+ "massFraction": 20,
+ "massAmount": {
+ "value": 1,
+ "unit": "kg"
+ },
+ "recycledAmount": 0,
+ "hazardous": false
+ }
+ ],
+ "conformityClaim": [
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": true,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ },
+ {
+ "type": [
+ "Claim",
+ "Declaration"
+ ],
+ "assessmentDate": "2024-04-25",
+ "declaredValue": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ },
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "GHG emissions intensity",
+ "metricValue": {
+ "value": 1.5,
+ "unit": "kg"
+ },
+ "score": "1.2",
+ "accuracy": 0.8
+ }
+ ],
+ "id": "https://products.example-company.com/09520123456788/declarations/12345",
+ "referenceStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.iso.org/standard/60857.html",
+ "name": "Standard",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://iso.org/issuing-party/123",
+ "name": "International Organization"
+ },
+ "issueDate": "2023-12-05"
+ },
+ "referenceRegulation": {
+ "type": [
+ "Regulation"
+ ],
+ "id": "https://www.legislation.gov.au/F2008L02309/latest/versions",
+ "name": "National Greenhouse",
+ "jurisdictionCountry": "Australia",
+ "administeredBy": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://gov.au/admin-body/12345",
+ "name": "Australian Government"
+ },
+ "effectiveDate": "2024-03-20"
+ },
+ "assessmentCriteria": [
+ {
+ "type": [
+ "Criterion"
+ ],
+ "id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly",
+ "name": "Battery Assembly Guidelines",
+ "thresholdValues": [
+ {
+ "type": [
+ "Metric"
+ ],
+ "metricName": "Minimum compressive strength",
+ "metricValue": {
+ "value": 500,
+ "unit": "MPA"
+ }
+ }
+ ]
+ }
+ ],
+ "conformance": false,
+ "conformityTopic": "environment.energy",
+ "conformityEvidence": {
+ "type": [
+ "SecureLink",
+ "Link"
+ ],
+ "linkURL": "https://example-certifier.com/evidence/1234567.json",
+ "hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
+ "hashMethod": "SHA-256",
+ "linkName": "Declaration link name",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "encryptionMethod": "AES"
+ }
+ }
+ ],
+ "circularityScorecard": {
+ "type": [
+ "CircularityPerformance"
+ ],
+ "recyclingInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/recycling/1234567",
+ "linkName": "Recycling Information"
+ },
+ "repairInformation": {
+ "type": [
+ "Link"
+ ],
+ "linkURL": "https://example-company.com/repair/1234567",
+ "linkName": "Repair Instructions"
+ },
+ "recyclableContent": 67,
+ "recycledContent": 86,
+ "utilityFactor": 1.2,
+ "materialCircularityIndicator": 0.67
+ },
+ "emissionsScorecard": {
+ "type": [
+ "EmissionsPerformance"
+ ],
+ "carbonFootprint": 12.5,
+ "declaredUnit": "kg",
+ "operationalScope": "CradleToGate",
+ "primarySourcedRatio": 75,
+ "reportingStandard": {
+ "type": [
+ "Standard"
+ ],
+ "id": "https://www.ifrs.org/standards/issb/s2",
+ "name": "WBSCD Pathfinder framework - V.2.0",
+ "issuingParty": {
+ "type": [
+ "Identifier"
+ ],
+ "id": "https://id.ifrs.org/issuing-party/123",
+ "name": "International Financial Reporting Standards Foundation",
+ "registeredId": "90664869327",
+ "idScheme": {
+ "type": [
+ "IdentifierScheme"
+ ],
+ "id": "https://id.ifrs.org/issuing-party/",
+ "name": "IFRS Issuing Party"
+ }
+ },
+ "issueDate": "2024-04-25"
+ }
+ },
+ "traceabilityInformation": {
+ "valueChainProcess": "Spinning",
+ "verifiedRatio": 0.5,
+ "traceabilityEvent": [
+ {
+ "linkURL": "https://files.example-certifier.com/1234567.json",
+ "linkName": "Transaction Event",
+ "linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
+ "hashDigest": "6239119",
+ "hashMethod": "SHA-256",
+ "encryptionMethod": "AES"
+ }
+ ]
+ }
+ },
+ "className": "json-form",
+ "style": {
+ "margin": "40px auto",
+ "paddingTop": "40px",
+ "width": "80%"
+ }
+ },
+ "constructData": {
+ "mappingFields": [
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/traceabilityInformation/traceabilityEvent/0/linkURL"
+ }
+ ],
+ "dummyFields": [
+ {
+ "path": "/traceabilityInformation/0/eventType",
+ "data": "transaction"
+ }
+ ],
+ "generationFields": []
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {}
+ }
+ ],
+ "services": [
+ {
+ "name": "processDPP",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Airport Terminal Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "dpp": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dpp/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " Digital Product Passport {{#if credentialSubject.characteristic}}
Characteristics
{{#each credentialSubject.characteristic}}
{{/each}}
{{/if}}
{{credentialSubject.circularityScorecard.recyclableContent}}% Recyclable content
{{credentialSubject.circularityScorecard.recycledContent}}% Recycled content
{{credentialSubject.circularityScorecard.utilityFactor}} Utility factor
{{credentialSubject.circularityScorecard.materialCircularityIndicator}} Material circularity*
*The Material Circularity Indicator provides an overall circularity score which is a function of all three of the earlier measures.
Emissions Scorecard The Emissions Scorecard gives a clear snapshot of the product's greenhouse gas (GHG) emissions performance, providing a single indicator to assess its overall environmental impact.
{{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}}
Co2Eq
Scope includes {{credentialSubject.emissionsScorecard.operationalScope}}
Primary sourced ratio* {{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary sources
Issue date {{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
* The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly collected from actual sources, rather than being based on estimates.
Production
Product category {{#each credentialSubject.productCategory}}{{name}}{{#unless @last}},{{/unless}} {{/each}}
Date produced {{credentialSubject.productionDate}}
Country {{credentialSubject.countryOfProduction}}
Dimensions Weight: {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} Length: {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} Width: {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} Height: {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} Volume: {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}}
Product composition
A complete list of materials that make up the composition of this product.
{{#each credentialSubject.materialsProvenance}}
{{/each}}
{{!-- start: Supply chain due diligence report --}} Supply chain due diligence report
{{!-- end: Supply chain due diligence report --}} {{credentialSubject.traceabilityInformation.valueChainProcess}}
Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
{{#each credentialSubject.traceabilityInformation.traceabilityEvent}}
{{/each}}
Passport issued by Organisation {{issuer.name}}
This Digital Product Passport (DPP) is a digital record of the product's sustainability and environmental performance, ensuring transparency and accountability in line with UNTP standards. The DPP can be verified at any time using the QR code or visiting www.untp-certification.org with the passport ID.
PRODUCT PASSPORT
{{credentialSubject.name}}
Batch: {{credentialSubject.batchNumber}}
Serial: {{credentialSubject.serialNumber}}
{{credentialSubject.description}}
{{#each credentialSubject.furtherInformation}}
{{linkName}}
{{/each}}
{{#if credentialSubject.characteristic}}
{{#each credentialSubject.characteristic}}
{{/each}}
{{/if}}
The circularity Scorecard provides a simple high level summary of circularity performance of the product.
{{credentialSubject.circularityScorecard.recyclableContent}}%
Recyclable content
{{credentialSubject.circularityScorecard.recycledContent}}%
Recycled content
{{credentialSubject.circularityScorecard.utilityFactor}}
Utility factor
{{credentialSubject.circularityScorecard.materialCircularityIndicator}}
Material circularity*
*The Material Circularity Indicator provides an overall circularity score which is a function of all three of the earlier measures.
The Emissions Scorecard gives a clear snapshot of the product's greenhouse gas (GHG) emissions performance, providing a single indicator to assess its overall environmental impact.
{{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}}
Co2Eq
Scope includes
{{credentialSubject.emissionsScorecard.operationalScope}}
Primary sourced ratio*
{{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary sources
The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly collected from actual sources, rather than being based on estimates.
Issue date
{{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
Product category
{{#each credentialSubject.productCategory}}{{name}}{{#unless @last}},{{/unless}} {{/each}}
Date produced
{{credentialSubject.productionDate}}
Country
{{credentialSubject.countryOfProduction}}
Dimensions
Weight: {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} Length: {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} Width: {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} Height: {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} Volume: {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}}
The Product Composition List details the materials and components used in the product, providing transparency on the origin and nature of each element.
{{#each credentialSubject.materialsProvenance}}
{{massFraction}}%
{{massAmount.value}}{{massAmount.unit}} {{name}}
Recycled {{#if recycledAmount}}{{recycledAmount}}{{else}}0{{/if}}%
Hazard {{#if hazardous}}Yes{{else}}No{{/if}}
{{/each}}
{{!-- start: Supply chain due diligence report --}}
Supply chain due diligence report
{{!-- end: Supply chain due diligence report --}}
{{credentialSubject.traceabilityInformation.valueChainProcess}}
Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
{{#each credentialSubject.traceabilityInformation.traceabilityEvent}}
{{/each}}
This Digital Product Passport (DPP) is a digital record of the product’s sustainability and environmental performance, ensuring transparency and accountability in line with UNTP standards. The DPP can be verified at any time using the QR code or visiting www.untp-certification.org with the passport ID.
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalProductPassport"
+ ],
+ "dlrLinkTitle": "Cherries Product Passport",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/id"
+ }
+ ]
+ },
+ {
+ "name": "mergeToLocalStorage",
+ "parameters": [
+ {
+ "storageKey": "CherriesFarm_dpps",
+ "objectKeyPath": "/decodedEnvelopedVC/credentialSubject/id"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Move to Next Facility",
+ "id": "transaction_product",
+ "components": [
+ {
+ "name": "LocalStorageLoader",
+ "type": "EntryData",
+ "props": {
+ "storageKey": "CherriesFarm_dpps",
+ "nestedComponents": [
+ {
+ "name": "JsonForm",
+ "type": "EntryData",
+ "props": {
+ "schema": {
+ "url": "https://jargon.sh/user/unece/traceabilityEvents/v/working/artefacts/jsonSchemas/TransactionEvent.json?class=TransactionEvent"
+ }
+ },
+ "constructData": {
+ "mappingFields": [
+ {
+ "sourcePath": "/decodedEnvelopedVC/credentialSubject/id",
+ "destinationPath": "/epcList/index/name"
+ },
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/epcList/index/id"
+ },
+ {
+ "sourcePath": "/decodedEnvelopedVC/credentialSubject/name",
+ "destinationPath": "/quantityList/0/productName"
+ },
+ {
+ "sourcePath": "/linkResolver",
+ "destinationPath": "/quantityList/0/productId"
+ }
+ ],
+ "dummyFields": [
+ {
+ "path": "/type",
+ "data": [
+ "TransactionEvent",
+ "Event"
+ ]
+ },
+ {
+ "path": "/id",
+ "data": "https://events.sample.com/01/09359502000034/21/123456"
+ },
+ {
+ "path": "/processType",
+ "data": "Weaving"
+ },
+ {
+ "path": "/eventTime",
+ "data": "2024-09-01T12:00:00"
+ },
+ {
+ "path": "/action",
+ "data": "add"
+ },
+ {
+ "path": "/disposition",
+ "data": "https://ref.gs1.org/cbv/Disp-active"
+ },
+ {
+ "path": "/bizStep",
+ "data": "https://ref.gs1.org/cbv/BizStep-commissioning"
+ },
+ {
+ "path": "/bizLocation",
+ "data": "https://id.gs1.org/414/9520123456788"
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/type",
+ "data": [
+ "Item"
+ ]
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/id",
+ "data": "https://id.gs1.org/01/09520123456788/21/12345"
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/device/name",
+ "data": "EV battery 300Ah."
+ },
+ {
+ "path": "/sensorElementList/0/sensorMetadata/dataProcessingMethod",
+ "data": "https://standards.org/sensorMethod#1234"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/time",
+ "data": "2024-07-24T12:00:00"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/sensorType",
+ "data": "https://samplesensors.com/model1234"
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/value",
+ "data": 25
+ },
+ {
+ "path": "/sensorElementList/0/sensorReport/0/uom",
+ "data": "KGM"
+ },
+ {
+ "path": "/sensorElementList/0/sensorIntegrityProof",
+ "data": "https://jargon.sh"
+ },
+ {
+ "path": "/sourcePartyId",
+ "data": "https://abr.business.gov.au/ABN/View?abn=90664869327"
+ },
+ {
+ "path": "/destinationPartyId",
+ "data": "https://abr.business.gov.au/ABN/View?abn=90664869327"
+ },
+ {
+ "path": "/bizTransaction",
+ "data": "https://ref.gs1.org/cbv/BTT-prodorder"
+ },
+ {
+ "path": "/epcList/0/type",
+ "data": [
+ "Item"
+ ]
+ },
+ {
+ "path": "/quantityList/0/quantity",
+ "data": 20
+ },
+ {
+ "path": "/quantityList/0/uom",
+ "data": "KGM"
+ }
+ ],
+ "generationFields": [
+ {
+ "path": "/eventTime",
+ "handler": "generateCurrentDatetime"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "CustomButton",
+ "type": "Submit",
+ "props": {
+ "includeDownload": true,
+ "downloadFileName": "transaction"
+ }
+ }
+ ],
+ "services": [
+ {
+ "name": "convertObjectToArray1Item",
+ "parameters": [
+ {
+ "path": "/data"
+ }
+ ]
+ },
+ {
+ "name": "processTransactionEvent",
+ "parameters": [
+ {
+ "vckit": {
+ "vckitAPIUrl": "http://localhost:3332/v2",
+ "issuer": {
+ "id": "did:web:uncefact.github.io:project-vckit:test-and-development",
+ "name": "Airport Terminal Facility"
+ },
+ "headers": {
+ "Authorization": "Bearer test123"
+ }
+ },
+ "traceabilityEvent": {
+ "context": [
+ "https://vocabulary.uncefact.org/untp/dte/0.5.0/"
+ ],
+ "renderTemplate": [
+ {
+ "template": " {{#each credentialSubject}}
{{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{#each sensorElementList}}
{{sensorMetadata.device.name}}
{{#each sensorReport}}
{{/each}}
{{/each}}
{{!-- TODO: to be confirmed, since the SensorElementList.sensorIntegrityProof duplicate --}} {{!-- being assumed --}}
Event location information {{/each}}
",
+ "@type": "WebRenderingTemplate2022"
+ }
+ ],
+ "type": [
+ "DigitalTraceabilityEvent"
+ ],
+ "dlrLinkTitle": "Transaction Event",
+ "dlrIdentificationKeyType": "gtin",
+ "dlrVerificationPage": "http://localhost:3003/verify"
+ },
+ "dlr": {
+ "dlrAPIUrl": "http://localhost:3000",
+ "dlrAPIKey": "test123",
+ "namespace": "gs1",
+ "linkRegisterPath": "/api/resolver"
+ },
+ "storage": {
+ "url": "http://localhost:3334/v1/documents",
+ "params": {
+ "resultPath": "/uri",
+ "bucket": "verifiable-credentials"
+ },
+ "options": {
+ "method": "POST",
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+ },
+ "identifierKeyPath": "/0/id",
+ "localStorageParams": {
+ "storageKey": "CherriesFarm_dpps",
+ "keyPath": "/0/epcList/index/name"
+ }
+ }
+ ]
+ },
+ {
+ "name": "mergeToLocalStorage",
+ "parameters": [
+ {
+ "storageKey": "orchard_facility_transaction_event",
+ "objectKeyPath": "/decodedEnvelopedVC/credentialSubject/0/id"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
"identifyProvider": {
"type": "gs1",
- "url": "http://localhost:3333/products"
+ "url": "http://localhost:3001",
+ "namespace": "gs1"
+ },
+ "defaultVerificationServiceLink": {
+ "title": "Default Verification Service",
+ "context": "Default Verification Service",
+ "type": "application/json",
+ "href": "http://localhost:3332/agent/routeVerificationCredential",
+ "hreflang": [
+ "en"
+ ],
+ "headers": {
+ "Authorization": "Bearer test123",
+ "Content-Type": "application/json"
+ }
}
}
\ No newline at end of file