pkiraly/metadata-qa-api

MinLength

Opened this issue · 0 comments

MinLength := ref:numeric

sh:minLength

example:

<IssueShape> sh:property [ sh:predicate ex:submittedBy; sh:minLength 20 ] .
<issue1> ex:submittedBy <http://a.example/bob> . # 20 characters
<issue2> ex:submittedBy "Bob" . # 3 characters
<IssueShape>  <issue1>  pass
<IssueShape>  <issue2>  fail  ex:submittedOn expected to be >= 20 characters, 3 characters found.