smithy4s.schema.Schema
See theSchema companion trait
object Schema
Attributes
Members list
Type members
Classlikes
final case class BijectionSchema[A, B](underlying: Schema[A], bijection: Bijection[A, B]) extends Schema[B]
final case class CollectionSchema[C[_], A](shapeId: ShapeId, hints: Hints, tag: CollectionTag[C], member: Schema[A]) extends Schema[C[A]]
final case class LazySchema[A](suspend: Lazy[Schema[A]]) extends Schema[A]
final case class OptionSchema[A](underlying: Schema[A]) extends Schema[Option[A]]
final case class PrimitiveSchema[P](shapeId: ShapeId, hints: Hints, tag: Primitive[P]) extends Schema[P]
final case class RefinementSchema[A, B](underlying: Schema[A], refinement: Refinement[A, B]) extends Schema[B]
final case class StructSchema[S](shapeId: ShapeId, hints: Hints, fields: Vector[Field[S, _]], make: (IndexedSeq[Any]) => S) extends Schema[S]
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Transforms this schema, and all the schemas inside it, using the provided function.
Transforms this schema, and all the schemas inside it, using the provided function.
Attributes
Concrete fields
In this article