Record

net.hamnaberg.schema.structure.Record
final case class Record[R](value: FreeApplicative[[_] =>> Field[R, _$31], R]) extends Schema[R]

Attributes

Source
Schema.scala
Graph
Supertypes
trait Schema[R]
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[R]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala
def imap[B](f: R => B)(g: B => R): 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[R]

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala
def withExtensions(json: JsonObject): Meta[R]

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala
def xmap[B](f: R => Result[B])(g: B => R): 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[R]]

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala