-
Notifications
You must be signed in to change notification settings - Fork 19
Description
I'd like to follow up on out conversation yesterday about using shapes for validation. Thinking further about common repository of shapes, used as shared knowledge between solid storage instances and apps. I see possibility that shape used for validation (and or discovery) would not stay colocated with resources that use it as a constraint, but it would just stay referenced by IRI in that common repository. Let's imagine shape denoted by https://w3id.org/solid/shapes/comment, resource on ACME's pod would use it through a statement
@prefix ldp: <http://www.w3.org/ns/ldp#> .
@prefix shapes: <http://w3id.org/solid/shapes/> .
@prefix acme: <https://acme.example/> .
acme:ld00cuc/ck17xaflb000001o1dgvx6vgt ldp:constrainedBy shapes:comment .In this case, only maintainers of https://w3id.org/solid/shapes/ can modify the actual shapes, or even keep them immutable and create new versions https://w3id.org/solid/shapes/comment/v1 etc.
Also maintainers of ACME's storage would only have access to modify references between resources and shapes, possibly using some storage administration app which allows applying shapes from common repositories to resources in storage.
Most users posting comments on ACME's discussion board, would use apps of their choice, each one producing data conforming to selected shapes (from https://w3id.org/solid/shapes/ repository) but those apps would not even have any functionality to modify shape references, even less modifying any shapes themselves.