package jsonschema
- Alphabetic
- By Inheritance
- jsonschema
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class Delta(multipleOf: Changed[MultipleOf] = unchanged, minimum: Changed[Minimum] = unchanged, maximum: Changed[Maximum] = unchanged, maxLength: Changed[MaxLength] = unchanged, minLength: Changed[MinLength] = unchanged, pattern: Changed[Pattern] = unchanged, format: Changed[Format] = unchanged, items: Changed[Items] = unchanged, additionalItems: Changed[AdditionalItems] = unchanged, minItems: Changed[MinItems] = unchanged, maxItems: Changed[MaxItems] = unchanged, properties: Changed[properties.ObjectProperty.Properties] = unchanged, additionalProperties: Changed[AdditionalProperties] = unchanged, required: Changed[Required] = unchanged, patternProperties: Changed[PatternProperties] = unchanged, type: Changed[Type] = unchanged, enum: Changed[Enum] = unchanged, oneOf: Changed[OneOf] = unchanged, description: Changed[Description] = unchanged) extends Product with Serializable
-
trait
FromSchema[+J] extends AnyRef
Type class to convert JSON Schema into some arbitrary JSON AST
Type class to convert JSON Schema into some arbitrary JSON AST
- J
JSON AST type
-
trait
JsonSchemaProperty extends Product with Serializable
Common supertype for all JSON Schema properties
- sealed trait Keyword extends AnyRef
-
sealed
trait
Linter extends Product with Serializable
Schema validation logic
- sealed trait Pointer extends Product with Serializable
-
case class
Schema(multipleOf: Option[MultipleOf] = None, minimum: Option[Minimum] = None, maximum: Option[Maximum] = None, maxLength: Option[MaxLength] = None, minLength: Option[MinLength] = None, pattern: Option[Pattern] = None, format: Option[Format] = None, $schema: Option[SchemaUri] = None, items: Option[Items] = None, additionalItems: Option[AdditionalItems] = None, minItems: Option[MinItems] = None, maxItems: Option[MaxItems] = None, properties: Option[properties.ObjectProperty.Properties] = None, additionalProperties: Option[AdditionalProperties] = None, required: Option[Required] = None, patternProperties: Option[PatternProperties] = None, type: Option[Type] = None, enum: Option[Enum] = None, oneOf: Option[OneOf] = None, anyOf: Option[AnyOf] = None, description: Option[Description] = None) extends Product with Serializable
Class containing all (not yet) possible JSON Schema v4 properties
-
trait
ToSchema[-J] extends AnyRef
Type class to convert arbitrary JSON AST into JSON Schema class
Type class to convert arbitrary JSON AST into JSON Schema class
- J
JSON AST type
- implicit final class TypeMatcher extends AnyVal
Value Members
- object Delta extends Serializable
-
object
JsonPath
An extremely small subset of JSONPath spec (@see https://goessner.net/articles/JsonPath/index.html)
An extremely small subset of JSONPath spec (@see https://goessner.net/articles/JsonPath/index.html)
It meant only to match output of json-schema-validator library and be immediately transformed into Pointer, which is a common format for schema-ddl
- object Keyword
- object Linter extends Serializable
- object Pointer extends Serializable
-
object
SanityLinter
Contains Schema validation logic for JSON AST to find nonsense (impossible) JSON Schemas, ie.
Contains Schema validation logic for JSON AST to find nonsense (impossible) JSON Schemas, ie. Schemas which cannot validate ANY value, yet syntactically correct. This doesn't have logic to validate accordance to JSON Schema specs such as non-empty
required
or numericmaximum
. Separate validator should be used for that.- See also
https://github.com/snowplow/iglu/issues/164
- object Schema extends Serializable
-
object
SelfSyntaxChecker
Linting self-describing schemas against their meta-schemas Useful mostly for identifying user-defined properties at a wrong level and unexpected validation types, i.e.
Linting self-describing schemas against their meta-schemas Useful mostly for identifying user-defined properties at a wrong level and unexpected validation types, i.e.
maxLength: "foo"