MetaSchema

object MetaSchema
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Dictionary(keys: MetaSchema, values: MetaSchema, path: NodePath, optional: Boolean) extends MetaSchema
Companion:
object
object Dictionary
Companion:
class
final case class Dynamic(withSchema: Boolean, path: NodePath, optional: Boolean) extends MetaSchema
Companion:
object
object Dynamic
Companion:
class
final case class Either(path: NodePath, left: MetaSchema, right: MetaSchema, optional: Boolean) extends MetaSchema
Companion:
object
object Either
Companion:
class
final case class FailNode(message: String, path: NodePath, optional: Boolean) extends MetaSchema
Companion:
object
object FailNode
Companion:
class
final case class ListNode(item: MetaSchema, path: NodePath, optional: Boolean) extends MetaSchema
Companion:
object
object ListNode
Companion:
class
final case class Product(id: TypeId, path: NodePath, fields: Chunk[Labelled], optional: Boolean) extends MetaSchema
Companion:
object
object Product
Companion:
class
final case class Ref(refPath: NodePath, path: NodePath, optional: Boolean) extends MetaSchema
Companion:
object
object Ref
Companion:
class
final case class Sum(id: TypeId, path: NodePath, cases: Chunk[Labelled], optional: Boolean) extends MetaSchema
Companion:
object
object Sum
Companion:
class
final case class Tuple(path: NodePath, left: MetaSchema, right: MetaSchema, optional: Boolean) extends MetaSchema
Companion:
object
object Tuple
Companion:
class
final case class Value(valueType: StandardType[_], path: NodePath, optional: Boolean) extends MetaSchema
Companion:
object
object Value
Companion:
class

Types

type Labelled = (String, MetaSchema)
type Lineage = Chunk[(Int, NodePath)]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

@tailrec
def fromSchema[A](schema: Schema[A]): MetaSchema

Implicits

Implicits

implicit val equals: Equal[MetaSchema]
implicit lazy val schema: Schema[MetaSchema]