Quantcast
Viewing all articles
Browse latest Browse all 220

[data-shapes] Distinguish between UI and and non-UI property shapes (#332)

kvistgaard has just created a new issue for https://github.com/w3c/data-shapes:

== Distinguish between UI and and non-UI property shapes ==
When a SHACL shapes graph is used to control the UI, there is a need to distinguish between property shapes created for form control and those created for validation only or meant to appear as field in the web form. The current solutions on the market are application-specific.

The suggestion is that the shapes files should distinguish them by using the native `sh:group` with the convention: “If a property is in a shape that belongs to a property group, it should appear in the interface; otherwise, such a shape is used only for validation, and such property shape should have no effect on the web form.” The SHACL-compliant tools should have an internal logic that respects this rule.

There might be other approaches, but this one is the least invasive and doesn't affect the SHACL vocabulary. 


Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/332 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Viewing all articles
Browse latest Browse all 220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>