diff --git a/_config_preview.yml b/_config_preview.yml index 5c83b2b4e..86915cfa4 100644 --- a/_config_preview.yml +++ b/_config_preview.yml @@ -5,8 +5,6 @@ dest: "https://test.uncefact.org" dataSet: "dataset:'22A'" versions: untp-dpp: 0.3.7 - cc: draft - te: draft markdown: kramdown kramwdown: parse_block_html: true diff --git a/dpp-context.jsonld b/dpp-context.jsonld deleted file mode 100644 index 21a6f4337..000000000 --- a/dpp-context.jsonld +++ /dev/null @@ -1,644 +0,0 @@ -{ - "@context": { - "untp-dpp": "https://test.uncefact.org/vocabulary/untp/dpp/", - "untp-core": "https://test.uncefact.org/vocabulary/untp/core/", - "schema": "https://schema.org/", - "xsd": "http://www.w3.org/2001/XMLSchema#", - "@protected": true, - "@version": 1.1, - "Classification": { - "@protected": true, - "@id": "untp-core:Classification", - "@type": "@id", - "@context": { - "classificationSchemeID": { - "@id": "untp-core:classificationSchemeID", - "@type": "xsd:string" - }, - "classificationSchemeName": { - "@id": "untp-core:classificationSchemeName", - "@type": "xsd:string" - }, - "classifierValue": { - "@id": "untp-core:classifierValue", - "@type": "xsd:string" - }, - "classifierName": { - "@id": "untp-core:classifierName", - "@type": "xsd:string" - } - } - }, - "Identifier": { - "@protected": true, - "@id": "untp-core:Identifier", - "@type": "@id", - "@context": { - "idScheme": { - "@id": "untp-core:idScheme", - "@type": "xsd:string" - }, - "idSchemeName": { - "@id": "untp-core:idSchemeName", - "@type": "xsd:string" - }, - "idValue": { - "@id": "untp-core:idValue", - "@type": "xsd:string" - } - } - }, - "Party": { - "@protected": true, - "@id": "untp-core:Party", - "@type": "@id", - "@context": { - "idScheme": { - "@id": "untp-core:idScheme", - "@type": "xsd:string" - }, - "idSchemeName": { - "@id": "untp-core:idSchemeName", - "@type": "xsd:string" - }, - "idValue": { - "@id": "untp-core:idValue", - "@type": "xsd:string" - }, - "partyName": { - "@id": "untp-dpp:partyName", - "@type": "schemaorg:name" - }, - "registrationCountry": { - "@id": "untp-core:registrationCountry", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/countryCode#" - } - }, - "organisationWebsite": { - "@id": "untp-core:organisationWebsite", - "@type": "xsd:string" - }, - "industryCategory": { - "@id": "untp-dpp:industryCategory", - "@type": "untp-core:Classification" - }, - "otherIdentifiers": { - "@id": "untp-dpp:otherIdentifiers", - "@type": "untp-core:Identifier" - } - } - }, - "BinaryFile": { - "@protected": true, - "@id": "untp-core:BinaryFile", - "@type": "@id", - "@context": { - "fileName": { - "@id": "untp-core:fileName", - "@type": "xsd:string" - }, - "fileType": { - "@id": "untp-core:fileType", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/mimeType#" - } - } - } - }, - "Measure": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "Dimension": { - "@protected": true, - "@id": "untp-core:Dimension", - "@type": "@id", - "@context": { - "weight": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "length": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "width": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "height": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "volume": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - } - } - }, - "Standard": { - "@protected": true, - "@id": "untp-core:Standard", - "@type": "@id", - "@context": { - "standardName": { - "@id": "untp-dpp:standardName", - "@type": "schemaorg:name" - }, - "issuingBody": { - "@id": "untp-dpp:issuingBody", - "@type": "untp-core:Party" - }, - "issueDate": { - "@id": "untp-core:issueDate", - "@type": "xsd:string" - } - } - }, - "Regulation": { - "@protected": true, - "@id": "untp-core:Regulation", - "@type": "@id", - "@context": { - "regulationName": { - "@id": "untp-dpp:regulationName", - "@type": "schemaorg:name" - }, - "issuingBody": { - "@id": "untp-dpp:issuingBody", - "@type": "untp-core:Party" - }, - "effectiveDate": { - "@id": "untp-core:effectiveDate", - "@type": "xsd:string" - } - } - }, - "Metric": { - "@protected": true, - "@id": "untp-core:Metric", - "@type": "@id", - "@context": { - "metricValue": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "accuracy": { - "@id": "untp-core:accuracy", - "@type": "xsd:decimal" - } - } - }, - "Criteria": { - "@protected": true, - "@id": "untp-core:Criteria", - "@type": "@id", - "@context": { - "thresholdValues": { - "@protected": true, - "@id": "untp-core:Metric", - "@type": "@id", - "@context": { - "metricValue": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "accuracy": { - "@id": "untp-core:accuracy", - "@type": "xsd:decimal" - } - } - } - } - }, - "Claim": { - "@protected": true, - "@id": "untp-dpp:Claim", - "@type": "@id", - "@context": { - "referenceStandard": { - "@id": "untp-dpp:referenceStandard", - "@type": "untp-core:Standard" - }, - "referenceRegulation": { - "@id": "untp-dpp:referenceRegulation", - "@type": "untp-core:Regulation" - }, - "assessmentCriterion": { - "@id": "untp-dpp:assessmentCriterion", - "@type": "untp-core:Criteria" - }, - "declaredValues": { - "@protected": true, - "@id": "untp-core:Metric", - "@type": "@id", - "@context": { - "metricValue": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "accuracy": { - "@id": "untp-core:accuracy", - "@type": "xsd:decimal" - } - } - }, - "compliance": { - "@id": "untp-dpp:compliance", - "@type": "xsd:boolean" - }, - "conformityTopic": { - "@id": "untp-dpp:conformityTopic", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/dpp/conformityTopicCode#" - } - }, - "benchmarkValue": "untp-core:Metric", - "benchmarkReference": { - "@id": "untp-dpp:benchmarkReference", - "@type": "xsd:string" - }, - "conformityEvidence": { - "@id": "untp-dpp:conformityEvidence", - "@type": "xsd:string" - } - } - }, - "TraceabilityEvent": { - "@protected": true, - "@id": "untp-dpp:TraceabilityEvent", - "@type": "@id", - "@context": { - "eventReference": { - "@id": "untp-dpp:eventReference", - "@type": "xsd:string" - }, - "eventType": { - "@id": "untp-dpp:eventType", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/dpp/eventTypeCode#" - } - } - } - }, - "ProductPassport": { - "@protected": true, - "@id": "untp-dpp:ProductPassport", - "@type": "@id", - "@context": { - "idScheme": { - "@id": "untp-dpp:idScheme", - "@type": "xsd:string" - }, - "idSchemeName": { - "@id": "untp-dpp:idSchemeName", - "@type": "xsd:string" - }, - "idValue": { - "@id": "untp-dpp:idValue", - "@type": "xsd:string" - }, - "productName": "schema:name", - "serialNumber": { - "@id": "untp-dpp:serialNumber", - "@type": "xsd:string" - }, - "batchNumber": { - "@id": "untp-dpp:batchNumber", - "@type": "xsd:string" - }, - "productImage": { - "@id": "untp-dpp:productImage", - "@type": "untp-core:BinaryFile" - }, - "productCategory": { - "@id": "untp-dpp:productCategory", - "@type": "untp-core:Classification" - }, - "furtherInformation": { - "@id": "untp-dpp:furtherInformation", - "@type": "xsd:string" - }, - "producedBy": { - "@id": "untp-dpp:producedBy", - "@type": "untp-core:Party" - }, - "producedAt": { - "@id": "untp-dpp:producedAt", - "@type": "untp-core:Facility" - }, - "dimensions": { - "@protected": true, - "@id": "untp-core:Dimension", - "@type": "@id", - "@context": { - "weight": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "length": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "width": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "height": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - }, - "volume": { - "@protected": true, - "@id": "untp-core:Measure", - "@type": "@id", - "@context": { - "value": { - "@id": "untp-core:value", - "@type": "xsd:decimal" - }, - "unit": { - "@id": "untp-core:unit", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/core/unitOfMeasure#" - } - } - } - } - } - }, - "productionDate": { - "@id": "untp-dpp:productionDate", - "@type": "xsd:string" - }, - "countryOfProduction": { - "@id": "untp-dpp:countryOfProduction", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/dpp/countryCode#" - } - }, - "characteristics": "untp-core:Characteristic", - "materialsProvenance": "untp-core:Material", - "conformityInformation": { - "@id": "untp-dpp:conformityInformation", - "@type": "untp-dpp:Claim" - }, - "circularityInformation": "untp-core:Circularity", - "traceabilityInformation": { - "@protected": true, - "@id": "untp-dpp:TraceabilityEvent", - "@type": "@id", - "@context": { - "eventReference": { - "@id": "untp-dpp:eventReference", - "@type": "xsd:string" - }, - "eventType": { - "@id": "untp-dpp:eventType", - "@type": "@vocab", - "@context": { - "@protected": true, - "@vocab": "https://test.uncefact.org/vocabulary/untp/dpp/eventTypeCode#" - } - } - } - } - } - }, - "DigitalProductPassport": { - "@protected": true, - "@id": "untp-dpp:DigitalProductPassport", - "@type": "@id", - "@context": { - "@context": { - "@id": "untp-dpp:@context", - "@type": "xsd:string" - }, - "issuer": { - "@id": "untp-dpp:issuer", - "@type": "untp-core:Party" - }, - "validFrom": { - "@id": "untp-dpp:validFrom", - "@type": "xsd:string" - }, - "validUntil": { - "@id": "untp-dpp:validUntil", - "@type": "xsd:string" - }, - "credentialSubject": { - "@id": "untp-dpp:credentialSubject", - "@type": "untp-dpp:ProductPassport" - } - } - } - } -} \ No newline at end of file diff --git a/dpp-schema.json b/dpp-schema.json deleted file mode 100644 index 28189eb58..000000000 --- a/dpp-schema.json +++ /dev/null @@ -1,458 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://test.uncefact.org/vocabulary/untp/dpp/dpp-schema.json", - "title": "ProductPassport Declaration", - "description": "The ProductPassport is a comprehensive data structure that encapsulates various details pertaining to a product, including its identification details, who issued it, batch information, and different scores relating to sustainability and trustworthiness.", - "type": "object", - "additionalProperties": false, - "properties": { - "id": { - "type": "string", - "format": "uri", - "description": "A unique identifier (URI) assigned to the product passport." - }, - "issuedBy": { - "$ref": "#/$defs/Party", - "description": "The Party that issued the product passport." - }, - "product": { - "$ref": "#/$defs/Product", - "description": "Detailed information about the product encapsulated in a ProductInformation object." - }, - "guaranteeOfOriginCredential": { - "type": "string", - "format": "uri", - "description": "A conformity credential issued by a trusted authority that confirms some or all of the claims made in this product passport" - }, - "trustScore": { - "type": "number", - "description": "An aggregate numeric metric that represents the level of trustworthiness associated with the product. This score is derived based on the credibility and reliability of the issuing bodies that substantiate the claims being made about the product. The calculation rules are defined in the UNTP trust graph specification." - }, - "sustainabilityScore": { - "type": "number", - "description": "An aggregate numeric metric calculated based on the various sustainability claims vs benchmarks associated with the product. It amalgamates scores assigned to individual sustainability claims, which are validated by various issuing bodies. The score provides a comprehensive view of the product's overall sustainability performance, giving users a quantifiable measure of the product's environmental and social impacts." - } - }, - "$defs": { - "Party": { - "type": "object", - "additionalProperties": false, - "properties": { - "identifier": { - "type": "array", - "items": { - "$ref": "#/$defs/Identifier" - }, - "description": "A unique identifier (URI) assigned to the organization or company. (Link Resolver - GS1 company prefix?)" - }, - "name": { - "type": "string", - "description": "The name of the organization or company, represented as a text string." - } - }, - "description": "The Party class represents an entity such as an organization, or a company that manufactured the product." - }, - "Identifier": { - "type": "object", - "additionalProperties": false, - "properties": { - "scheme": { - "type": "string", - "format": "uri", - "description": "the identifier scheme as defined by the registrar that manages the identifier registry. If the identifier scheme is registered with UNTP then this URI can use used to dicsover the resolution method (to get more data) and the verification method (to prove ownership)." - }, - "identiferValue": { - "type": "string", - "description": "The value of the identifier within the scheme" - }, - "identifierURI": { - "type": "string", - "format": "uri", - "description": "The fully qualified URI representing the globally unique record for this identifier." - }, - "verificationEvidence": { - "$ref": "#/$defs/Evidence", - "description": "Link to evidence that attests to the validity and ownership of the identifer. " - } - }, - "description": "An identifier of a party, product, or facility that is defined by an identifier scheme and idenfier value and, optinally, verification evidence " - }, - "Evidence": { - "type": "object", - "additionalProperties": false, - "properties": { - "format": { - "type": "string", - "enum": [ - "w3c_vc", - "iso_mdl", - "document", - "website", - "other" - ], - "example": "w3c_vc", - "description": "Format of the evidence (verifiable credential, document, website, etc)" - }, - "assuranceLevel": { - "type": "string", - "enum": [ - "Self", - "Commercial", - "Buyer", - "Membership", - "Unspecified", - "3rdParty" - ], - "example": "Self", - "description": "The assurance level of the evidence (self declaration, 2nd party, 3rd party, accredited auditor)" - }, - "credentialReference": { - "type": "string", - "format": "uri", - "description": "The URL of the evidence credential. Should be a hashlink to avoid post-issue tampering." - } - }, - "description": "Evidence to support a conformity or identity claim. " - }, - "Product": { - "type": "object", - "additionalProperties": false, - "properties": { - "productIdentifier": { - "type": "array", - "items": { - "$ref": "#/$defs/Identifier" - }, - "description": "An array of unique identifiers assigned to the product or model. " - }, - "batchIdentifier": { - "type": "array", - "items": { - "$ref": "#/$defs/Identifier" - }, - "description": "Information regarding the specific production batch of the product." - }, - "itemIdentifier": { - "type": "array", - "items": { - "$ref": "#/$defs/Identifier" - }, - "description": "An array of identifiers representing a specific serialised item of the product." - }, - "classification": { - "type": "array", - "items": { - "$ref": "#/$defs/Classification" - }, - "description": "A code representing the product's class, typically using the UN CPC (United Nations Central Product Classification) https://unstats.un.org/unsd/classifications/Econ/cpc" - }, - "modelName": { - "type": "string", - "description": "The model name or number of the product, represented as text." - }, - "image": { - "type": "string", - "format": "uri", - "description": "A unique identifier (URI) pointing to an image of the product." - }, - "description": { - "type": "string", - "description": "A textual description providing details about the product." - }, - "furtherInformation": { - "type": "string", - "format": "uri", - "description": "A URL pointing to further human readable information about the product." - }, - "manufacturedDate": { - "type": "string", - "format": "date", - "description": "The ISO 8601 date on which the product batch was manufactured." - }, - "dimension": { - "$ref": "#/$defs/Dimension", - "description": "The physical dimensions of the product. Not every dimension is relevant to every products. For example bulk materials may have wieght and volume but not length, with, or height." - }, - "characteristic": { - "$ref": "#/$defs/Characteristic", - "description": "" - }, - "manufacturer": { - "$ref": "#/$defs/Party", - "description": "The Party entity that manufactured the product." - }, - "manufacturedAt": { - "$ref": "#/$defs/Facility", - "description": "The Facility where the product batch was manufactured." - }, - "materialsProvenance": { - "type": "array", - "items": { - "$ref": "#/$defs/Material" - }, - "description": "An array of Provenance objects providing details on the origin and mass fraction of components or ingredients of the product batch." - }, - "conformityClaim": { - "type": "array", - "items": { - "$ref": "#/$defs/Claim" - }, - "description": "An array of claim objects representing various product conformity claims about the product / batch. These can be sustainability claims, circularity claims, or any other claim type within the conformity topic list." - }, - "recyclingInstruction": { - "type": "string", - "format": "uri", - "description": "A URI pointing to information regarding the recycling aspects of the product." - }, - "traceabilityInformation": { - "type": "array", - "items": { - "$ref": "#/$defs/TraceabilityEvent" - }, - "description": "An array of TraceabilityEvent objects detailing EPCIS events related to the traceability of the product batch." - } - }, - "description": "The ProductInformation class encapsulates detailed information regarding a specific product, including its identification details, manufacturer, and other pertinent details." - }, - "Classification": { - "type": "object", - "additionalProperties": false, - "properties": { - "scheme": { - "type": "string", - "format": "uri", - "description": "Classification scheme - eg https://unstats.un.org/unsd/classifications/Econ/cpc " - }, - "classifierValue": { - "type": "string", - "description": "classifier value within the scheme - eg \"01211\" in UN CPC" - }, - "classifierName": { - "type": "string", - "description": "Name of the classifier - eg \"Asparagus\" for code \"01211\" in UNCPC" - }, - "classifierURL": { - "type": "string", - "format": "uri", - "description": "Linked data URL to a web vocabulary entery for this classificaiton code. When this property is provided, the scheme, value, and name properties of the classifer are not required. eg https://vocabulary.uncefact.org/unlocode#AUBNE represensign the port of Brisbane in the UN/LOCODE classification scheme." - } - }, - "description": "A classification scheme and code / name representing a category value for a product, entity, or facility." - }, - "Dimension": { - "type": "object", - "additionalProperties": false, - "properties": { - "weight": { - "$ref": "#/$defs/Measure", - "description": "the weight of the product" - }, - "length": { - "$ref": "#/$defs/Measure", - "description": "The length of the product or packaging" - }, - "width": { - "$ref": "#/$defs/Measure", - "description": "The width of the product or packaging" - }, - "height": { - "$ref": "#/$defs/Measure", - "description": "The height of the product or packaging" - }, - "volume": { - "$ref": "#/$defs/Measure", - "description": "The displacement volume of the product." - } - }, - "description": "Overall (length, width, height) dimensions and weight/volume of an item." - }, - "Measure": { - "type": "object", - "additionalProperties": false, - "properties": { - "value": { - "type": "number", - "description": "The numeric value of the measure" - }, - "unit": { - "type": "string", - "x-external-enumeration": "https://vocabulary.uncefact.org/UnitMeasureCode", - "description": "Unit of measure drawn from the UNECE rec20 measure 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": "The measure class defines a numeric measured value (eg 10) and a coded unit of measure (eg KG)." - }, - "Characteristic": { - "type": "object", - "additionalProperties": false, - "properties": {}, - "description": "Product specific characteristics. This class is an extension point for industry specific product characteristics or performance information such as clothing size or battery capacity." - }, - "Facility": { - "type": "object", - "additionalProperties": false, - "properties": { - "identifier": { - "type": "array", - "items": { - "$ref": "#/$defs/Identifier" - }, - "description": "A unique identifier (URI) assigned to the facility. (Link Resolver - GS1 GLN?)" - }, - "name": { - "type": "string", - "description": "The name of the facility, represented as a text string." - }, - "location": { - "type": "string", - "format": "uri", - "description": "" - }, - "operatedBy": { - "$ref": "#/$defs/Party", - "description": "The Party entity responsible for operating the facility." - } - }, - "description": "The Facility class embodies information about a specific facility, which manufactured the product." - }, - "Material": { - "type": "object", - "additionalProperties": false, - "properties": { - "originCountry": { - "type": "string", - "x-external-enumeration": "https://vocabulary.uncefact.org/CountryId", - "description": "A ISO 3166-1 code representing the country of origin of the component or ingredient.\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/CountryId\n " - }, - "materialType": { - "$ref": "#/$defs/Classification", - "description": "The type of this material - as a value drawn from a controlled vocabulary eg textileexchange.org/materials/rm01014 - representing organic cotton." - }, - "massFraction": { - "type": "number", - "description": "A numeric value representing the mass fraction of the product represented by this material. The sum of all mass fraction values for a given passport should be 100." - }, - "recycled": { - "type": "boolean", - "description": "Indicator is true if this material input is from a recycled source." - }, - "hazardous": { - "type": "boolean", - "description": "Indicates whether this material is hazardous. If true then " - } - }, - "description": "The material class encapsulates details about the origin or source of raw materials in a product, including the country of origin and the mass fraction." - }, - "Claim": { - "type": "object", - "additionalProperties": false, - "properties": { - "topic": { - "type": "string", - "enum": [ - "environment.energy", - "environment.emissions", - "environment.water", - "environment.waste", - "environment.deforestation", - "environment.biodiversity", - "circularity.content", - "circularity.design", - "social.labour", - "social.rights", - "social.community", - "social.safety", - "governance.ethics", - "governance.compliance", - "governance.transparency" - ], - "example": "environment.energy", - "description": "A code representing the topic of the sustainability claim. E.g. environment.deforestation, environment.ghg-emission-intensity, etc.. Drawn from a standard code list. " - }, - "standardOrRegulation": { - "type": "string", - "format": "uri", - "description": "The standard or regulation against which this conformity claim is made. Expressed as a URI and should match a value in the UN catalogue of reference vocabularies. " - }, - "criteriaReference": { - "type": "string", - "format": "uri", - "description": "A URI pointing to the specific criteria within the standard or regulation against which this claim is made." - }, - "claimedValue": { - "type": "array", - "items": { - "$ref": "#/$defs/Metric" - }, - "description": "One or more actual measures supporting the claim. For example for GHG emissions there may be a metric for total emissions intensity and also a metric for amount of offsets included." - }, - "benchmarkValue": { - "$ref": "#/$defs/Metric", - "description": "A benchmark value against which the claimed value can be assessed. THis could be a value specified by a standard or regulation or could be an industry benchmark." - }, - "benchmarkReference": { - "type": "string", - "format": "uri", - "description": "A refernce to evidence to support the benchmark value." - }, - "conformance": { - "type": "boolean", - "description": "and indicator (boolean) that expresses whether or not this product has achieved compliance against the criteria. for example, if the topic is environment.deforstation and the criteria is EU.2023.1115 then the product is conformant if it has not touched any facility throughout it's lifecycle that is not deforestation free since dec 2020." - }, - "conformityEvidence": { - "$ref": "#/$defs/Evidence", - "description": "A URI pointing to the evidence supporting the claim. Most likely in the form of a verifiable credential." - } - }, - "description": "The SustainabilityClaim class represents specific claims regarding the sustainability of a product, providing details about the metrics, thresholds, and evidences supporting the claim." - }, - "Metric": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "type": "string", - "description": "A human readable name for this metric" - }, - "value": { - "type": "number", - "description": "A numeric value representing the measurement or evaluation outcome for the claim." - }, - "accuracy": { - "type": "number", - "description": "A percentage represented as a numeric between 0 and 1 indicating the rage of accuracy of the claimed value (eg 0.05 means that the actual value is within 5% of the claimed value.)" - }, - "unit": { - "type": "string", - "x-external-enumeration": "https://vocabulary.uncefact.org/UnitMeasureCode", - "description": "The unit of measure. for example, emissions intensity in Kg Co2e per kWh produced. Or Kg Co2e per Kg of livestock gross weight. \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 specific measure of performance against the criteria that governs the claim. Expressed as an array of metric (ie unit of emasure) / value (ie the actual numeric value) pairs. " - }, - "TraceabilityEvent": { - "type": "object", - "additionalProperties": false, - "properties": { - "eventReference": { - "type": "string", - "format": "uri", - "description": "A URI pointing to the detailed information about the EPCIS event. Most likely in the form of a verifiable credential." - }, - "eventType": { - "type": "string", - "enum": [ - "aggregation", - "transformation", - "object", - "transaction", - "association" - ], - "example": "aggregation", - "description": "A code representing the type of EPCIS event. ObjectEvent, AggregationEvent, TransactionEvent, TransformationEvent, ObjectEvent." - } - }, - "description": "The TraceabilityEvent class represents a specific EPCIS event in the traceability chain of a product, including details about the event type and reference." - } - } -} \ No newline at end of file diff --git a/dpp.jsonld b/dpp.jsonld deleted file mode 100644 index a120870cb..000000000 --- a/dpp.jsonld +++ /dev/null @@ -1,264 +0,0 @@ -{ - "@context": { - "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", - "owl": "http://www.w3.org/2002/07/owl#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "untp-core": "https://test.uncefact.org/vocabulary/untp/core/", - "untp-dpp": "https://test.uncefact.org/vocabulary/untp/dpp/" - }, - "@graph": [ - { - "rdfs:label": "eventTypeCode", - "@type": "rdfs:Class", - "@id": "untp-dpp:eventTypeCode", - "rdfs:comment": "A code describing the traceability event type - drawn from GS1 EPCIS 2.0" - }, - { - "@id": "untp-dpp:eventTypeCode#aggregation", - "@type": "untp-dpp:eventTypeCode", - "untp-dpp:Name": "aggregation", - "rdfs:comment": "event describing the grouping of products such as placing bales of cotton on a pallet" - }, - { - "@id": "untp-dpp:eventTypeCode#transformation", - "@type": "untp-dpp:eventTypeCode", - "untp-dpp:Name": "transformation", - "rdfs:comment": "event describing the consumption of input products to create output products in a manufacturing process such as spinning thread from cotton bales." - }, - { - "@id": "untp-dpp:eventTypeCode#object", - "@type": "untp-dpp:eventTypeCode", - "untp-dpp:Name": "object", - "rdfs:comment": "event describing an action on a single product such as an inspection or test" - }, - { - "@id": "untp-dpp:eventTypeCode#transaction", - "@type": "untp-dpp:eventTypeCode", - "untp-dpp:Name": "transaction", - "rdfs:comment": "event describing commercial transactions such as the sale of a collection of products from seller to buyer" - }, - { - "@id": "untp-dpp:eventTypeCode#association", - "@type": "untp-dpp:eventTypeCode", - "untp-dpp:Name": "association", - "rdfs:comment": "event describing the creation of relationships between products such as a bill of material of components in an assembly" - }, - { - "@id": "untp-dpp:DigitalProductPassport", - "@type": "rdfs:Class", - "rdfs:label": "DigitalProductPassport", - "schema:source": { - "@id": "https://test.uncefact.org/vocabulary/untp/dpp/DigitalProductPassport" - }, - "rdfs:subClassOf": "untp-core:VerifiableCredential", - "rdfs:comment": "The ProductPassport is a comprehensive data structure that encapsulates various details pertaining to a product, including its identification details, who issued it, batch information, provernance information, circularity information and a set of verifable product confomrity & sistainability claims. " - }, - { - "@id": "untp-dpp:ProductPassport", - "@type": "rdfs:Class", - "rdfs:label": "ProductPassport", - "schema:source": { - "@id": "https://test.uncefact.org/vocabulary/untp/dpp/ProductPassport" - }, - "rdfs:subClassOf": "untp-core:Product", - "rdfs:comment": "The ProductInformation class encapsulates detailed information regarding a specific product, including its identification details, manufacturer, and other pertinent details. " - }, - { - "@id": "untp-dpp:Claim", - "@type": "rdfs:Class", - "rdfs:label": "Claim", - "schema:source": { - "@id": "https://test.uncefact.org/vocabulary/untp/dpp/Claim" - }, - "rdfs:subClassOf": "untp-core:Declaration", - "rdfs:comment": "The SustainabilityClaim class represents specific claims regarding the sustainability of a product, providing details about the metrics, thresholds, and evidences supporting the claim." - }, - { - "@id": "untp-dpp:TraceabilityEvent", - "@type": "rdfs:Class", - "rdfs:label": "TraceabilityEvent", - "schema:source": { - "@id": "https://test.uncefact.org/vocabulary/untp/dpp/TraceabilityEvent" - }, - "rdfs:comment": "The TraceabilityEvent class represents a specific EPCIS event in the traceability chain of a product, including details about the event type and reference." - }, - { - "@id": "untp-dpp:credentialSubject", - "@type": [ - "rdf:Property", - "owl:ObjectProperty" - ], - "rdfs:label": "credentialSubject", - "schema:rangeIncludes": { - "@id": "untp-dpp:ProductPassport" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:DigitalProductPassport" - }, - "rdfs:comment": "The subject of a digital product passport credential is the identified product." - }, - { - "@id": "untp-dpp:characteristics", - "@type": [ - "rdf:Property", - "owl:ObjectProperty" - ], - "rdfs:label": "characteristics", - "schema:rangeIncludes": { - "@id": "untp-dpp:Characteristic" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:ProductPassport" - }, - "owl:equivalentProperty": { - "@id": "untp-core:characteristics" - }, - "rdfs:comment": "Product specific characteristics. This class is an extension point for industry specific product characteristics or performance information such as clothing size or battery capacity." - }, - { - "@id": "untp-dpp:materialsProvenance", - "@type": [ - "rdf:Property", - "owl:ObjectProperty" - ], - "rdfs:label": "materialsProvenance", - "schema:rangeIncludes": { - "@id": "untp-dpp:Material" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:ProductPassport" - }, - "owl:equivalentProperty": { - "@id": "untp-core:materialsProvenance" - }, - "rdfs:comment": "An array of Provenance objects providing details on the origin and mass fraction of components or ingredients of the product batch." - }, - { - "@id": "untp-dpp:conformityInformation", - "@type": [ - "rdf:Property", - "owl:ObjectProperty" - ], - "rdfs:label": "conformityInformation", - "schema:rangeIncludes": { - "@id": "untp-dpp:Claim" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:ProductPassport" - }, - "rdfs:comment": "An array of claim objects representing various product conformity claims about the product / batch. These can be sustainability claims, circularity claims, or any other claim type within the conformity topic list." - }, - { - "@id": "untp-dpp:circularityInformation", - "@type": [ - "rdf:Property", - "owl:ObjectProperty" - ], - "rdfs:label": "circularityInformation", - "schema:rangeIncludes": { - "@id": "untp-dpp:Circularity" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:ProductPassport" - }, - "owl:equivalentProperty": { - "@id": "untp-core:circularityInformation" - }, - "rdfs:comment": "A URI pointing to information regarding the recycling aspects of the product." - }, - { - "@id": "untp-dpp:traceabilityInformation", - "@type": [ - "rdf:Property", - "owl:ObjectProperty" - ], - "rdfs:label": "traceabilityInformation", - "schema:rangeIncludes": { - "@id": "untp-dpp:TraceabilityEvent" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:ProductPassport" - }, - "rdfs:comment": "An array of TraceabilityEvent objects detailing EPCIS events related to the traceability of the product batch. SHOULD be provided for any product passport issued at batch or item level." - }, - { - "@id": "untp-dpp:benchmarkValue", - "@type": [ - "rdf:Property", - "owl:ObjectProperty" - ], - "rdfs:label": "benchmarkValue", - "schema:rangeIncludes": { - "@id": "untp-dpp:Metric" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:Claim" - }, - "owl:equivalentProperty": { - "@id": "untp-core:benchmarkValue" - }, - "rdfs:comment": "A benchmark value against which the claimed value can be assessed. THis could be a value specified by a standard or regulation or could be an industry benchmark." - }, - { - "@id": "untp-dpp:benchmarkReference", - "@type": [ - "rdf:Property", - "owl:DatatypeProperty" - ], - "rdfs:label": "benchmarkReference", - "schema:rangeIncludes": { - "@id": "xsd:string" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:Claim" - }, - "rdfs:comment": "A refernce to evidence to support the benchmark value." - }, - { - "@id": "untp-dpp:conformityEvidence", - "@type": [ - "rdf:Property", - "owl:DatatypeProperty" - ], - "rdfs:label": "conformityEvidence", - "schema:rangeIncludes": { - "@id": "xsd:string" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:Claim" - }, - "rdfs:comment": "A URI pointing to the evidence supporting the claim. SHOULD be a URL to a UNTP Digital COnformity Credential (DCC)" - }, - { - "@id": "untp-dpp:eventReference", - "@type": [ - "rdf:Property", - "owl:DatatypeProperty" - ], - "rdfs:label": "eventReference", - "schema:rangeIncludes": { - "@id": "xsd:string" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:TraceabilityEvent" - }, - "rdfs:comment": "A URI pointing to the detailed information about the EPCIS event. SHOULD be a URL lik to a UNTP Digital Traceability Event (DTE)" - }, - { - "@id": "untp-dpp:eventType", - "@type": [ - "rdf:Property", - "owl:ObjectProperty" - ], - "rdfs:label": "eventType", - "schema:rangeIncludes": { - "@id": "untp-dpp:eventTypeCode" - }, - "schema:domainIncludes": { - "@id": "untp-dpp:TraceabilityEvent" - }, - "rdfs:comment": "A code representing the type of EPCIS event. ObjectEvent, AggregationEvent, TransactionEvent, TransformationEvent, ObjectEvent." - } - ], - "jargon": {} -} \ No newline at end of file