Legytma Schemas

Strut Style Schema

https://legytma.com.br/schema/strut_style.schema.json

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

Strut Style Type

object (Strut Style)

Strut Style Properties

Property Type Required Nullable Defined by
debugLabel string Optional cannot be null Strut Style
height Merged Optional cannot be null Strut Style
package string Optional cannot be null Strut Style
fontFamilyFallback array Optional cannot be null Strut Style
fontFamily string Optional cannot be null Strut Style
fontSize Merged Optional cannot be null Strut Style
fontStyle string Optional cannot be null Strut Style
fontWeight string Optional cannot be null Strut Style
forceStrutHeight boolean Optional cannot be null Strut Style
leading Merged Optional cannot be null Strut Style

debugLabel

Used to identify during debug

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

debugLabel

debugLabel Type

string (Debug Label)

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

package

package

package Type

string (Package)

fontFamilyFallback

List of alternative font families

fontFamilyFallback

fontFamilyFallback Type

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

  1. Font Family

fontFamily

fontFamily

fontFamily Type

string (Font Family)

fontSize

Define the representation of double acceptable.

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

fontSize

fontSize Type

merged type (Double)

one (and only one) of

fontSize 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

fontSize Default Value

The default value is:

1

fontStyle

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

fontStyle

fontStyle Type

string (Font Style)

fontStyle Constraints

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

Value Explanation
"italic"  
"normal"  

fontStyle Examples

"italic"
"normal"

fontWeight

Define the font weight

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

fontWeight

fontWeight Type

string (Font Weight)

fontWeight Constraints

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

Value Explanation
"w100"  
"w200"  
"w300"  
"normal"  
"w400"  
"w500"  
"w600"  
"bold"  
"w700"  
"w800"  
"w900"  

fontWeight Examples

"w100"
"w200"
"w300"
"normal"
"w400"
"w500"
"w600"
"bold"
"w700"
"w800"
"w900"

forceStrutHeight

Define the representation of boolean acceptable.

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

forceStrutHeight

forceStrutHeight Type

boolean (Boolean)

forceStrutHeight Default Value

The default value is:

true

forceStrutHeight Examples

true
false

leading

Define the representation of double acceptable.

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

leading

leading Type

merged type (Double)

one (and only one) of

leading 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

leading Default Value

The default value is:

1

Strut Style Definitions

Definitions group fontFamily

Reference this group by using

{"$ref":"https://legytma.com.br/schema/strut_style.schema.json#/definitions/fontFamily"}

fontFamily

fontFamily Type

string (Font Family)