Legytma Schemas

Circle Avatar Schema

https://legytma.com.br/schema/widget/circle_avatar.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 circle_avatar.schema.json

Circle Avatar Type

object (Circle Avatar)

all of

Circle Avatar Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Circle Avatar
child object Optional cannot be null Circle Avatar
backgroundColor Merged Optional cannot be null Circle Avatar
backgroundImage object Optional cannot be null Circle Avatar
foregroundColor Merged Optional cannot be null Circle Avatar
maxRadius Merged Optional cannot be null Circle Avatar
minRadius Merged Optional cannot be null Circle Avatar
radius Merged Optional cannot be null Circle Avatar

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:

"CircleAvatar"

child

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

child

child Type

object (Widget)

backgroundColor

A number in format string or integer

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

backgroundColor

backgroundColor Type

merged type (Color)

all of

backgroundColor Default Value

The default value is:

"0xFF000000"

backgroundColor Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

backgroundImage

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

backgroundImage

backgroundImage Type

object (Image Provider Dynamic)

foregroundColor

A number in format string or integer

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

foregroundColor

foregroundColor Type

merged type (Color)

all of

foregroundColor Default Value

The default value is:

"0xFF000000"

foregroundColor Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

maxRadius

Define the representation of double acceptable.

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

maxRadius

maxRadius Type

merged type (Double)

one (and only one) of

maxRadius 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

maxRadius Default Value

The default value is:

1

minRadius

Define the representation of double acceptable.

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

minRadius

minRadius Type

merged type (Double)

one (and only one) of

minRadius 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

minRadius Default Value

The default value is:

1

radius

Define the representation of double acceptable.

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

radius

radius Type

merged type (Double)

one (and only one) of

radius 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

radius Default Value

The default value is:

1