structure

net.hamnaberg.schema.structure$
object structure

Attributes

Source
Schema.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
structure.type

Members list

Type members

Classlikes

final case class AllOf[A](value: Type[Schema[A]], targetSchema: Option[Schema[A]]) extends Schema[A]

Attributes

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

Attributes

Source
Schema.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any
final case class AnyOf[A](value: Type[Schema[A]], targetSchema: Option[Schema[A]]) extends Schema[A]

Attributes

Source
Schema.scala
Supertypes
trait Schema[A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Custom[A](_compiled: ReferenceOr[SchemaLike], _encoder: Encoder[A], _decoder: Decoder[A]) extends Schema[A]

Attributes

Source
Schema.scala
Supertypes
trait Schema[A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Defer[A](value: () => Schema[A]) extends Schema[A]

Attributes

Source
Schema.scala
Supertypes
trait Schema[A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Enumeration(allowed: List[String]) extends Schema[String]

Attributes

Source
Schema.scala
Supertypes
trait Schema[String]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Field

Attributes

Companion
trait
Source
Schema.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Field.type
sealed trait Field[R, E] extends Product, Serializable

Attributes

Companion
object
Source
Schema.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Optional[R, E]
class Required[R, E]
final case class Isos[A](value: XMap[A]) extends Schema[A]

Attributes

Source
Schema.scala
Supertypes
trait Schema[A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Meta[A](schema: Schema[A], metaSchema: Option[String], description: Option[String], title: Option[String]) extends Schema[A]

Attributes

Source
Schema.scala
Supertypes
trait Schema[A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Record[R](value: FreeApplicative[[_] =>> Field[R, _$23], R]) extends Schema[R]

Attributes

Source
Schema.scala
Supertypes
trait Schema[R]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object SBool extends Schema[Boolean]

Attributes

Source
Schema.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Schema[Boolean]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
SBool.type
final case class SInt[A](format: Option[String], bounds: Bounds[A])(implicit evidence$1: Integral[A]) extends Schema[JsonNumber]

Attributes

Source
Schema.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class SNum[A](format: Option[String], bounds: Bounds[A])(implicit evidence$2: Fractional[A]) extends Schema[JsonNumber]

Attributes

Source
Schema.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Sequence[A](value: Schema[A], reference: Option[Reference], min: Option[Int], max: Option[Int]) extends Schema[List[A]]

Attributes

Source
Schema.scala
Supertypes
trait Schema[List[A]]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Str(format: Option[String], minLength: Option[Int], maxLength: Option[Int], pattern: Option[Pattern]) extends Schema[String]

Attributes

Source
Schema.scala
Supertypes
trait Schema[String]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Sum[A](value: Chain[Alt[A]]) extends Schema[A]

Attributes

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

Attributes

Source
Schema.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any