File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
rocrate_validator/profiles/five-safes-crate/must Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,22 @@ five-safes-crate:TimeStampFormat
2626 a sh:NodeShape ;
2727 sh:name " Timestamp Format" ;
2828 sh:description " Timestamps MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
29- sh:targetObjectsOf schema:startTime, schema:endTime;
30- 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})$" ;
31- sh:severity sh:Violation ;
32- sh:message " All `startTime` and `endTime` values MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." .
29+ sh:targetSubjectsOf schema:startTime, schema:endTime;
30+ sh:property [
31+ a sh:PropertyShape ;
32+ sh:name " End TimeStamp" ;
33+ sh:path schema:endTime ;
34+ sh:minCount 0 ;
35+ 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})$" ;
36+ sh:severity sh:Violation ;
37+ sh:message " All `startTime` and `endTime` values MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
38+ ] ;
39+ sh:property [
40+ a sh:PropertyShape ;
41+ sh:name " Start TimeStamp" ;
42+ sh:path schema:startTime ;
43+ sh:minCount 0 ;
44+ 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})$" ;
45+ sh:severity sh:Violation ;
46+ sh:message " All `startTime` and `endTime` values MUST follow the RFC 3339 standard (YYYY-MM-DD'T'hh:mm:ss[.fraction](Z | ±hh:mm))." ;
47+ ] .
You can’t perform that action at this time.
0 commit comments