SchemaFormat

com.eclipsesource.schema.SchemaFormat
trait SchemaFormat

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EmailFormat
object IPv4Format
object IPv6Format
object Int32Format
object Int64Format
object RegexFormat
object UriFormat
object UuidFormat
Show all

Members list

Value members

Abstract methods

def name: String

The name of the format.

The name of the format.

Attributes

Returns

the format name

def validate(json: JsValue): Boolean

Check whether the given value conforms to this format. s

Check whether the given value conforms to this format. s

Value parameters

json

the JSON value to be checked

Attributes

Returns

whether the JSON value conforms to this format