https://legytma.com.br/schema/widget/align.schema.json
Schema to validation of JSON used to parse Widget.
You can add all valid properties to complete validation.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | align.schema.json |
object
(Align Widget)
all of
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Required | cannot be null | Align Widget |
alignment | string |
Optional | cannot be null | Align Widget |
widthFactor | Merged | Optional | cannot be null | Align Widget |
heightFactor | Merged | Optional | cannot be null | Align Widget |
child | object |
Optional | cannot be null | Align Widget |
Identify the widget type
Used to identify parser. Every parser can permit only one type
type
string
(Type)string
(Type)
constant: the value of this property must be equal to:
"Align"
Determine the alignment
Used to identify parser. Every parser can permit only one type
alignment
string
(Alignment)string
(Alignment)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"topLeft" |
|
"topCenter" |
|
"topRight" |
|
"centerLeft" |
|
"center" |
|
"centerRight" |
|
"bottomLeft" |
|
"bottomCenter" |
|
"bottomRight" |
The default value is:
"center"
"topLeft"
"topCenter"
"topRight"
"centerLeft"
"center"
"centerRight"
"bottomLeft"
"bottomCenter"
"bottomRight"
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
widthFactor
merged type (Double)
one (and only one) of
maximum: the value of this number must smaller than or equal to: 1
minimum: the value of this number must greater than or equal to: 0
The default value is:
1
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
heightFactor
merged type (Double)
one (and only one) of
maximum: the value of this number must smaller than or equal to: 1
minimum: the value of this number must greater than or equal to: 0
The default value is:
1
Schema to validation of JSON used to parse Widget.
You can add all valid properties to complete validation.
child
object
(Widget)object
(Widget)