Legytma Schemas

Image Schema

https://legytma.com.br/schema/widget/image.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 Yes Unknown status No Forbidden Allowed none image.schema.json

Image Type

object (Image)

all of

Image Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Image
imageType string Required cannot be null Image
frameBuilder Unknown Type Optional can be null Image
semanticLabel string Optional cannot be null Image
excludeFromSemantics boolean Optional cannot be null Image
width Merged Optional cannot be null Image
height Merged Optional cannot be null Image
color Merged Optional cannot be null Image
blendMode string Optional cannot be null Image
boxFit string Optional cannot be null Image
alignment Unknown Type Optional can be null Image
repeat string Optional cannot be null Image
centerSlice object Optional cannot be null Image
matchTextDirection boolean Optional cannot be null Image
gaplessPlayback boolean Optional cannot be null Image
filterQuality string Optional cannot be null Image

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:

"Image"

imageType

imageType

imageType Type

string (Image Type)

imageType Constraints

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

Value Explanation
"asset"  
"network"  
"file"  
"memory"  
"default"  

frameBuilder

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

frameBuilder

frameBuilder Type

any of the folllowing: array or boolean or integer or number or object or string (Dynamic)

frameBuilder Default Value

The default value is:

"unbounded"

semanticLabel

semanticLabel

semanticLabel Type

string (Semantic Label)

excludeFromSemantics

Define the representation of boolean acceptable.

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

excludeFromSemantics

excludeFromSemantics Type

boolean (Boolean)

excludeFromSemantics Default Value

The default value is:

true

excludeFromSemantics Examples

true
false

width

Define the representation of double acceptable.

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

width

width Type

merged type (Double)

one (and only one) of

width 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

width Default Value

The default value is:

1

height

Define the representation of double acceptable.

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

height

height Type

merged type (Double)

one (and only one) of

height 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

height Default Value

The default value is:

1

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

blendMode

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

blendMode

blendMode Type

string (Blend Mode)

blendMode Constraints

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

Value Explanation
"color"  
"clear"  
"colorBurn"  
"colorDodge"  
"darken"  
"difference"  
"dst"  
"dstATop"  
"dstIn"  
"dstOut"  
"dstOver"  
"exclusion"  
"hardLight"  
"hue"  
"lighten"  
"luminosity"  
"modulate"  
"multiply"  

boxFit

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

boxFit

boxFit Type

string (Box Fit)

boxFit 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"  

boxFit Default Value

The default value is:

"contain"

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"

repeat

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

repeat

repeat Type

string (Image Repeat)

repeat Constraints

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

Value Explanation
"repeat"  
"repeatX"  
"repeatY"  
"noRepeat"  

repeat Default Value

The default value is:

"noRepeat"

centerSlice

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

centerSlice

centerSlice Type

object (Rect)

matchTextDirection

Define the representation of boolean acceptable.

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

matchTextDirection

matchTextDirection Type

boolean (Boolean)

matchTextDirection Default Value

The default value is:

true

matchTextDirection Examples

true
false

gaplessPlayback

Define the representation of boolean acceptable.

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

gaplessPlayback

gaplessPlayback Type

boolean (Boolean)

gaplessPlayback Default Value

The default value is:

true

gaplessPlayback Examples

true
false

filterQuality

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

filterQuality

filterQuality Type

string (Filter Quality)

filterQuality Constraints

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

Value Explanation
"none"  
"low"  
"medium"  
"high"  

filterQuality Default Value

The default value is:

"low"

Image Definitions

Definitions group imageType

Reference this group by using

{"$ref":"https://legytma.com.br/schema/widget/image.schema.json#/definitions/imageType"}

imageType

imageType Type

string (Image Type)

imageType Constraints

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

Value Explanation
"asset"  
"network"  
"file"  
"memory"  
"default"