False
Schema that rejects all instances. Equivalent to {"not": {}}.
Attributes
- Source
- JsonSchema.scala
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait JsonSchematrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
False.type
Members list
Type members
Inherited types
The names of the product elements.
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
The mirrored *-type.
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
Inherited and Abstract types
The name of the type.
Value members
Concrete methods
Validate a JSON value against this schema.
Validate a JSON value against this schema.
Attributes
- Returns
-
None if valid, Some(error) with accumulated failures if invalid.
- Definition Classes
- Source
- JsonSchema.scala
Serialize this schema to its canonical JSON representation.
Serialize this schema to its canonical JSON representation.
Attributes
- Definition Classes
- Source
- JsonSchema.scala
Inherited methods
Combine with another schema using allOf.
Combine with another schema using allOf.
Attributes
- Inherited from:
- JsonSchema
- Source
- JsonSchema.scala
Validate a JSON value against this schema with custom options.
Validate a JSON value against this schema with custom options.
Value parameters
- json
-
The JSON value to validate
- options
-
Validation options controlling behavior like format validation
Attributes
- Returns
-
None if valid, Some(error) with accumulated failures if invalid.
- Inherited from:
- JsonSchema
- Source
- JsonSchema.scala
Returns true if the JSON value conforms to this schema with custom options.
Returns true if the JSON value conforms to this schema with custom options.
Attributes
- Inherited from:
- JsonSchema
- Source
- JsonSchema.scala
Returns true if the JSON value conforms to this schema.
Returns true if the JSON value conforms to this schema.
Attributes
- Inherited from:
- JsonSchema
- Source
- JsonSchema.scala
Creates a new instance of type T with elements taken from product p.
Creates a new instance of type T with elements taken from product p.
Attributes
- Inherited from:
- Singleton
- Source
- Mirror.scala
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
JsonSchema -> Any
- Inherited from:
- JsonSchema
- Source
- JsonSchema.scala
Negate this schema.
Add a required property for the provided discriminator field.
Add a required property for the provided discriminator field.
Attributes
- Inherited from:
- JsonSchema
- Source
- JsonSchema.scala
Make this schema nullable (accepts null in addition to current types).
Make this schema nullable (accepts null in addition to current types).
Attributes
- Inherited from:
- JsonSchema
- Source
- JsonSchema.scala
Combine with another schema using anyOf.
Combine with another schema using anyOf.
Attributes
- Inherited from:
- JsonSchema
- Source
- JsonSchema.scala