- From: Jesse Wright via GitHub <sysbot+gh@w3.org>
- Date: Mon, 26 May 2025 20:27:41 +0000
- To: public-shacl@w3.org
jeswr has just created a new issue for https://github.com/w3c/data-shapes:
== feat: better support for collections ==
It would be nice to have the constraint `sh:listOf` that could be used as follows - used to state that the object should be a collection with contents satisfying given constraints:
```ttl
sh:property [
sh:path ex:speakerOrder ;
sh:listOf [
sh:nodeKind IRI ;
] ;
sh:maxCount 1
] .
```
If not feasible to add to the core spec in 1.2 - then we may wish to still have shorthand in SHACL-C which gets expanded to something that looks like http://www.w3.org/ns/shacl-shacl#ListNodeShape .
Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/391 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 26 May 2025 20:27:42 UTC