Skip to content

Commit 8f19274

Browse files
committed
completion of amended error messages for workflowrun / createaction
1 parent 2bd4354 commit 8f19274

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

rocrate_validator/profiles/five-safes-crate/should/10_outputs.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
five-safes-crate:WorkflowRunHasResultIfActionCompleted
2626
a sh:NodeShape ;
2727
sh:name "WorkflowRun" ;
28-
sh:description "`WorkflowRun` with CompletedActionStatus SHOULD have the `schema:result` property." ;
28+
sh:description "The `CreateAction` corresponding to the workflow run, with CompletedActionStatus, SHOULD have the `schema:result` property." ;
2929

3030
sh:target [
3131
a sh:SPARQLTarget ;
3232
sh:name "WorkflowRun" ;
33-
sh:description "`WorkflowRun` with CompletedActionStatus SHOULD have the `result` property." ;
33+
sh:description "The `CreateAction` corresponding to the workflow run, with CompletedActionStatus, SHOULD have the `result` property." ;
3434
sh:prefixes ro-crate:sparqlPrefixes ;
3535
sh:select """
3636
SELECT ?this WHERE {
@@ -47,7 +47,7 @@ five-safes-crate:WorkflowRunHasResultIfActionCompleted
4747
sh:path schema:result ;
4848
sh:minCount 1 ;
4949
sh:severity sh:Warning ;
50-
sh:message "`WorkflowRun` with CompletedActionStatus SHOULD have the `result` property." ;
50+
sh:message "The `CreateAction` corresponding to the workflow run, with CompletedActionStatus, SHOULD have the `result` property." ;
5151
] .
5252

5353

rocrate_validator/profiles/five-safes-crate/should/11_workflow_execution_phase.ttl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
five-safes-crate:RootDataEntityShouldMentionWorkflow
2727
a sh:NodeShape ;
2828
sh:name "RootDataEntity" ;
29-
sh:description "RootDataEntity SHOULD mention workflow execution object (typed WorkflowRun)." ;
29+
sh:description "RootDataEntity SHOULD mention a workflow run object (typed CreateAction)." ;
3030
sh:targetClass ro-crate:RootDataEntity ;
3131
sh:sparql [
3232
a sh:SPARQLConstraint ;
@@ -44,15 +44,15 @@ five-safes-crate:RootDataEntityShouldMentionWorkflow
4444
}
4545
""" ;
4646
sh:severity sh:Warning ;
47-
sh:message "RootDataEntity SHOULD mention workflow execution object (typed WorkflowRun)." ;
47+
sh:message "RootDataEntity SHOULD mention a workflow run object (typed CreateAction)." ;
4848
] .
4949

5050

5151

5252
five-safes-crate:WorkflowexecutionObjectHasEndTimeIfEnded
5353
a sh:NodeShape ;
5454
sh:name "WorkflowExecution" ;
55-
sh:description "The workflow execution object SHOULD have an endTime property if it has ended." ;
55+
sh:description "The workflow run object SHOULD have an endTime property if it has ended." ;
5656

5757
sh:target [
5858
a sh:SPARQLTarget ;

0 commit comments

Comments
 (0)