Legytma Schemas

Stack Schema

https://legytma.com.br/schema/widget/stack.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 No Unknown status No Forbidden Allowed none stack.schema.json

Stack Type

object (Stack)

all of

Stack Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Stack
alignment Unknown Type Optional can be null Stack
textDirection string Optional cannot be null Stack
fit string Optional cannot be null Stack
overflow string Optional cannot be null Stack
children array Optional cannot be null Stack

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:

"Stack"

alignment

Created by Windol [email protected] at 15/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

alignment

alignment Type

any of the folllowing: array or boolean or integer or number or object or string (Dynamic)

alignment Default Value

The default value is:

"unbounded"

textDirection

Determine the text direction.

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

textDirection

textDirection Type

string (Text Direction)

textDirection Constraints

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

Value Explanation
"ltr"  
"rtl"  

textDirection Examples

"ltr"
"rtl"

fit

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

fit

fit Type

string (Stack Fit)

fit Constraints

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

Value Explanation
"loose"  
"expand"  
"passthrough"  

fit Default Value

The default value is:

"loose"

overflow

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

overflow

overflow Type

string (Overflow)

overflow Constraints

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

Value Explanation
"visible"  
"clip"  

overflow Default Value

The default value is:

"clip"

children

List of Schema to validation of JSON used to parse Widgets.

You can add any widget inheritance’s.

children

children Type

object[] (Widget)

children Default Value

The default value is:

[]