Class: violation

bbop-graph-noctua~violation(vobjopt) → {this}

new violation(vobjopt) → {this}

Model violations. These are currently ShEx oriented, but will be expanded into OWL, GO rules, etc. in the future. The current structure of the raw object looks like: : {"key": "contributor", "value": "GOC:kltm" }
Parameters:
Name Type Attributes Description
vobj Object <optional>
optional TBD object structure for violations
Source:
Returns:
new instance
Type
this

Methods

clone() → {violation}

A clone of this violation object.
Source:
Returns:
a fresh violation...
Type
violation

explanations() → {String}

The list of explanation objects for this violation.
Source:
Returns:
string
Type
String

id() → {String}

The unique id of this violation.
Source:
Returns:
string
Type
String

node_id() → {String}

The unique id of this violation.
Source:
Returns:
string
Type
String