Schema

sealed trait Schema[A]
Companion:
object
class Object
trait Matchable
class Any
class BijectionSchema[A, B]
class CollectionSchema[C, A]
class LazySchema[A]
class MapSchema[K, V]
class StructSchema[S]
class SurjectionSchema[A, B]
class UnionSchema[U]

Value members

Abstract methods

Concrete methods

final def addHints(hints: Hint*): Schema[A]
final def addHints(hints: Hints): Schema[A]
final def compile[F[_]](fk: PolyFunction[Schema, F]): F[A]
final def oneOf[Union]: PartiallyAppliedOneOf[Union, A]
final def optional[Struct]: PartiallyAppliedOptional[Struct, A]
final def required[Struct]: PartiallyAppliedRequired[Struct, A]
final def validated[C](implicit constraint: Simple[C, A]): Schema[A]
final def withId(newId: ShapeId): Schema[A]
final def withId(namespace: String, name: String): Schema[A]