NumberConstraints4

com.eclipsesource.schema.internal.draft4.constraints.NumberConstraints4
case class NumberConstraints4(min: Option[Minimum], max: Option[Maximum], multipleOf: Option[BigDecimal], format: Option[String], any: AnyConstraints) extends HasAnyConstraint, NumberConstraints

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Constraint
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isInt(implicit lang: Lang): Reader[SchemaResolutionContext, Rule[JsValue, JsValue]]
override def resolvePath(path: String): Option[SchemaType]

Attributes

Definition Classes
override def subSchemas: Set[SchemaType]

Attributes

Definition Classes
override def validate(schema: SchemaType, json: JsValue, context: SchemaResolutionContext)(implicit lang: Lang): VA[JsValue]

Attributes

Definition Classes

Inherited methods

def id: Option[String]

Attributes

Inherited from:
HasAnyConstraint
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def schemaType: Option[String]

Attributes

Inherited from:
HasAnyConstraint