Skip to content

Commit 5635d01

Browse files
authored
Merge pull request #91 from eScienceLab/74-flatten-7_requested_workflow_runttl-files
Merged `7_requested_workflow_run.tll` files.
2 parents 7c2c950 + 58df150 commit 5635d01

2 files changed

Lines changed: 23 additions & 36 deletions

File tree

rocrate_validator/profiles/five-safes-crate/must/7_requested_workflow_run.ttl renamed to rocrate_validator/profiles/five-safes-crate/7_requested_workflow_run.ttl

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

2424

25+
#=== MUST shapes ===#
26+
2527
five-safes-crate:RootDataEntityMentionsWorkflowRunAction
2628
a sh:NodeShape ;
2729
sh:name "RootDataEntity" ;
@@ -46,6 +48,7 @@ five-safes-crate:WorkflowRunActionExistence
4648
sh:name "RootDataEntity" ;
4749
sh:targetClass ro-crate:RootDataEntity ;
4850
sh:description "" ;
51+
sh:severity sh:Violation ;
4952

5053
sh:sparql [
5154
a sh:SPARQLConstraint ;
@@ -83,3 +86,23 @@ five-safes-crate:WorkflowRunObject
8386
""" ;
8487
sh:message "In the `CreateAction` entity corresponding to the workflow run, each `object` MUST reference an existing entity." ;
8588
] .
89+
90+
91+
#=== SHOULD shapes ===#
92+
93+
# WorkflowRunAction SHOULD have object property with minimum cardinality 1
94+
five-safes-crate:WorkflowRunActionShouldHaveObjectProperty
95+
a sh:NodeShape ;
96+
sh:targetClass ro-crate:WorkflowRunAction ;
97+
sh:name "WorkflowRunAction" ;
98+
sh:property [
99+
sh:path schema:object ;
100+
sh:minCount 1 ;
101+
sh:nodeKind sh:IRI ;
102+
sh:severity sh:Warning ;
103+
sh:message "`CreateAction` (corresponding to the workflow run) SHOULD have the property `object` with IRI values." ;
104+
] .
105+
106+
107+
#=== MAY shapes ===#
108+
# (none)

rocrate_validator/profiles/five-safes-crate/should/7_requested_workflow_run.ttl

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)