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 |
Returns:
new instance
- Type
- this
Methods
clone() → {violation}
A clone of this violation object.
Returns:
a fresh violation...
- Type
- violation
explanations() → {String}
The list of explanation objects for this violation.
Returns:
string
- Type
- String
id() → {String}
The unique id of this violation.
Returns:
string
- Type
- String
node_id() → {String}
The unique id of this violation.
Returns:
string
- Type
- String