File tree Expand file tree Collapse file tree
rocrate_validator/profiles/five-safes-crate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ five-safes-crate:WorkflowMustHaveDescriptiveName
3333 sh:property [
3434 a sh:PropertyShape ;
3535 sh:name " name" ;
36- sh:minCount 1 ;
36+ sh:minCount 1 ;
3737 sh:description " The `CreateAction` corresponding to the workflow run MUST have a name string of at least 10 characters." ;
3838 sh:path schema:name ;
3939 sh:datatype xsd:string ;
@@ -66,31 +66,6 @@ five-safes-crate:WorkflowMustHaveActionStatusWithAllowedValues
6666
6767# === SHOULD shapes ===#
6868
69- five-safes-crate:RootDataEntityShouldMentionWorkflow
70- a sh:NodeShape ;
71- sh:name " RootDataEntity" ;
72- sh:description " RootDataEntity SHOULD mention workflow execution object (typed WorkflowRunAction)." ;
73- sh:targetClass ro-crate:RootDataEntity ;
74- sh:severity sh:Warning ;
75-
76- sh:sparql [
77- a sh:SPARQLConstraint ;
78- sh:name " mentions" ;
79- sh:select """
80- PREFIX schema: <http://schema.org/>
81- PREFIX rocrate: <https://github.com/crs4/rocrate-validator/profiles/ro-crate/>
82- SELECT $this
83- WHERE {
84- FILTER NOT EXISTS {
85- $this schema:mentions ?workflowExecution .
86- ?workflowExecution a rocrate:WorkflowRunAction .
87- }
88- }
89- """ ;
90- sh:message " RootDataEntity SHOULD mention workflow execution object (typed WorkflowRunAction)." ;
91- ] .
92-
93-
9469five-safes-crate:WorkflowexecutionObjectHasEndTimeIfEnded
9570 a sh:NodeShape ;
9671 sh:name " WorkflowExecution" ;
You can’t perform that action at this time.
0 commit comments