Skip to content

Commit f12fbde

Browse files
committed
Merged 14_workflow_retrieval_phase.ttl files (fixes) - 2.
1 parent efe3986 commit f12fbde

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

rocrate_validator/profiles/five-safes-crate/14_workflow_retrieval_phase.ttl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
2424

2525

26-
#=== MUST shapes ===#
26+
#=== MUST ===#
2727

2828
five-safes-crate:DownloadActionObjectMUSTHavesDescriptiveName
2929
a sh:NodeShape ;
@@ -44,6 +44,7 @@ five-safes-crate:DownloadActionObjectMUSTHavesDescriptiveName
4444
] .
4545

4646

47+
4748
five-safes-crate:WorkflowSameAsAndRootDataEntityMainEntityMUSTBeTheSame
4849
a sh:NodeShape ;
4950
sh:name "Downloaded Workflow" ;
@@ -185,13 +186,11 @@ five-safes-crate:DownloadActionEntitySHOULDExist
185186
] .
186187

187188

188-
189189
five-safes-crate:RootDataEntitySHOULDMentionDownloadActionIfPresent
190190
a sh:NodeShape ;
191191
sh:name "RootDataEntity" ;
192192
sh:description "" ;
193193
sh:targetClass ro-crate:RootDataEntity ;
194-
sh:severity sh:Warning ;
195194

196195
sh:sparql [
197196
a sh:SPARQLConstraint ;
@@ -208,6 +207,7 @@ five-safes-crate:RootDataEntitySHOULDMentionDownloadActionIfPresent
208207
}
209208
}
210209
""" ;
210+
sh:severity sh:Warning ;
211211
sh:message "RootDataEntity SHOULD mention DownloadAction if this exists." ;
212212
] .
213213

@@ -293,9 +293,9 @@ five-safes-crate:DownloadedWorkflowSHOULDExistAndBeReferencedByDownloadActionRes
293293
}
294294
}
295295
""" ;
296+
sh:severity sh:Info ;
297+
sh:message "The entity representing the downloaded workflow is not defined, OR is not referenced by `DownloadAction` --> `result`, OR is not of type `Dataset`." ;
296298
] ;
297-
sh:severity sh:Info ;
298-
sh:message "The entity representing the downloaded workflow is not defined, OR is not referenced by `DownloadAction` --> `result`, OR is not of type `Dataset`." ;
299299
] .
300300

301301

@@ -338,4 +338,4 @@ five-safes-crate:DownloadActionMayHaveStartTimeIfBegun
338338
"is either ActiveActionStatus, CompletedActionStatus or FailedActionStatus."
339339
);
340340
sh:message "`DownloadAction` MAY have the `startTime` property if `actionStatus` is either ActiveActionStatus, CompletedActionStatus or FailedActionStatus." ;
341-
] .
341+
] .

0 commit comments

Comments
 (0)