[data-shapes] [UI] Support for Nested Node Shape Selection (#539)

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

== [UI] Support for Nested Node Shape Selection ==
Provide a mechanism to select a suitable node shape when multiple shapes match the node target.

Example: A user selects a value for their home country. Based on the selected country, a suitable shape matching the node value is used to display a nested address form. The nested address form may have different fields with different layout arrangement depending on the country.

Discussion:
- Clarify the example
- Does this use `sh:node`? Or maybe `sh:or`?
- More than one node shape may match. Should this prompt the user to select one? Or should there be a rule system to select the most suitable shape based on some criteria?

Links:
- [SHACL 1.2 Core - sh:node](https://www.w3.org/TR/shacl12-core/#NodeConstraintComponent)
- [SHACL 1.2 Core - sh:or](https://www.w3.org/TR/shacl12-core/#OrConstraintComponent)

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


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

Received on Thursday, 28 August 2025 04:06:57 UTC