diff --git a/shacl12-core/index.html b/shacl12-core/index.html index b23d37b2..48ee624a 100644 --- a/shacl12-core/index.html +++ b/shacl12-core/index.html @@ -1486,10 +1486,6 @@
- Validation engines MAY treat sh:Info and sh:Warning as non-violating based on
- options passed to the engine. By default, they are treated as violations.
-
In addition to declaring severities per shape, the property sh:severity can also be used
on a reifier for a triple where the shape is the subject and one of the parameters
@@ -1503,8 +1499,8 @@
The remainder of this section is informative.
- The specific values of sh:severity have no impact on the validation,
- but MAY be used by user interface tools to categorize validation results.
+ The validation process handles the values of sh:severity according to conformance checking.
+ Additionally, user interface tools MAY use the values to categorize validation results.
The values of sh:severity are used by SHACL processors to populate the sh:resultSeverity field of
validation results, see section on severity in validation results.
Any IRI can be used as a severity.
@@ -2280,10 +2276,16 @@
- A focus node conforms to a shape if and only if - the set of result of the validation of the focus node against the shape does not contain any results with a severity level representing a violation and no failure + A focus node conforms to a shape if and only if + the set of result of the validation of the focus node against the shape does not contain any validation results with a severity level of the set of disallowed levels and no failure has been reported by it.
+
+ The set of disallowed severity levels is defined as the objects of triples with predicate
+ sh:conformanceDisallows and the validation report as subject.
+ If the validation report contains no such triples, sh:Violation, sh:Warning, and
+ sh:Info are set as defaults.
+
Conformance checking produces true if and only if a given focus node
conforms to a given shape, and false otherwise.
@@ -2316,9 +2318,19 @@
+ Each SHACL instance of sh:ValidationReport in the results graph MAY have one or more values
+ for the property sh:conformanceDisallows. All values of sh:conformanceDisallows MUST be IRIs.
+
+ All values combined define the set of disallowed
+ severity levels. Presence of any sh:ValidationResult with a severity level in the set of
+ disallowed severity levels MUST result in a sh:conforms value
+ of false on the associated sh:ValidationReport instance.
+
+ If no values are present in the results graph for the property
+ sh:conformanceDisallows, then a default set MUST be used, comprised of
+ sh:Violation, sh:Warning, and sh:Info.
+
+ The conformance-disallow set is defined by the validation engine. + A validation engine MAY provide mechanisms to customize this set.
sh:ReifierShape; see Issue 300sh:conformanceDisallows property to the validation report; see Issue 453sh:targetWhere and sh:shape, see Issue 517