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]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Schema[B]class Objecttrait Matchableclass AnyShow all
final case class CollectionSchema[C[_], A](shapeId: ShapeId, hints: Hints, tag: CollectionTag[C], member: Schema[A]) extends Schema[C[A]]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Schema[E]class Objecttrait Matchableclass AnyShow all
final case class LazySchema[A](suspend: Lazy[Schema[A]]) extends Schema[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Schema[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class OptionSchema[A](underlying: Schema[A]) extends Schema[Option[A]]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class PrimitiveSchema[P](shapeId: ShapeId, hints: Hints, tag: Primitive[P]) extends Schema[P]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Schema[P]class Objecttrait Matchableclass AnyShow all
final case class RefinementSchema[A, B](underlying: Schema[A], refinement: Refinement[A, B]) extends Schema[B]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Schema[B]class Objecttrait Matchableclass AnyShow all
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
def enumeration[E](total: E => EnumValue[E], tag: EnumTag[E], values: List[EnumValue[E]]): Schema[E]
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