SelfDescribingSchema

final case class SelfDescribingSchema[S](self: SchemaMap, schema: S)

A container for a self-describing schema, used to eliminate the need for an Option wrapper when extracting a SchemaMap with the typeclasses.ExtractSchemaMap type class.

Type parameters:
S

Any generic type that can represent a self-describing schema. (See also typeclasses.ExtractSchemaMap.)

Value parameters:
schema

The schema itself.

self

Information about the schema.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def asString(implicit ev: StringifySchema[S]): String

Render a self-describing schema into String.

Render a self-describing schema into String.

def normalize(implicit ev: NormalizeSchema[S]): S

Render a self-describing schema into its base type S.

Render a self-describing schema into its base type S.

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product