diff --git a/implementations/opsecid/config.json b/implementations/opsecid/config.json index 27fb529..17d57e5 100644 --- a/implementations/opsecid/config.json +++ b/implementations/opsecid/config.json @@ -4,21 +4,35 @@ { "id": "https://untp.traceability.site/opsecid/samples/dcc.jsonld", "type": "DigitalConformityCredential", - "name": "Mines Permit", + "name": "Mines Permit (DCC)", "version": "0.5.0", "mediaType": "application/vc" }, { "id": "https://untp.traceability.site/opsecid/samples/dia.jsonld", "type": "DigitalIdentityAnchor", - "name": "Business Registration", + "name": "Business Registration (DIA)", "version": "0.2.1", "mediaType": "application/vc" }, { "id": "https://untp.traceability.site/opsecid/samples/dpp.jsonld", "type": "DigitalProductPassport", - "name": "Raw Copper Shipment", + "name": "Raw Copper Shipment (DPP)", + "version": "0.5.0", + "mediaType": "application/vc" + }, + { + "id": "https://untp.traceability.site/opsecid/samples/dte.jsonld", + "type": "DigitalTraceabilityEvent", + "name": "Copper Smelting (DTE)", + "version": "0.5.0", + "mediaType": "application/vc" + }, + { + "id": "https://untp.traceability.site/opsecid/samples/dfr.jsonld", + "type": "DigitalFacilityRecord", + "name": "Mining Site (DFR)", "version": "0.5.0", "mediaType": "application/vc" } diff --git a/implementations/opsecid/samples/dfr.jsonld b/implementations/opsecid/samples/dfr.jsonld new file mode 100644 index 0000000..6eb5032 --- /dev/null +++ b/implementations/opsecid/samples/dfr.jsonld @@ -0,0 +1,99 @@ +{ + "type": [ + "DigitalFacilityRecord", + "VerifiableCredential" + ], + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://test.uncefact.org/vocabulary/untp/dfr/0.5.0/" + ], + "id": "https://bcregistry.ca/business/123456789/facility-record", + "issuer": { + "type": [ + "CredentialIssuer" + ], + "id": "did:web:bcregistry.ca", + "name": "BC Registry Services", + "otherIdentifier": [ + { + "type": [ + "Identifier" + ], + "id": "https://bcregistry.ca/business/123456789", + "name": "BC Copper Mines Ltd.", + "registeredId": "123456789", + "idScheme": { + "type": [ + "IdentifierScheme" + ], + "id": "https://bcregistry.ca/business/", + "name": "British Columbia Business Registration Number" + } + } + ] + }, + "validFrom": "2024-01-01T00:00:00Z", + "validUntil": "2034-01-01T00:00:00Z", + "credentialSubject": { + "type": [ + "Facility" + ], + "id": "https://bcregistry.ca/business/123456789/facility", + "registeredId": "987654321", + "description": "Primary Copper Mining Facility", + "name": "BC Copper Mine Facility", + "idScheme": { + "type": [ + "IdentifierScheme" + ], + "id": "https://bcregistry.ca/business/", + "name": "British Columbia Business Registration Number" + }, + "countryOfOperation": "CA", + "processCategory": [ + { + "type": [ + "Classification" + ], + "id": "https://unstats.un.org/unsd/classifications/Econ/cpc/14100", + "code": "14100", + "name": "Copper ores and concentrates", + "schemeID": "https://unstats.un.org/unsd/classifications/Econ/cpc/", + "schemeName": "UN Central Product Classification (CPC)" + } + ], + "operatedByParty": { + "type": [ + "Identifier" + ], + "id": "https://bcregistry.ca/business/123456789", + "name": "BC Copper Mines Ltd.", + "registeredId": "123456789", + "idScheme": { + "type": [ + "IdentifierScheme" + ], + "id": "https://bcregistry.ca/business/", + "name": "British Columbia Business Registration Number" + } + }, + "address": { + "streetAddress": "123 Copper Mine Road", + "postalCode": "V8W 1T2", + "addressLocality": "Victoria", + "addressRegion": "BC", + "addressCountry": "CA" + }, + "locationInformation": { + "plusCode": "https://plus.codes/8CGRC78W+MM", + "geoLocation": { + "type": "Point", + "coordinates": [ + -123.3656, + 48.4284 + ] + } + } + } + } + \ No newline at end of file diff --git a/implementations/opsecid/samples/dte.jsonld b/implementations/opsecid/samples/dte.jsonld new file mode 100644 index 0000000..c3aa37d --- /dev/null +++ b/implementations/opsecid/samples/dte.jsonld @@ -0,0 +1,109 @@ +{ + "type": [ + "DigitalTraceabilityEvent", + "VerifiableCredential" + ], + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://test.uncefact.org/vocabulary/untp/dte/0.5.0/" + ], + "id": "https://bcregistry.ca/business/123456789/traceability-event", + "issuer": { + "type": [ + "CredentialIssuer" + ], + "id": "did:web:bcregistry.ca", + "name": "BC Copper Mines Ltd.", + "otherIdentifier": [ + { + "type": [ + "Identifier" + ], + "id": "https://bcregistry.ca/business/123456789", + "name": "BC Copper Mines Ltd.", + "registeredId": "123456789", + "idScheme": { + "type": [ + "IdentifierScheme" + ], + "id": "https://bcregistry.ca/business/", + "name": "British Columbia Business Registration Number" + } + } + ] + }, + "validFrom": "2024-06-01T00:00:00Z", + "credentialSubject": [ + { + "type": [ + "TransformationEvent", + "Event" + ], + "id": "https://bcregistry.ca/business/123456789/traceability-event#transformation", + "processType": "Smelting", + "eventTime": "2024-07-01T00:00:00Z", + "action": "Transform", + "disposition": "https://ref.gs1.org/cbv/Disp-in_progress", + "bizStep": "https://ref.gs1.org/cbv/BizStep-transforming", + "bizLocation": "https://id.gs1.org/414/987654321", + "sensorElementList": [ + { + "sensorMetadata": { + "device": { + "type": [ + "Item" + ], + "id": "https://sensors.smelter.com/temperature-sensor", + "name": "Smelter Temperature Sensor" + }, + "dataProcessingMethod": "https://standards.org/sensorMethod#5678" + }, + "sensorReport": [ + { + "time": "2024-07-01T01:00:00Z", + "sensorType": "https://sensors.smelter.com/model5678", + "value": 1200, + "uom": "Celsius" + } + ], + "sensorIntegrityProof": "https://integrity.smelter.com/proof5678" + } + ], + "outputEPCList": [ + { + "type": [ + "Item" + ], + "id": "https://id.gs1.org/01/09876543211234", + "name": "Refined Copper Ingot" + } + ], + "inputEPCList": [ + { + "type": [ + "Item" + ], + "id": "https://id.gs1.org/01/12345678901234", + "name": "Raw Copper Batch" + } + ], + "inputQuantityList": [ + { + "productId": "https://id.gs1.org/01/12345678901234", + "productName": "Raw Copper Batch", + "quantity": 5000, + "uom": "KGM" + } + ], + "outputQuantityList": [ + { + "productId": "https://id.gs1.org/01/09876543211234", + "productName": "Refined Copper Ingot", + "quantity": 4800, + "uom": "KGM" + } + ] + } + ] + } + \ No newline at end of file