@@ -41,10 +41,10 @@ five-safes-crate:WorkflowMustHaveDescriptiveName
4141 ] .
4242
4343
44- five-safes-crate:WorkflowexecutionObjectHasStartTimeIfBegun
44+ five-safes-crate:WorkflowexecutionObjectHasCompliantStartTimeFormat
4545 a sh:NodeShape ;
4646 sh:name " WorkflowExecution" ;
47- sh:description " The workflow execution object MUST have a startTime property with a valid datetime if it has begun ." ;
47+ sh:description " The startTime of the workflow execution object MUST follow the RFC 3339 standard ." ;
4848
4949 sh:target [
5050 a sh:SPARQLTarget ;
@@ -55,12 +55,7 @@ five-safes-crate:WorkflowexecutionObjectHasStartTimeIfBegun
5555 SELECT ?this
5656 WHERE {
5757 ?this rdf:type schema:CreateAction ;
58- schema:actionStatus ?status .
59- FILTER(?status IN (
60- "http://schema.org/CompletedActionStatus",
61- "http://schema.org/FailedActionStatus",
62- "http://schema.org/ActiveActionStatus"
63- ))
58+ schema:startTime ?time .
6459 }
6560 """ ;
6661 ] ;
@@ -69,19 +64,17 @@ five-safes-crate:WorkflowexecutionObjectHasStartTimeIfBegun
6964 a sh:PropertyShape ;
7065 sh:name " StartTime" ;
7166 sh:path schema:startTime ;
72- sh:minCount 1 ;
73- sh:maxCount 1 ;
7467 sh:pattern " ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(Z|[+-][0-9]{2}:[0-9]{2})$" ;
7568 sh:severity sh:Violation ;
76- sh:description " The workflow execution object MUST have a startTime property with a valid datetime if it has begun ." ;
77- sh:message " The workflow execution object MUST have a startTime property with a valid datetime if it has begun ." ;
69+ sh:description " The startTime of the workflow execution object MUST follow the RFC 3339 standard ." ;
70+ sh:message " The startTime of the workflow execution object MUST follow the RFC 3339 standard ." ;
7871 ] .
7972
8073
81- five-safes-crate:WorkflowexecutionObjectHasEndTimeIfEnded
74+ five-safes-crate:WorkflowexecutionObjectHasCompliantEndTimeFormat
8275 a sh:NodeShape ;
8376 sh:name " WorkflowExecution" ;
84- sh:description " The workflow execution object MUST have the endTime property with a valid datetime if it has ended ." ;
77+ sh:description " The endTime of the workflow execution object MUST follow the RFC 3339 standard ." ;
8578
8679 sh:target [
8780 a sh:SPARQLTarget ;
@@ -92,11 +85,7 @@ five-safes-crate:WorkflowexecutionObjectHasEndTimeIfEnded
9285 SELECT ?this
9386 WHERE {
9487 ?this rdf:type schema:CreateAction ;
95- schema:actionStatus ?status .
96- FILTER(?status IN (
97- "http://schema.org/CompletedActionStatus",
98- "http://schema.org/FailedActionStatus"
99- ))
88+ schema:endTime ?time .
10089 }
10190 """ ;
10291 ] ;
@@ -105,12 +94,10 @@ five-safes-crate:WorkflowexecutionObjectHasEndTimeIfEnded
10594 a sh:PropertyShape ;
10695 sh:name " EndTime" ;
10796 sh:path schema:endTime ;
108- sh:minCount 1 ;
109- sh:maxCount 1 ;
11097 sh:pattern " ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(Z|[+-][0-9]{2}:[0-9]{2})$" ;
11198 sh:severity sh:Violation ;
112- sh:description " The workflow execution object MUST have the endTime property with a valid datetime if it has ended ." ;
113- sh:message " The workflow execution object MUST have the endTime property with a valid datetime if it has ended ." ;
99+ sh:description " The endTime of the workflow execution object MUST follow the RFC 3339 standard ." ;
100+ sh:message " The endTime of the workflow execution object MUST follow the RFC 3339 standard ." ;
114101 ] .
115102
116103
@@ -122,7 +109,7 @@ five-safes-crate:WorkflowMustHaveActionStatusWithAllowedValues
122109 a sh:PropertyShape ;
123110 sh:minCount 1 ;
124111 sh:name " actionStatus" ;
125- sh:description " WorkflowExecution MUST have an actionStatus with an allowed value." ;
112+ sh:description " WorkflowExecution MUST have an actionStatus with an allowed value (see https://schema.org/ActionStatusType) ." ;
126113 sh:path schema:actionStatus ;
127114 sh:in (
128115 " http://schema.org/PotentialActionStatus"
@@ -131,5 +118,5 @@ five-safes-crate:WorkflowMustHaveActionStatusWithAllowedValues
131118 " http://schema.org/FailedActionStatus"
132119 ) ;
133120 sh:severity sh:Violation ;
134- sh:message " WorkflowExecution MUST have an actionStatus with an allowed value." ;
121+ sh:message " WorkflowExecution MUST have an actionStatus with an allowed value (see https://schema.org/ActionStatusType) ." ;
135122 ] .
0 commit comments