Capture precisely the data being affected by the given update which matches this shape, either before or after the update is applied to the state.
filtered updates where the affected subject matches this shape
a SHACL validation result if the apply produced a non-conformance, which was corrected
a SHACL validation result if the check produces a non-conformance
Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.9.2-edge.0 Source code licensed MIT. Privacy policy
Shapes are used to define patterns of data, which can be used to match or validate state and operations.
Declaration of a shape does not provide any runtime function by itself, but they can be used by other extensions and app code.
While this class implements
MeldConstraint
, shape checking is semantically weaker than constraint checking, as a violation (non-conformance) does not produce an exception but instead resolves a validation result. However, the constraint apply will attempt a correction in response to a non-conformance.https://www.w3.org/TR/shacl/#constraints-section