rdf-validate-shacl
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -10,6 +10,12 @@ | ||
## 0.2.1 (2020-05-25) | ||
* Fix `ValidationResult.severity` not returning anything | ||
## 0.2.0 (2020-05-25) | ||
* [BREAKING] Change `ValidationReport` and `ValidationResult` shorthand | ||
properties to return RDF terms instead of strings (#30). | ||
properties to return RDF terms instead of strings | ||
[[#30](https://github.com/zazuko/rdf-validate-shacl/issues/30)] | ||
@@ -19,3 +25,4 @@ | ||
* Mitigate conflicting blank node issue when using default data factory (#25) | ||
* Mitigate conflicting blank node issue when using default data factory | ||
[[#25](https://github.com/zazuko/rdf-validate-shacl/issues/25)] | ||
@@ -22,0 +29,0 @@ |
{ | ||
"name": "rdf-validate-shacl", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "RDF SHACL validator", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -204,2 +204,3 @@ // Design: | ||
this.severity = context.$shapes.cf.node(shapeNode).out(sh.severity).term | ||
if (!this.severity) { | ||
@@ -206,0 +207,0 @@ this.severity = context.factory.ns.sh.Violation |
@@ -59,3 +59,3 @@ const clownface = require('clownface') | ||
get severity () { | ||
return this.cf.out(sh.severity).term || null | ||
return this.cf.out(sh.resultSeverity).term || null | ||
} | ||
@@ -62,0 +62,0 @@ |
395705