Stateful SHACL validator (P3.1).
Holds a fixed set of shapes so callers can validate() repeatedly against different UGMs without re-passing the shape list each time. Internally delegates to validateShacl() and summarizeValidation().
validate()
validateShacl()
summarizeValidation()
const v = new ShaclValidator(shapes); const results = v.validate(ugm); const summary = v.summarize(results); Copy
const v = new ShaclValidator(shapes); const results = v.validate(ugm); const summary = v.summarize(results);
Stateful SHACL validator (P3.1).
Holds a fixed set of shapes so callers can
validate()repeatedly against different UGMs without re-passing the shape list each time. Internally delegates tovalidateShacl()andsummarizeValidation().Example