Skip to content

Commit cab8579

Browse files
committed
five-safes request and result conform to rocrate-1.1
1 parent cf2b808 commit cab8579

2 files changed

Lines changed: 25 additions & 12 deletions

File tree

tests/data/crates/valid/five-safes-crate-request/ro-crate-metadata.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://w3id.org/ro/crate/1.2-DRAFT/context",
2+
"@context": "https://w3id.org/ro/crate/1.1/context",
33
"@graph": [
44
{
55
"@type": "CreativeWork",
@@ -8,12 +8,16 @@
88
"@id": "./"
99
},
1010
"conformsTo": {
11-
"@id": "https://w3id.org/ro/crate/1.2-DRAFT"
11+
"@id": "https://w3id.org/ro/crate/1.1"
1212
}
1313
},
1414
{
1515
"@id": "./",
1616
"@type": "Dataset",
17+
"name": "5-Safe RO-Crate Request",
18+
"description": "example 5-Safe RO-Crate request metadata for testing",
19+
"license": "Apache-2.0",
20+
"datePublished": "2025-09-20T14:38:00+00:00",
1721
"conformsTo": {
1822
"@id": "https://w3id.org/5s-crate/0.4"
1923
},

tests/data/crates/valid/five-safes-crate-result/ro-crate-metadata.json

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"@context": "https://w3id.org/ro/crate/1.2-DRAFT/context",
2+
"@context": "https://w3id.org/ro/crate/1.1/context",
33
"@graph": [
44
{
55
"@type": "CreativeWork",
@@ -8,12 +8,15 @@
88
"@id": "./"
99
},
1010
"conformsTo": {
11-
"@id": "https://w3id.org/ro/crate/1.2-DRAFT"
11+
"@id": "https://w3id.org/ro/crate/1.1"
1212
}
1313
},
1414
{
1515
"@id": "./",
1616
"@type": "Dataset",
17+
"name": "5-Safe RO-Crate Result",
18+
"description": "example 5-Safe RO-Crate result metadata for testing",
19+
"datePublished": "2025-09-20T14:45:00+00:00",
1720
"conformsTo": {
1821
"@id": "https://w3id.org/5s-crate/0.4"
1922
},
@@ -24,6 +27,12 @@
2427
{
2528
"@id": "input1.txt"
2629
},
30+
{
31+
"@id": "outputs/qa.csv"
32+
},
33+
{
34+
"@id": "outputs/diagrams/"
35+
},
2736
{
2837
"@id": "workflow/289/"
2938
}
@@ -60,7 +69,7 @@
6069
"publisher": {
6170
"@id": "https://tre72.example.com/"
6271
},
63-
"licence": {
72+
"license": {
6473
"@id": "http://spdx.org/licenses/CC-BY-4.0"
6574
}
6675
},
@@ -115,7 +124,7 @@
115124
],
116125
"result": [
117126
{
118-
"@id": "outputs/table.csv"
127+
"@id": "outputs/qa.csv"
119128
},
120129
{
121130
"@id": "outputs/diagrams/"
@@ -206,7 +215,7 @@
206215
},
207216
{
208217
"@id": "#check-f33fe90c-0c22-4c72-b299-de509028410e",
209-
"type": "AssessAction",
218+
"@type": "AssessAction",
210219
"additionalType": {
211220
"@id": "https://w3id.org/shp#CheckValue"
212221
},
@@ -225,7 +234,7 @@
225234
},
226235
{
227236
"@id": "#validate-1146f640-819e-4c86-b029-b763a0040896",
228-
"type": "AssessAction",
237+
"@type": "AssessAction",
229238
"additionalType": {
230239
"@id": "https://w3id.org/shp#ValidationCheck"
231240
},
@@ -245,7 +254,7 @@
245254
},
246255
{
247256
"@id": "#download-8b51bf57-6b29-44da-b24b-638c8df91639",
248-
"type": "DownloadAction",
257+
"@type": "DownloadAction",
249258
"name": "Downloaded workflow RO-Crate via proxy",
250259
"startTime": "2023-04-18T12:11:50+01:00",
251260
"endTime": "2023-04-18T12:11:52+01:00",
@@ -262,7 +271,7 @@
262271
},
263272
{
264273
"@id": "#signoff-3b741265-cfef-49ea-8138-a2fa149bf2f0",
265-
"type": "AssessAction",
274+
"@type": "AssessAction",
266275
"additionalType": {
267276
"@id": "https://w3id.org/shp#SignOff"
268277
},
@@ -289,7 +298,7 @@
289298
},
290299
{
291300
"@id": "#disclosure-b16c1f0a-ae7f-4582-9b28-7d9df3313e27",
292-
"type": "AssessAction",
301+
"@type": "AssessAction",
293302
"additionalType": {
294303
"@id": "https://w3id.org/shp#DisclosureCheck"
295304
},
@@ -305,7 +314,7 @@
305314
},
306315
{
307316
"@id": "#bagit-ce785c0b-c988-4043-8cbd-1489dcebc14f",
308-
"type": "UpdateAction",
317+
"@type": "UpdateAction",
309318
"startTime": "2023-04-29T12:12:25+01:00",
310319
"additionalType": {
311320
"@id": "https://w3id.org/shp#GenerateCheckValue"

0 commit comments

Comments
 (0)