Legytma Schemas

Material Color Schema

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

Identify the widget type

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

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none material_color.schema.json

Material Color Type

object (Material Color)

Material Color Properties

Property Type Required Nullable Defined by
primary Merged Required cannot be null Material Color
swatch object Optional cannot be null Material Color

primary

A number in format string or integer

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

primary

primary Type

merged type (Color)

all of

primary Default Value

The default value is:

"0xFF000000"

primary Examples

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

swatch

Swatch colors

swatch

swatch Type

object (Swatch)

swatch Examples

{
  "50": "0xFF0000FF",
  "100": "0xFF000F0F",
  "200": "0xFF000FF0",
  "300": "0xFF00F0F0",
  "400": "0xFF00FF00",
  "500": "0xFF0F000F",
  "600": "0xFF0F00F0",
  "700": "0xFF0F0F00",
  "800": "0xFF0FF000",
  "900": "0xFFF0000F"
}