Skip to content

Commit c0bd05f

Browse files
committed
update endtimestamp pattern
1 parent bed01cf commit c0bd05f

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

rocrate_validator/profiles/five-safes-crate/shape_library.ttl

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,11 @@
2424
@prefix shp: <https://w3id.org/shp#> .
2525

2626

27-
28-
29-
30-
five-safes-crate:TimeStamp
31-
a sh:NodeShape ;
32-
sh:description "why a description" ;
33-
sh:datatype xsd:string ;
34-
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})$" ;
35-
sh:message "why is this needed?" .
36-
37-
38-
3927
five-safes-crate:EndTimeStamp
4028
a sh:NodeShape ;
4129
sh:property [
4230
sh:datatype xsd:string ;
43-
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})$" ;
31+
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})$" ;
4432
sh:description "End Time Check" ;
4533
sh:path schema:endTime ;
4634
sh:minCount 1 ;

0 commit comments

Comments
 (0)