Legytma Schemas

Double Schema

https://legytma.com.br/schema/double.schema.json

Define the representation of double acceptable.

Used to identify parser. Every parser can permit only one type

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Cannot be instantiated Yes Unknown status Unknown identifiability Forbidden Allowed none double.schema.json

Double Type

merged type (Double)

one (and only one) of

Double Definitions

Definitions group doubleNumber

Reference this group by using

{"$ref":"https://legytma.com.br/schema/double.schema.json#/definitions/doubleNumber"}

doubleNumber

doubleNumber Type

number

doubleNumber Examples

12.3
-1.2
0.1

Definitions group doubleString

Reference this group by using

{"$ref":"https://legytma.com.br/schema/double.schema.json#/definitions/doubleString"}

doubleString

doubleString Type

string

doubleString Constraints

pattern: the string must match the following regular expression:

^-?\d+(\.\d+)?$

try pattern

doubleString Examples

"12.3"
"-1.2"
"0.1"

Definitions group doubleEnum

Reference this group by using

{"$ref":"https://legytma.com.br/schema/double.schema.json#/definitions/doubleEnum"}

doubleEnum

doubleEnum Type

string

doubleEnum Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"nan"  
"hybrid"  
"normal"  
"satellite"  
"terrain"  

doubleEnum Examples

"normal"
"nan"