zio.blocks.schema.SchemaRepr
See theSchemaRepr companion trait
object SchemaRepr
Attributes
- Companion
- trait
- Source
- SchemaRepr.scala
- Graph
-
- Supertypes
- Self type
-
SchemaRepr.type
Members list
Type members
Classlikes
final case class Map(key: SchemaRepr, value: SchemaRepr) extends SchemaRepr
A map type with key and value schemas.
A map type with key and value schemas.
Attributes
- Source
- SchemaRepr.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaReprclass Objecttrait Matchableclass AnyShow all
final case class Nominal(name: String) extends SchemaRepr
A named type reference (e.g., Person, Address).
A named type reference (e.g., Person, Address).
Attributes
- Source
- SchemaRepr.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaReprclass Objecttrait Matchableclass AnyShow all
final case class Optional(inner: SchemaRepr) extends SchemaRepr
An optional type.
An optional type.
Attributes
- Source
- SchemaRepr.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaReprclass Objecttrait Matchableclass AnyShow all
final case class Primitive(name: String) extends SchemaRepr
A primitive type (e.g., string, int, boolean).
A primitive type (e.g., string, int, boolean).
Attributes
- Source
- SchemaRepr.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaReprclass Objecttrait Matchableclass AnyShow all
final case class Record(fields: IndexedSeq[(String, SchemaRepr)]) extends SchemaRepr
A structural record type with named fields.
A structural record type with named fields.
Attributes
- Source
- SchemaRepr.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaReprclass Objecttrait Matchableclass AnyShow all
final case class Sequence(element: SchemaRepr) extends SchemaRepr
A sequence type (list, set, array).
A sequence type (list, set, array).
Attributes
- Source
- SchemaRepr.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaReprclass Objecttrait Matchableclass AnyShow all
final case class Variant(cases: IndexedSeq[(String, SchemaRepr)]) extends SchemaRepr
A structural variant (sum) type with named cases.
A structural variant (sum) type with named cases.
Attributes
- Source
- SchemaRepr.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaReprclass Objecttrait Matchableclass AnyShow all
case object Wildcard extends SchemaRepr
Matches any type.
Matches any type.
Attributes
- Source
- SchemaRepr.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait SchemaReprclass Objecttrait Matchableclass AnyShow all
- Self type
-
Wildcard.type
Inherited and Abstract types
The names of the product elements.
The name of the type.
Value members
Concrete methods
Renders a SchemaRepr to its string representation.
Implicits
Implicits
Attributes
- Source
- SchemaRepr.scala
Attributes
- Source
- SchemaRepr.scala
Attributes
- Source
- SchemaRepr.scala
Attributes
- Source
- SchemaRepr.scala
Attributes
- Source
- SchemaRepr.scala
Attributes
- Source
- SchemaRepr.scala
Attributes
- Source
- SchemaRepr.scala
Attributes
- Source
- SchemaRepr.scala
Attributes
- Source
- SchemaRepr.scala
In this article