SNum

net.hamnaberg.schema.structure.SNum
final case class SNum[A](format: Option[String], bounds: Bounds[A])(implicit evidence$1: Fractional[A]) extends Schema[JsonNumber]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

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

Attributes

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

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

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

Inherited from:
Schema
Source
Schema.scala

Attributes

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