PartialSchemaKey

Companion object, which contains a custom constructor for PartialSchemaKey.

Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

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

def fromUri(schemaUri: String): Either[ParseError, PartialSchemaKey]

A custom constructor for a PartialSchemaKey from an Iglu schema URI, which looks like: "iglu:com.vendor/schema_name/jsonschema/1-0-0" for a fully known version or "iglu:com.vendor/schema_name/jsonschema/1-?-?" for a partially known version.

A custom constructor for a PartialSchemaKey from an Iglu schema URI, which looks like: "iglu:com.vendor/schema_name/jsonschema/1-0-0" for a fully known version or "iglu:com.vendor/schema_name/jsonschema/1-?-?" for a partially known version.

An Iglu schema URI is the default for schema lookup.

Value parameters:
schemaUri

An Iglu schema URI.

Returns:

A PartialSchemaKey or an error.

Concrete fields

val schemaUriRegex: Regex

Canonical regular expression for a PartialSchemaKey.

Canonical regular expression for a PartialSchemaKey.