Legytma Schemas

Sized Box Schema

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

Sized Box Type

object (Sized Box)

all of

Sized Box Properties

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

type

Identify the widget type

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

type

type Type

string (Type)

type Constraints

constant: the value of this property must be equal to:

"SizedBox"

sizedBoxType

sizedBoxType

sizedBoxType Type

string (Sized Box Type)

sizedBoxType Constraints

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

Value Explanation
"expand"  
"fromSize"  
"shrink"  
"default"  

child

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

child

child Type

object (Widget)

Sized Box Definitions

Definitions group sizedBoxType

Reference this group by using

{"$ref":"https://legytma.com.br/schema/widget/sized_box.schema.json#/definitions/sizedBoxType"}

sizedBoxType

sizedBoxType Type

string (Sized Box Type)

sizedBoxType Constraints

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

Value Explanation
"expand"  
"fromSize"  
"shrink"  
"default"