-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add severity levels that are not violations #192
Comments
I have never quite understood why sh:Info counts as a violation. |
We should have both;
The spec could explicitly mention that an implementation is allowed to have a parameter to change the severity level where the result becomes a failure/violation. With the default set to |
What about "positive" matches of nodes which validate successfully? |
As much as I support that because it would help finding cases where nothing was actually validated (no matching targets), we need to be careful around logical constraints. Think |
It may also be helpful to know what this tunable level was as part of the validation report. " |
It might require a new 3rd value for |
@robert-david I support this need because it's useful to know. Especially for simple shapes like "node reference shape" that can be used to classify nodes (ONTO Semantic Objects calls this "business type discriminator"). @tpluscode can we at least provide a limited definition of "positive match" to cover common modeling subsets of shape features? |
sh:Info
,sh:Warning
, andsh:Violation
are defined as violations. It would be good to have severity levels not defined as violations. They could show detailed information on which constraints have been processed.shacl-engine
already uses two new levels in its own namespace:Debug
: Shows that a constraint has been processed.Trace
: For property shapes without constraints showing the traversal path.The text was updated successfully, but these errors were encountered: