https://legytma.com.br/schema/widget/sized_box.schema.json
Created by Windol [email protected] at 14/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 | Yes | Unknown status | No | Forbidden | Allowed | none | sized_box.schema.json |
object
(Sized Box)
all of
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Optional | cannot be null | Sized Box |
sizedBoxType | string |
Required | cannot be null | Sized Box |
child | object |
Optional | cannot be null | Sized Box |
Identify the widget type
Used to identify parser. Every parser can permit only one type
type
string
(Type)
constant: the value of this property must be equal to:
"SizedBox"
sizedBoxType
string
(Sized Box Type)string
(Sized Box Type)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"expand" |
|
"fromSize" |
|
"shrink" |
|
"default" |
Schema to validation of JSON used to parse Widget.
You can add all valid properties to complete validation.
child
object
(Widget)
Reference this group by using
{"$ref":"https://legytma.com.br/schema/widget/sized_box.schema.json#/definitions/sizedBoxType"}
sizedBoxType
string
(Sized Box Type)string
(Sized Box Type)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"expand" |
|
"fromSize" |
|
"shrink" |
|
"default" |