Reference

net.hamnaberg.schema.structure.Reference
final case class Reference(ref: String, schema: Schema[Json]) extends Schema[Json]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

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

Attributes

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

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[Json]

Attributes

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

Attributes

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

Attributes

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