Legytma Schemas

Image Memory Schema

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

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

Image Memory Type

object (Image Memory)

all of

Image Memory Properties

Property Type Required Nullable Defined by
imageType string Required cannot be null Image Memory
bytes array Required cannot be null Image Memory
cacheHeight Unknown Type Optional cannot be null Image Memory
cacheWidth Unknown Type Optional cannot be null Image Memory
scale Merged Optional cannot be null Image Memory

imageType

imageType

imageType Type

string (Image Type)

imageType Constraints

constant: the value of this property must be equal to:

"memory"

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

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

bytes

bytes

bytes Type

an array where each item follows the corresponding schema in the following list:

  1. Untitled integer in Image Memory

cacheHeight

Define the representation of integer acceptable.

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

cacheHeight

cacheHeight Type

any of the folllowing: string or integer (Integer)

cacheHeight Default Value

The default value is:

10

cacheHeight Examples

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

cacheWidth

Define the representation of integer acceptable.

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

cacheWidth

cacheWidth Type

any of the folllowing: string or integer (Integer)

cacheWidth Default Value

The default value is:

10

cacheWidth Examples

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

scale

Define the representation of double acceptable.

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

scale

scale Type

merged type (Double)

one (and only one) of

scale 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

scale Default Value

The default value is:

1