com.eclipsesource.schema.internal

Members list

Type members

Classlikes

implicit class EitherExtensions[A, B](either: Either[A, B])

Attributes

Supertypes
class Object
trait Matchable
class Any
object Keywords

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Keywords.type
object Results

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Results.type
object SchemaUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
SchemaUtil.type
implicit class TryExtensions[A](t: Try[A])

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Types

type InvalidProperties = Seq[VA[JsValue]]
type PropertyValidationResult = (String, VA[JsValue])
type Props = Seq[(String, JsValue)]
type ValidProperties = Seq[(String, JsValue)]
type ValidationStep[A] = ReaderWriterState[SchemaResolutionContext, Unit, VA[JsValue], A]

Type params in this order are:

Type params in this order are:

  • reader
  • writer
  • state
  • value

Attributes

Value members

Concrete methods

def collectSchemas(schema: SchemaType, resolutionScope: Option[Ref], knownSchemas: Map[String, SchemaType]): Map[String, SchemaType]

Traverse the given schema and returns a Map of Refs representing the resolution scope of the mapped schema elements.

Traverse the given schema and returns a Map of Refs representing the resolution scope of the mapped schema elements.

Value parameters

knownSchemas

Map containing all found scopes so far

resolutionScope

the current resolution scope

schema

the schema element to be traversed

Attributes

Returns

Map containing all found scopes

def failure(keyword: String, msg: String, schemaPath: Option[JsPath], instancePath: JsPath, instance: JsValue, additionalInfo: JsObject): Validated[JsonValidationError, JsValue]
def using[T <: { def close(): Unit; }, A](resource: T)(block: T => A): A

Implicits

Implicits

final implicit def EitherExtensions[A, B](either: Either[A, B]): EitherExtensions[A, B]
final implicit def TryExtensions[A](t: Try[A]): TryExtensions[A]
implicit def UnitSemigroup: Semigroup[Unit]