From 841f53b04efe0e4f6754009bbf3b6fc6654e2f63 Mon Sep 17 00:00:00 2001 From: Sanu Ann Date: Fri, 18 Dec 2020 00:45:53 -0500 Subject: [PATCH] add allow in AddProperties in shacl file --- .gitignore | 1 + reproschema/tests/reproschema-shacl.ttl | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 846dc44..1b74800 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,7 @@ share/python-wheels/ .installed.cfg *.egg MANIFEST +.DS_Store # PyInstaller # Usually these files are written by a python script from a template diff --git a/reproschema/tests/reproschema-shacl.ttl b/reproschema/tests/reproschema-shacl.ttl index a89f8ed..b7ccc3f 100644 --- a/reproschema/tests/reproschema-shacl.ttl +++ b/reproschema/tests/reproschema-shacl.ttl @@ -226,6 +226,10 @@ reproschema:AddPropertiesShape a sh:NodeShape ; [ sh:datatype xsd:boolean ; sh:path schema:valueRequired ], + [ sh:nodeKind sh:IRI ; + sh:in ( reproschema:AllowExport reproschema:DisableBack reproschema:AutoAdvance reproschema:AllowReplay reproschema:Skipped reproschema:DontKnow reproschema:TimedOut ) ; + sh:path reproschema:allow ], + [ sh:datatype rdf:langString ; sh:pattern "^P(?!$)(\\d+(?:\\.\\d+)?Y)?(\\d+(?:\\.\\d+)?M)?(\\d+(?:\\.\\d+)?W)?(\\d+(?:\\.\\d+)?D)?(T(?=\\d)(\\d+(?:\\.\\d+)?H)?(\\d+(?:\\.\\d+)?M)?(\\d+(?:\\.\\d+)?S)?)?$" ; sh:path reproschema:randomMaxDelay ],