Legytma Schemas

Fitted Box Schema

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

Fitted Box Type

object (Fitted Box)

all of

Fitted Box Properties

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

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:

"FittedBox"

alignment

Define the representation of integer acceptable.

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

alignment

alignment Type

any of the folllowing: string or integer (Integer)

alignment Default Value

The default value is:

10

alignment Examples

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

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 (Box Fit)

fit Constraints

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

Value Explanation
"fill"  
"contain"  
"cover"  
"fitWidth"  
"fitHeight"  
"none"  
"scaleDown"  

fit Default Value

The default value is:

"contain"

child

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

child

child Type

object (Widget)