com.eclipsesource.schema
package com.eclipsesource.schema
Members list
Packages
package com.eclipsesource.schema.drafts
Type members
Classlikes
final case class CompoundSchemaType(alternatives: Seq[SchemaType]) extends SchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
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 Objecttrait Matchableclass Any
- Self type
-
JsonSource.type
sealed trait PrimitiveSchemaType extends SchemaType
Attributes
- Supertypes
- Known subtypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
final case class SchemaArray(item: SchemaType, constraints: ArrayConstraints, otherProps: Seq[(String, SchemaType)]) extends SchemaArrayLike, HasProps[SchemaArray]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HasProps[SchemaArray]trait SchemaArrayLiketrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
sealed trait SchemaArrayLike extends SchemaType
Attributes
- Supertypes
- Known subtypes
-
class SchemaArrayclass SchemaTuple
final case class SchemaBoolean(constraints: AnyConstraints) extends PrimitiveSchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PrimitiveSchemaTypetrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
trait SchemaConfigOptions
Allows customizations of the validation process.
Allows customizations of the validation process.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
trait SchemaFormat
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object DatetimeFormatobject EmailFormatobject HostnameFormatobject IPv4Formatobject IPv6Formatobject Int32Formatobject Int64Formatobject RegexFormatobject UriFormatobject UuidFormatShow all
final case class SchemaInteger(constraints: NumberConstraints) extends PrimitiveSchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PrimitiveSchemaTypetrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
final case class SchemaMap(name: String, members: Seq[SchemaProp]) extends SchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
final case class SchemaNull(constraints: AnyConstraints) extends PrimitiveSchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PrimitiveSchemaTypetrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
final case class SchemaNumber(constraints: NumberConstraints) extends PrimitiveSchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PrimitiveSchemaTypetrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
final case class SchemaObject(properties: Seq[SchemaProp], constraints: ObjectConstraints, otherProps: Seq[(String, SchemaType)]) extends SchemaObjectLike, HasProps[SchemaObject]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HasProps[SchemaObject]trait SchemaObjectLiketrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
sealed trait SchemaObjectLike extends SchemaType
Attributes
- Supertypes
- Known subtypes
-
class SchemaObject
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class SchemaRef(ref: Ref, constraints: AnyConstraints, otherProps: Seq[(String, SchemaType)]) extends SchemaType, HasProps[SchemaRef]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
case class SchemaResolutionContext(refResolver: SchemaRefResolver, scope: SchemaResolutionScope, formats: Map[String, SchemaFormat])
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class SchemaRoot($schema: Option[SchemaVersion], schema: SchemaType) extends SchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
final case class SchemaSeq(members: Seq[SchemaType]) extends SchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
final case class SchemaString(constraints: StringConstraints) extends PrimitiveSchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PrimitiveSchemaTypetrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
final case class SchemaTuple(items: Seq[SchemaType], constraints: ArrayConstraints, otherProps: Seq[(String, SchemaType)]) extends SchemaArrayLike, HasProps[SchemaTuple]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait HasProps[SchemaTuple]trait SchemaArrayLiketrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CompoundSchemaTypetrait PrimitiveSchemaTypeclass SchemaBooleanclass SchemaIntegerclass SchemaNullclass SchemaNumberclass SchemaStringtrait SchemaArrayLikeclass SchemaArrayclass SchemaTupleclass SchemaMaptrait SchemaObjectLikeclass SchemaObjectclass SchemaRefclass SchemaRootclass SchemaSeqclass SchemaValueShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
object SchemaValidator
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SchemaValidator.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.
final case class SchemaValue(value: JsValue) extends SchemaType
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaTypeclass Objecttrait Matchableclass AnyShow all
trait SchemaVersion extends SchemaReads, SchemaWrites
Attributes
- Supertypes
- Known subtypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass 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]
In this article