TriggerShapeMap
sealed case class TriggerShapeMap(shapeMapText: String, shapeMapFormat: ShapeMapFormat, nodesPrefixMap: PrefixMap, shapesPrefixMap: PrefixMap) extends ValidationTrigger
Data class representing a validation trigger by shapeMap, as used in ShEx validations
- Value parameters:
- nodesPrefixMap
Prefix map of the RDF data being validated with this trigger, it will be autofilled before validation
- shapeMapFormat
ShapeMap format, needed to interpret the text
- shapeMapText
ShapeMap contents, as a raw String
- shapesPrefixMap
Prefix map of the Schema used for validation with this trigger, it will be autofilled before validation
- Note:
We may need an schema, but not data, this is because data arrives in Streams and it is not known beforehand until validation
- Source:
- TriggerShapeMap.scala
trait Serializable
trait Product
trait Equals
trait ValidationTrigger
class Object
trait Matchable
class Any
Value members
Concrete methods
Inherited methods
Concrete fields
Attempt to create the real ShaclEx ShapeMap model or return a list with the errors occurred
Attempt to create the real ShaclEx ShapeMap model or return a list with the errors occurred
- Note:
We reuse the shapes prefix map as the nodes prefix map
- Source:
- TriggerShapeMap.scala