com.eclipsesource.schema

Members list

Type members

Classlikes

final case class CompoundSchemaType(alternatives: Seq[SchemaType]) extends SchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
implicit class FailureExtensions(errors: Seq[(JsPath, Seq[JsonValidationError])])

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed trait HasProps[A]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SchemaArray
class SchemaObject
class SchemaRef
class SchemaTuple
object JsonSource

Convenience class for obtaining JSON values and Schemas from different sources.

Convenience class for obtaining JSON values and Schemas from different sources.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
JsonSource.type
sealed trait PrimitiveSchemaType extends SchemaType

Attributes

Supertypes
trait SchemaType
class Object
trait Matchable
class Any
Known subtypes
implicit class ScalazEitherExtensionOps[A](either: JsonValidationError \/ A)

Attributes

Supertypes
class Object
trait Matchable
class Any
final case class SchemaArray(item: SchemaType, constraints: ArrayConstraints, otherProps: Seq[(String, SchemaType)]) extends SchemaArrayLike, HasProps[SchemaArray]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
sealed trait SchemaArrayLike extends SchemaType

Attributes

Supertypes
trait SchemaType
class Object
trait Matchable
class Any
Known subtypes
class SchemaArray
class SchemaTuple
final case class SchemaBoolean(constraints: AnyConstraints) extends PrimitiveSchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all

Allows customizations of the validation process.

Allows customizations of the validation process.

Attributes

Supertypes
class Object
trait Matchable
class Any
trait SchemaFormat

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EmailFormat
object IPv4Format
object IPv6Format
object Int32Format
object Int64Format
object RegexFormat
object UriFormat
object UuidFormat
Show all
final case class SchemaInteger(constraints: NumberConstraints) extends PrimitiveSchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
final case class SchemaMap(name: String, members: Seq[SchemaProp]) extends SchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
final case class SchemaNull(constraints: AnyConstraints) extends PrimitiveSchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
final case class SchemaNumber(constraints: NumberConstraints) extends PrimitiveSchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
final case class SchemaObject(properties: Seq[SchemaProp], constraints: ObjectConstraints, otherProps: Seq[(String, SchemaType)]) extends SchemaObjectLike, HasProps[SchemaObject]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
sealed trait SchemaObjectLike extends SchemaType

Attributes

Supertypes
trait SchemaType
class Object
trait Matchable
class Any
Known subtypes
class SchemaObject
case class SchemaProp(name: String, schemaType: SchemaType)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class SchemaRef(ref: Ref, constraints: AnyConstraints, otherProps: Seq[(String, SchemaType)]) extends SchemaType, HasProps[SchemaRef]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
case class SchemaResolutionContext(refResolver: SchemaRefResolver, scope: SchemaResolutionScope, formats: Map[String, SchemaFormat])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class SchemaRoot($schema: Option[SchemaVersion], schema: SchemaType) extends SchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
final case class SchemaSeq(members: Seq[SchemaType]) extends SchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
final case class SchemaString(constraints: StringConstraints) extends PrimitiveSchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
final case class SchemaTuple(items: Seq[SchemaType], constraints: ArrayConstraints, otherProps: Seq[(String, SchemaType)]) extends SchemaArrayLike, HasProps[SchemaTuple]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all
sealed trait SchemaType

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
implicit class SchemaTypeExtensionOps[S <: SchemaType](schemaType: S)

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class SchemaValidator(val schemaVersion: Option[SchemaVersion], val formats: Map[String, SchemaFormat], val resolverFactory: UrlStreamResolverFactory, val cache: DocumentCache)(implicit val lang: Lang)

The schema validator.

The schema validator.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
final case class SchemaValue(value: JsValue) extends SchemaType

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait SchemaWrites
trait SchemaReads
class Object
trait Matchable
class Any
Known subtypes
trait Version4
object Version4
trait Version7
object Version7
implicit class VAExtensions[O](va: VA[O])

Attributes

Supertypes
class Object
trait Matchable
class Any

Implicits

Implicits

final implicit def FailureExtensions(errors: Seq[(JsPath, Seq[JsonValidationError])]): FailureExtensions
final implicit def ScalazEitherExtensionOps[A](either: JsonValidationError \/ A): ScalazEitherExtensionOps[A]
final implicit def SchemaTypeExtensionOps[S <: SchemaType](schemaType: S): SchemaTypeExtensionOps[S]
final implicit def VAExtensions[O](va: VA[O]): VAExtensions[O]
implicit def noValidator[S <: SchemaType]: SchemaTypeValidator[S]