Sequence

net.hamnaberg.schema.structure.Sequence
final case class Sequence[A](value: Schema[A], min: Option[Int], max: Option[Int]) extends Schema[List[A]]

Attributes

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

Members list

Value members

Inherited methods

def addLocalDefinition(ref: String, definition: Schema[Json]): Meta[List[A]]

Attributes

Inherited from:
Schema
Source
Schema.scala
def asList(min: Option[Int], max: Option[Int]): Schema[List[List[A]]]

Attributes

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

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala
def at(field: String): Schema[List[A]]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def reference(ref: String): Schema[Json]

Attributes

Inherited from:
Schema
Source
Schema.scala
def toAny: Schema[Json]

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala
def withDeprecated(deprecated: Boolean): Meta[List[A]]

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala
def withModifyMeta(modify: (Meta[List[A]]) => Meta[List[A]]): Meta[List[A]]

Attributes

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

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala

Inherited fields

val compiled_: Eval[SchemaLike]

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala