Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit feb6706

Browse files
chore: update DigitalFacilityRecord to use core working. (#482)
Update to untp-core working. Re-save to remove extra import. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6652f58 commit feb6706

6 files changed

Lines changed: 41 additions & 95 deletions

File tree

data-models/untp-dfr/artefacts/FacilityRecord-instance.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -273,15 +273,13 @@
273273
"accuracy": 0.05
274274
}
275275
],
276-
"conformance": true,
277276
"conformityTopic": "environment.emissions",
278277
"conformityEvidence": {
279278
"linkURL": "https://files.example-certifier.com/1234567.json",
280279
"linkName": "GBA rule book conformity certificate",
281280
"linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
282281
"hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
283-
"hashMethod": "SHA-256",
284-
"encryptionMethod": "AES"
282+
"hashMethod": "SHA-256"
285283
}
286284
},
287285
{
@@ -449,15 +447,13 @@
449447
"accuracy": 0.05
450448
}
451449
],
452-
"conformance": true,
453450
"conformityTopic": "environment.emissions",
454451
"conformityEvidence": {
455452
"linkURL": "https://files.example-certifier.com/1234567.json",
456453
"linkName": "GBA rule book conformity certificate",
457454
"linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
458455
"hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
459-
"hashMethod": "SHA-256",
460-
"encryptionMethod": "AES"
456+
"hashMethod": "SHA-256"
461457
}
462458
}
463459
]

data-models/untp-dfr/artefacts/FacilityRecord-schema.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -526,11 +526,6 @@
526526
},
527527
"description": "The list of specific values measured as part of this assessment (eg tensile strength)"
528528
},
529-
"conformance": {
530-
"example": true,
531-
"type": "boolean",
532-
"description": "An indicator of whether or not the claim or assesment conforms to the regulatory or standard criteria."
533-
},
534529
"conformityTopic": {
535530
"type": "string",
536531
"enum": [
@@ -561,7 +556,6 @@
561556
"description": "A declaration of conformance with one or more criteria from a specific standard or regulation. ",
562557
"required": [
563558
"id",
564-
"conformance",
565559
"conformityTopic"
566560
]
567561
},
@@ -967,15 +961,6 @@
967961
],
968962
"example": "SHA-256",
969963
"description": "The hashing algorithm used to create the target hash. SHA-265 is the recommended standard"
970-
},
971-
"encryptionMethod": {
972-
"type": "string",
973-
"enum": [
974-
"none",
975-
"AES"
976-
],
977-
"example": "none",
978-
"description": "The symmetric encryption algorithm used to encrypt the link target. AES is the recommended standard. Decryption keys are expected to be passed out of bounds."
979964
}
980965
},
981966
"description": "A binary file that is hashed ()for tamper evidence) and optionally encrypted (for confidentiality)."

data-models/untp-dfr/artefacts/context.jsonld

Lines changed: 29 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"@context": {
3-
"untp-dfr": "https://test.uncefact.org/vocabulary/untp/dfr/0/",
4-
"schemaorg": "https://schema.org/",
5-
"untp-core": "https://test.uncefact.org/vocabulary/untp/core/0/",
3+
"untp-dfr": "https://test.uncefact.org/vocabulary/untp/dfr/working/",
4+
"schema": "https://schema.org/",
5+
"untp-core": "https://test.uncefact.org/vocabulary/untp/core/working/",
66
"geojson": "https://purl.org/geojson/vocab#",
77
"renderMethodPrefix": "https://w3id.org/vc/render-method#",
88
"xsd": "http://www.w3.org/2001/XMLSchema#",
@@ -18,7 +18,7 @@
1818
"@context": {
1919
"@protected": true,
2020
"name": {
21-
"@id": "schemaorg:name"
21+
"@id": "schema:name"
2222
}
2323
}
2424
},
@@ -32,7 +32,7 @@
3232
"@type": "xsd:string"
3333
},
3434
"name": {
35-
"@id": "schemaorg:name"
35+
"@id": "schema:name"
3636
},
3737
"schemeID": {
3838
"@id": "untp-core:schemeID",
@@ -50,7 +50,7 @@
5050
"@context": {
5151
"@protected": true,
5252
"name": {
53-
"@id": "schemaorg:name"
53+
"@id": "schema:name"
5454
},
5555
"registeredId": {
5656
"@id": "untp-core:registeredId",
@@ -61,7 +61,7 @@
6161
"@type": "@id"
6262
},
6363
"description": {
64-
"@id": "schemaorg:description"
64+
"@id": "schema:description"
6565
},
6666
"registrationCountry": {
6767
"@id": "untp-core:registrationCountry",
@@ -85,7 +85,7 @@
8585
"@context": {
8686
"@protected": true,
8787
"name": {
88-
"@id": "schemaorg:name"
88+
"@id": "schema:name"
8989
},
9090
"registeredId": {
9191
"@id": "untp-core:registeredId",
@@ -105,15 +105,15 @@
105105
"@context": {
106106
"@protected": true,
107107
"name": {
108-
"@id": "schemaorg:name"
108+
"@id": "schema:name"
109109
},
110110
"issuerAlsoKnownAs": {
111111
"@id": "untp-core:Party",
112112
"@type": "@id",
113113
"@context": {
114114
"@protected": true,
115115
"name": {
116-
"@id": "schemaorg:name"
116+
"@id": "schema:name"
117117
},
118118
"registeredId": {
119119
"@id": "untp-core:registeredId",
@@ -133,7 +133,7 @@
133133
"@context": {
134134
"@protected": true,
135135
"name": {
136-
"@id": "schemaorg:name"
136+
"@id": "schema:name"
137137
},
138138
"registeredId": {
139139
"@id": "untp-core:registeredId",
@@ -144,7 +144,7 @@
144144
"@type": "@id"
145145
},
146146
"description": {
147-
"@id": "schemaorg:description"
147+
"@id": "schema:description"
148148
},
149149
"countryOfOperation": {
150150
"@id": "untp-core:countryOfOperation",
@@ -164,7 +164,7 @@
164164
"@context": {
165165
"@protected": true,
166166
"name": {
167-
"@id": "schemaorg:name"
167+
"@id": "schema:name"
168168
},
169169
"registeredId": {
170170
"@id": "untp-core:registeredId",
@@ -182,7 +182,7 @@
182182
"@context": {
183183
"@protected": true,
184184
"name": {
185-
"@id": "schemaorg:name"
185+
"@id": "schema:name"
186186
},
187187
"registeredId": {
188188
"@id": "untp-core:registeredId",
@@ -295,15 +295,15 @@
295295
"@context": {
296296
"@protected": true,
297297
"name": {
298-
"@id": "schemaorg:name"
298+
"@id": "schema:name"
299299
},
300300
"issuingParty": {
301301
"@id": "untp-core:Party",
302302
"@type": "@id",
303303
"@context": {
304304
"@protected": true,
305305
"name": {
306-
"@id": "schemaorg:name"
306+
"@id": "schema:name"
307307
},
308308
"registeredId": {
309309
"@id": "untp-core:registeredId",
@@ -327,7 +327,7 @@
327327
"@context": {
328328
"@protected": true,
329329
"name": {
330-
"@id": "schemaorg:name"
330+
"@id": "schema:name"
331331
},
332332
"jurisdictionCountry": {
333333
"@id": "untp-core:jurisdictionCountry",
@@ -343,7 +343,7 @@
343343
"@context": {
344344
"@protected": true,
345345
"name": {
346-
"@id": "schemaorg:name"
346+
"@id": "schema:name"
347347
},
348348
"registeredId": {
349349
"@id": "untp-core:registeredId",
@@ -367,25 +367,25 @@
367367
"@context": {
368368
"@protected": true,
369369
"name": {
370-
"@id": "schemaorg:name"
370+
"@id": "schema:name"
371371
},
372372
"description": {
373-
"@id": "schemaorg:description"
373+
"@id": "schema:description"
374374
},
375375
"conformityTopic": {
376376
"@id": "untp-core:conformityTopic",
377377
"@type": "@vocab",
378378
"@context": {
379379
"@protected": true,
380-
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/conformityTopicCode#"
380+
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/working/conformityTopicCode#"
381381
}
382382
},
383383
"status": {
384384
"@id": "untp-core:status",
385385
"@type": "@vocab",
386386
"@context": {
387387
"@protected": true,
388-
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/statusCode#"
388+
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/working/statusCode#"
389389
}
390390
},
391391
"subCriterion": {
@@ -450,7 +450,7 @@
450450
"@context": {
451451
"@protected": true,
452452
"description": {
453-
"@id": "schemaorg:description"
453+
"@id": "schema:description"
454454
},
455455
"referenceStandard": {
456456
"@id": "untp-core:referenceStandard",
@@ -506,16 +506,12 @@
506506
}
507507
}
508508
},
509-
"conformance": {
510-
"@id": "untp-core:conformance",
511-
"@type": "xsd:boolean"
512-
},
513509
"conformityTopic": {
514510
"@id": "untp-core:conformityTopic",
515511
"@type": "@vocab",
516512
"@context": {
517513
"@protected": true,
518-
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/conformityTopicCode#"
514+
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/working/conformityTopicCode#"
519515
}
520516
},
521517
"conformityEvidence": {
@@ -544,15 +540,7 @@
544540
"@type": "@vocab",
545541
"@context": {
546542
"@protected": true,
547-
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/hashMethodCode#"
548-
}
549-
},
550-
"encryptionMethod": {
551-
"@id": "untp-core:encryptionMethod",
552-
"@type": "@vocab",
553-
"@context": {
554-
"@protected": true,
555-
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/encryptionMethodCode#"
543+
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/working/hashMethodCode#"
556544
}
557545
}
558546
}
@@ -580,7 +568,7 @@
580568
"@context": {
581569
"@protected": true,
582570
"description": {
583-
"@id": "schemaorg:description"
571+
"@id": "schema:description"
584572
},
585573
"referenceStandard": {
586574
"@id": "untp-core:referenceStandard",
@@ -636,16 +624,12 @@
636624
}
637625
}
638626
},
639-
"conformance": {
640-
"@id": "untp-core:conformance",
641-
"@type": "xsd:boolean"
642-
},
643627
"conformityTopic": {
644628
"@id": "untp-core:conformityTopic",
645629
"@type": "@vocab",
646630
"@context": {
647631
"@protected": true,
648-
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/0/conformityTopicCode#"
632+
"@vocab": "https://test.uncefact.org/vocabulary/untp/core/working/conformityTopicCode#"
649633
}
650634
}
651635
}
@@ -656,7 +640,7 @@
656640
"@context": {
657641
"@protected": true,
658642
"name": {
659-
"@id": "schemaorg:name"
643+
"@id": "schema:name"
660644
},
661645
"mediaQuery": {
662646
"@id": "untp-core:mediaQuery",
@@ -678,7 +662,7 @@
678662
"@context": {
679663
"@protected": true,
680664
"name": {
681-
"@id": "schemaorg:name"
665+
"@id": "schema:name"
682666
},
683667
"template": {
684668
"@id": "renderMethodPrefix:template",

data-models/untp-dfr/artefacts/untp-dfr-instance.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
],
66
"@context": [
77
"https://www.w3.org/ns/credentials/v2",
8-
"https://test.uncefact.org/vocabulary/untp/dfr/0.6.1/"
8+
"https://test.uncefact.org/vocabulary/untp/dfr/working/"
99
],
1010
"id": "https://example-company.com/credentials/2a423366-a0d6-4855-ba65-2e0c926d09b0",
1111
"issuer": {
@@ -318,15 +318,13 @@
318318
"accuracy": 0.05
319319
}
320320
],
321-
"conformance": true,
322321
"conformityTopic": "environment.emissions",
323322
"conformityEvidence": {
324323
"linkURL": "https://files.example-certifier.com/1234567.json",
325324
"linkName": "GBA rule book conformity certificate",
326325
"linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
327326
"hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
328-
"hashMethod": "SHA-256",
329-
"encryptionMethod": "AES"
327+
"hashMethod": "SHA-256"
330328
}
331329
},
332330
{
@@ -494,15 +492,13 @@
494492
"accuracy": 0.05
495493
}
496494
],
497-
"conformance": true,
498495
"conformityTopic": "environment.emissions",
499496
"conformityEvidence": {
500497
"linkURL": "https://files.example-certifier.com/1234567.json",
501498
"linkName": "GBA rule book conformity certificate",
502499
"linkType": "https://test.uncefact.org/vocabulary/linkTypes/dcc",
503500
"hashDigest": "6239119dda5bd4c8a6ffb832fe16feaa5c27b7dba154d24c53d4470a2c69adc2",
504-
"hashMethod": "SHA-256",
505-
"encryptionMethod": "AES"
501+
"hashMethod": "SHA-256"
506502
}
507503
}
508504
]

0 commit comments

Comments
 (0)