Schema

smithy4s.schema.Schema
See theSchema companion object
sealed trait Schema[A]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BijectionSchema[A, B]
class CollectionSchema[C, A]
class LazySchema[A]
class MapSchema[K, V]
class RefinementSchema[A, B]
class StructSchema[S]
class UnionSchema[U]

Members list

Concise view

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 getDefaultValue: Option[A]
final def oneOf[Union]: PartiallyAppliedOneOf[Union, A]
final def optional[Struct]: PartiallyAppliedOptional[Struct, A]
final def refined[B]: PartiallyAppliedRefinement[A, B]
final def required[Struct]: PartiallyAppliedRequired[Struct, A]
final def validated[C](c: C)(implicit constraint: Simple[C, A]): Schema[A]
final def withId(newId: ShapeId): Schema[A]
final def withId(namespace: String, name: String): Schema[A]