https://legytma.com.br/schema/widget/fitted_box.schema.json
Created by Windol [email protected] at 06/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | fitted_box.schema.json |
object
(Fitted Box)
all of
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Optional | cannot be null | Fitted Box |
alignment | Unknown Type | Optional | cannot be null | Fitted Box |
fit | string |
Optional | cannot be null | Fitted Box |
child | object |
Optional | cannot be null | Fitted Box |
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:
"FittedBox"
Define the representation of integer acceptable.
Used to identify parser. Every parser can permit only one type
alignment
string
or integer
(Integer)any of the folllowing: string
or integer
(Integer)
The default value is:
10
"123"
"#32"
"0b111001"
"$23"
"0x162"
123
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
fit
string
(Box Fit)string
(Box Fit)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"fill" |
|
"contain" |
|
"cover" |
|
"fitWidth" |
|
"fitHeight" |
|
"none" |
|
"scaleDown" |
The default value is:
"contain"
Schema to validation of JSON used to parse Widget.
You can add all valid properties to complete validation.
child
object
(Widget)object
(Widget)