Legytma Schemas

Icon Schema

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

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

Icon Type

object (Icon)

all of

Icon Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Icon
icon object Required cannot be null Icon
color Merged Optional cannot be null Icon
semanticLabel string Optional cannot be null Icon
size Merged Optional cannot be null Icon
textDirection string Optional cannot be null Icon

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:

"Icon"

icon

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

icon

icon Type

object (Icon Data)

color

A number in format string or integer

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

color

color Type

merged type (Color)

all of

color Default Value

The default value is:

"0xFF000000"

color Examples

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

semanticLabel

semanticLabel

semanticLabel Type

string (Semantic Label)

size

Define the representation of double acceptable.

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

size

size Type

merged type (Double)

one (and only one) of

size 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

size Default Value

The default value is:

1

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"