Skip to content

Commit 7588d59

Browse files
committed
remove timestamp checks from other files
1 parent 00a0f8b commit 7588d59

7 files changed

Lines changed: 4 additions & 125 deletions

File tree

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

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -41,38 +41,6 @@ five-safes-crate:WorkflowMustHaveDescriptiveName
4141
] .
4242

4343

44-
five-safes-crate:WorkflowexecutionObjectHasCompliantStartTimeFormat
45-
a sh:NodeShape ;
46-
sh:name "WorkflowExecution" ;
47-
sh:description "The startTime of the workflow execution object MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
48-
sh:targetClass schema:CreateAction ;
49-
50-
sh:property [
51-
a sh:PropertyShape ;
52-
sh:name "StartTime" ;
53-
sh:path schema:startTime ;
54-
sh:minCount 0 ;
55-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
56-
sh:severity sh:Violation ;
57-
sh:message "The startTime of the workflow execution object MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
58-
] .
59-
60-
61-
five-safes-crate:WorkflowexecutionObjectHasCompliantEndTimeFormat
62-
a sh:NodeShape ;
63-
sh:name "WorkflowExecution" ;
64-
sh:description "The endTime of the workflow execution object MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
65-
sh:targetClass schema:CreateAction ;
66-
67-
sh:property [
68-
a sh:PropertyShape ;
69-
sh:name "EndTime" ;
70-
sh:path schema:endTime ;
71-
sh:minCount 0 ;
72-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
73-
sh:severity sh:Violation ;
74-
sh:message "The endTime of the workflow execution object MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
75-
] .
7644

7745

7846
five-safes-crate:WorkflowMustHaveActionStatusWithAllowedValues

rocrate_validator/profiles/five-safes-crate/must/12_check_phase.ttl

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,10 @@ five-safes-crate:CheckValueStartTimeMustFollowISOStandard
7575
7676
}
7777
""" ;
78-
] ;
79-
80-
sh:property [
81-
a sh:PropertyShape ;
82-
sh:name "StartTime" ;
83-
sh:path schema:startTime ;
84-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}([.|,][0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
85-
sh:severity sh:Violation ;
86-
sh:message "`CheckValue` --> `startTime` MUST follows the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
8778
] .
8879

8980

81+
9082
five-safes-crate:CheckValueEndTimeMustFollowISOStandard
9183
a sh:NodeShape ;
9284
sh:name "CheckValue" ;
@@ -103,15 +95,6 @@ five-safes-crate:CheckValueEndTimeMustFollowISOStandard
10395
10496
}
10597
""" ;
106-
] ;
107-
108-
sh:property [
109-
a sh:PropertyShape ;
110-
sh:name "EndTime" ;
111-
sh:path schema:endTime ;
112-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}([.|,][0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
113-
sh:severity sh:Violation ;
114-
sh:message "`CheckValue` --> `endTime` MUST follows the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
11598
] .
11699

117100

rocrate_validator/profiles/five-safes-crate/must/13_validation_phase.ttl

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -141,19 +141,10 @@ five-safes-crate:ValidationCheckStartTimeMUSTFollowISOStandard
141141
?this schema:additionalType shp:ValidationCheck .
142142
}
143143
""" ;
144-
] ;
145-
146-
sh:property [
147-
a sh:PropertyShape ;
148-
sh:name "StartTime" ;
149-
sh:minCount 0;
150-
sh:path schema:startTime ;
151-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}([.|,][0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
152-
sh:severity sh:Violation ;
153-
sh:message "ValidationCheck --> `startTime` MUST follows the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
154144
] .
155145

156146

147+
157148
five-safes-crate:ValidationCheckEndTimeMUSTFollowISOStandard
158149
a sh:NodeShape ;
159150
sh:name "ValidationCheck" ;
@@ -169,14 +160,4 @@ five-safes-crate:ValidationCheckEndTimeMUSTFollowISOStandard
169160
?this schema:additionalType shp:ValidationCheck .
170161
}
171162
""" ;
172-
] ;
173-
174-
sh:property [
175-
a sh:PropertyShape ;
176-
sh:name "EndTime" ;
177-
sh:minCount 0;
178-
sh:path schema:endTime ;
179-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}([.|,][0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
180-
sh:severity sh:Violation ;
181-
sh:message "ValidationCheck --> `endTime` MUST follows the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
182-
] .
163+
] .

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

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -41,38 +41,6 @@ five-safes-crate:DownloadActionObjectMUSTHavesDescriptiveName
4141
sh:message "DownloadAction MUST have a human readable name string." ;
4242
] .
4343

44-
five-safes-crate:DownloadActionStartTimeMUSTFollowISOStandard
45-
a sh:NodeShape ;
46-
sh:name "DownloadAction" ;
47-
sh:description "" ;
48-
sh:targetClass schema:DownloadAction ;
49-
50-
sh:property [
51-
a sh:PropertyShape ;
52-
sh:name "StartTime" ;
53-
sh:minCount 0;
54-
sh:path schema:startTime ;
55-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}([.|,][0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
56-
sh:severity sh:Violation ;
57-
sh:message "`DownloadAction` --> `startTime` MUST follows the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
58-
] .
59-
60-
61-
five-safes-crate:DownloadActionEndTimeMUSTFollowISOStandard
62-
a sh:NodeShape ;
63-
sh:name "DownloadAction" ;
64-
sh:description "" ;
65-
sh:targetClass schema:DownloadAction ;
66-
67-
sh:property [
68-
a sh:PropertyShape ;
69-
sh:name "EndTime" ;
70-
sh:minCount 0;
71-
sh:path schema:endTime ;
72-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}([.|,][0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
73-
sh:severity sh:Violation ;
74-
sh:message "`DownloadAction` --> `endTime` MUST follows the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
75-
] .
7644

7745

7846
five-safes-crate:WorkflowSameAsAndRootDataEntityMainEntityMUSTBeTheSame

rocrate_validator/profiles/five-safes-crate/must/8_disclosure_phase.ttl

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -116,18 +116,9 @@ five-safes-crate:DisclosureObjectHasCompliantStartTimeFormat
116116
schema:startTime ?o
117117
}
118118
""" ;
119-
] ;
120-
121-
sh:property [
122-
a sh:PropertyShape ;
123-
sh:name "StartTime" ;
124-
sh:path schema:startTime ;
125-
sh:minCount 0 ;
126-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}([.|,][0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
127-
sh:severity sh:Violation ;
128-
sh:message "`DisclosureCheck` --> `startTime` MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
129119
] .
130120

121+
131122

132123
five-safes-crate:DisclosureObjectHasCompliantEndTimeFormat
133124
a sh:NodeShape ;
@@ -145,14 +136,4 @@ five-safes-crate:DisclosureObjectHasCompliantEndTimeFormat
145136
schema:endTime ?o
146137
}
147138
""" ;
148-
] ;
149-
150-
sh:property [
151-
a sh:PropertyShape ;
152-
sh:name "EndTime" ;
153-
sh:path schema:endTime ;
154-
sh:minCount 0 ;
155-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}([.|,][0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
156-
sh:severity sh:Violation ;
157-
sh:message "`DisclosureCheck` --> `endTime` MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
158139
] .

rocrate_validator/profiles/five-safes-crate/should/12_check_phase.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,3 @@ five-safes-crate:CheckValueShouldHaveActionStatus
188188
sh:severity sh:Warning ;
189189
sh:message "CheckValue SHOULD have actionStatus property." ;
190190
] .
191-

rocrate_validator/profiles/five-safes-crate/should/4_sign_off.ttl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ five-safes-crate:SignOffPhaseEndTime
171171
sh:path schema:endTime ;
172172
sh:minCount 1 ;
173173
sh:maxCount 1 ;
174-
sh:pattern "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}:[0-9]{2}([.|,][0-9]+)?(Z|z|[+-][0-9]{2}:[0-9]{2})$" ;
175174
sh:severity sh:Warning ;
176175
sh:description "Sign Off object SHOULD have endTime property if action completed or failed. This must follow ISO-8601 syntax" ;
177176
sh:message "Sign Off object SHOULD have endTime property if action completed or failed. This must follow ISO-8601 syntax" ;

0 commit comments

Comments
 (0)