Types

object Types

Helper types to reduce code verbosity

Note:

For types related to the validation pipeline, we drag errors inside instances of Either so that they don't reach the Stream and stop it This way, when an error occurs, we can still emit ValidationResults

Source:
Validator.scala
class Object
trait Matchable
class Any
Types.type

Type members

Types

type RDFValidationItem = Either[Throwable, Resource[IO, RDFAsJenaModel]]

Type representing a Cats Effect resource containing RDF Data ready to be used and then discarded

Type representing a Cats Effect resource containing RDF Data ready to be used and then discarded

Left shall contain any error thrown during the RDF parsing process

Source:
Validator.scala
type RDFValidationReport = Either[Throwable, Result]

Type representing the results of a schema validation over some RDF data

Type representing the results of a schema validation over some RDF data

Left shall contain any error thrown during the RDF validation process

Source:
Validator.scala