Legytma Schemas

Indexed Stack Schema

https://legytma.com.br/schema/widget/indexed_stack.schema.json

Created by Windol [email protected] at 12/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 indexed_stack.schema.json

Indexed Stack Type

object (Indexed Stack)

all of

Indexed Stack Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Indexed Stack
sizing string Optional cannot be null Indexed Stack
index Unknown Type Optional cannot be null Indexed Stack
alignment Unknown Type Optional can be null Indexed Stack
textDirection string Optional cannot be null Indexed Stack
children array Optional cannot be null Indexed 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:

"IndexedStack"

sizing

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

sizing

sizing Type

string (Stack Fit)

sizing Constraints

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

Value Explanation
"loose"  
"expand"  
"passthrough"  

sizing Default Value

The default value is:

"loose"

index

Define the representation of integer acceptable.

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

index

index Type

any of the folllowing: string or integer (Integer)

index Default Value

The default value is:

10

index Examples

"123"
"#32"
"0b111001"
"$23"
"0x162"
123

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"

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:

[]