diff --git a/app-config.json b/app-config.json index a0b1161d..965bded0 100644 --- a/app-config.json +++ b/app-config.json @@ -1,39 +1,116 @@ { - "name": "Battery Supply Chain Traceability", + "name": "Cotton Supply Chain Traceability", "styles": { - "primaryColor": "rgb(35, 138, 186)", - "secondaryColor": "black", - "tertiaryColor": "black" + "primaryColor": "#008CBA", + "secondaryColor": "#E0F7FA", + "tertiaryColor": "#FFFFFF" }, "generalFeatures": [ { "name": "General features", "type": "", "styles": { - "primaryColor": "rgb(35, 138, 186)", - "secondaryColor": "black", - "tertiaryColor": "black" + "primaryColor": "#007bff", + "secondaryColor": "#f8f9fa", + "tertiaryColor": "#212529" }, - "features": [] + "features": [ + { + "id": "LvogK42_fNoIip81UoAcU", + "name": "New Featureddd", + "components": [ + { + "name": "JsonForm", + "type": "EntryData", + "props": { + "schema": {}, + "constructData": {}, + "data": {}, + "style": {}, + "className": "" + } + } + ], + "services": [ + { + "name": "processDPP", + "parameters": [ + { + "vckit": { + "vckitAPIUrl": "http://localhost:3332/v2", + "issuer": { + "id": "did:web:uncefact.github.io:project-vckit:test-and-development", + "name": "ACME Corp" + }, + "headers": { + "Authorization": "Bearer test123" + } + }, + "dpp": { + "context": [ + "https://vocabulary.uncefact.org/untp/dpp/0.5.0/" + ], + "renderTemplate": [ + { + "template": "\n\n\n
\n \n \n \nPRODUCT PASSPORT
\n{{this}}
\nThe circularity Scorecard provides a simple high level summary of circularity performance of the product.
\nRecyclable content
\nRecycled content
\nUtility factor
\nMaterial circularity*
\n*The Material Circularity Indicator provides an overall circularity score which is a function of all three of\n the earlier measures.
\nThe Emissions Scorecard gives a clear snapshot of the product's greenhouse\n gas (GHG) emissions performance, providing a single indicator to assess its overall environmental impact.
\n\n {{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}}\n
\nCo2Eq
\n{{credentialSubject.emissionsScorecard.operationalScope}}
\n{{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary sources
\n{{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
\nThe Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly collected from\n actual sources, rather than being based on estimates.
\n\n {{referenceRegulation.name}} administered in {{referenceRegulation.jurisdictionCountry}} by \n {{referenceRegulation.administeredBy.name}}\n
\n\n {{referenceStandard.name}} issued by \n {{referenceStandard.issuingParty.name}}\n
\n{{metricName}} is {{metricValue.value}}{{metricValue.unit}}
\nScore: {{score}} | Accuracy {{accuracy}}
\n{{#each credentialSubject.productCategory}}{{name}}{{#unless @last}},{{/unless}}\n {{/each}}
\n{{credentialSubject.productionDate}}
\n{{credentialSubject.countryOfProduction}}
\n\n Weight: {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}}\n Length: {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}}\n Width: {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}}\n Height: {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}}\n Volume: {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}}\n
\nProduct composition
\n\n A complete list of materials that make up the composition of this product.\n
\n{{massFraction}}%
\n{{massAmount.value}}{{massAmount.unit}} {{name}}
\nRecycled {{recycledAmount}}%
\nHazard {{#if hazardous}}Yes{{else}}No{{/if}}
\nHistory
\n{{credentialSubject.traceabilityInformation.valueChainProcess}}
\nVerified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
\n{{issuer.name}}
\n{{validFrom}}
\n{{validUntil}}
\n\n {{credentialSubject.description}}\n
\n {{#each credentialSubject.furtherInformation}}\n \n\n The circularity Scorecard provides a simple high level summary of circularity\n performance of the product.\n
\n\n *The Material Circularity Indicator provides an overall circularity score which is a function of all three\n of the earlier measures.\n
\n\n The Emissions Scorecard gives a clear snapshot of the product's greenhouse gas (GHG) emissions performance,\n providing a single indicator to assess its overall environmental impact.\n
\n\n Co2Eq\n
\n\n The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is\n directly collected from actual sources, rather than being based on estimates.\n
\n\n {{referenceRegulation.name}} administered in {{referenceRegulation.jurisdictionCountry}} by \n {{referenceRegulation.administeredBy.name}}\n
\n\n {{referenceStandard.name}} issued by \n {{referenceStandard.issuingParty.name}}\n
\nScore: {{score}} | Accuracy {{accuracy}}
\n\n The Product Composition List details the materials and components used in the product,\n providing transparency on the origin and nature of each element.\n
\n{{credentialSubject.traceabilityInformation.valueChainProcess}}
\nVerified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}
\n\n This Digital Product Passport (DPP) is a digital record of the product’s\n sustainability and environmental performance, ensuring transparency and accountability\n in line with UNTP standards. The DPP can be verified at any time using the QR code or\n visiting\n \n www.untp-certification.org\n with the passport ID.\n
\n