Legytma Schemas

Center Schema

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

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

Center Type

object (Center)

all of

Center Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Center
widthFactor Merged Optional cannot be null Center
heightFactor Merged Optional cannot be null Center
child object Optional cannot be null Center

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:

"Center"

widthFactor

Define the representation of double acceptable.

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

widthFactor

widthFactor Type

merged type (Double)

one (and only one) of

widthFactor Constraints

maximum: the value of this number must smaller than or equal to: 1

minimum: the value of this number must greater than or equal to: 0

widthFactor Default Value

The default value is:

1

heightFactor

Define the representation of double acceptable.

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

heightFactor

heightFactor Type

merged type (Double)

one (and only one) of

heightFactor Constraints

maximum: the value of this number must smaller than or equal to: 1

minimum: the value of this number must greater than or equal to: 0

heightFactor Default Value

The default value is:

1

child

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

child

child Type

object (Widget)