AllOf

net.hamnaberg.schema.structure$.AllOf
final case class AllOf[A](value: Type[Schema[A]], targetSchema: Option[Schema[A]]) extends Schema[A]

Attributes

Source
Schema.scala
Graph
Supertypes
trait Schema[A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def asList(reference: Option[Reference], min: Option[Int], max: Option[Int]): Schema[List[A]]

Attributes

Inherited from:
Schema
Source
Schema.scala
def asSeq(reference: Option[Reference], min: Option[Int], max: Option[Int]): Schema[Seq[A]]

Attributes

Inherited from:
Schema
Source
Schema.scala
def asVector(reference: Option[Reference], min: Option[Int], max: Option[Int]): Schema[Vector[A]]

Attributes

Inherited from:
Schema
Source
Schema.scala
def at(field: String, ref: Option[Reference]): Schema[A]

Attributes

Inherited from:
Schema
Source
Schema.scala
def compiled: SchemaLike

Attributes

Inherited from:
Schema
Source
Schema.scala
def decode(json: Json): Result[A]

Attributes

Inherited from:
Schema
Source
Schema.scala
def decoder: Decoder[A]

Attributes

Inherited from:
Schema
Source
Schema.scala
def encode(a: A): Json

Attributes

Inherited from:
Schema
Source
Schema.scala
def encoder: Encoder[A]

Attributes

Inherited from:
Schema
Source
Schema.scala
def imap[B](f: A => B)(g: B => A): Schema[B]

Attributes

Inherited from:
Schema
Source
Schema.scala
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def reference(ref: Reference): Schema[A]

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala
def withDescription(description: String): Meta[A]

Attributes

Inherited from:
Schema
Source
Schema.scala
def withMetaSchema(metaSchema: String): Meta[A]

Attributes

Inherited from:
Schema
Source
Schema.scala
def withTitle(title: String): Meta[A]

Attributes

Inherited from:
Schema
Source
Schema.scala
def xmap[B](f: A => Result[B])(g: B => A): Schema[B]

Attributes

Inherited from:
Schema
Source
Schema.scala

Inherited fields

val compiled_: Eval[SchemaLike]

Attributes

Inherited from:
Schema
Source
Schema.scala
val decoder_: Eval[Decoder[A]]

Attributes

Inherited from:
Schema
Source
Schema.scala
val encoder_: Eval[Encoder[A]]

Attributes

Inherited from:
Schema
Source
Schema.scala