From 4879f5a03a27cf7d73dd34cf2a5be254cff7bca0 Mon Sep 17 00:00:00 2001 From: Andrew Michael McNutt Date: Fri, 2 Feb 2024 08:47:26 -0800 Subject: [PATCH] add a json schema --- LintLanguageDocs.md | 4 +- README.md | 2 +- package.json | 4 +- src/lib/lint-language/lint-language.ts | 3 +- src/lib/lint-language/lint-schema.json | 56141 +++++++++++++++++++++++ src/lib/lint-language/lint-type.ts | 119 + yarn.lock | 32 +- 7 files changed, 56298 insertions(+), 7 deletions(-) create mode 100644 src/lib/lint-language/lint-schema.json create mode 100644 src/lib/lint-language/lint-type.ts diff --git a/LintLanguageDocs.md b/LintLanguageDocs.md index 58adae27..1c4cc752 100644 --- a/LintLanguageDocs.md +++ b/LintLanguageDocs.md @@ -7,8 +7,8 @@ OR: {or: [EXPR, EXPR, EXPR]} NOT: {not: EXPR} Quantifiers: -FORALL: {all: {value: Variable, where?: EXPR, in: Variable | Value[]}} -EXISTS: {exists: {value: Variable, where?: EXPR, in: Variable | Value[]}} +FORALL: {all: {varbs: Variable[], where?: EXPR, in: Variable | Value[]}} +EXISTS: {exists: {varbs: Variable[], where?: EXPR, in: Variable | Value[]}} Comparisons (value) => expression similar: {"similar": {left: Value, right: Value, similarityThreshold: Number}} diff --git a/README.md b/README.md index 71269e12..29fe3493 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ First time you start it up you should also run `yarn prep data` - [ ] Parser? - [ ] Integration into main app - [ ] "Blame" for colors -- [ ] JSON Schema (for validation) (if parser is not used) +- [x] JSON Schema (for validation) (if parser is not used) - [ ] Add background, roles, etc - [ ] Add palette level semantics? - [na] Swap left/right for [a, b] for density diff --git a/package.json b/package.json index 4cd26c14..07533598 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", - "build-parser": "lezer-generator src/lib/lint-language/lint.grammar -o src/lib/lint-language/lint-parser.js" + "build-parser": "lezer-generator src/lib/lint-language/lint.grammar -o src/lib/lint-language/lint-parser.js", + "build-schema": "ts-json-schema-generator --path src/lib/lint-language/lint-type.ts LintProgram > src/lib/lint-language/lint-schema.json" }, "devDependencies": { "@lezer/generator": "^1.6.0", @@ -28,6 +29,7 @@ "postcss": "^8.4.32", "svelte": "^4.2.3", "svelte-check": "^3.6.0", + "ts-json-schema-generator": "^1.5.0", "tslib": "^2.6.2", "typescript": "^5.2.2", "vega-typings": "^1.0.1", diff --git a/src/lib/lint-language/lint-language.ts b/src/lib/lint-language/lint-language.ts index b38ec0a0..8c88805e 100644 --- a/src/lib/lint-language/lint-language.ts +++ b/src/lib/lint-language/lint-language.ts @@ -1,6 +1,7 @@ import cvd_sim from "../blindness"; import { Color, colorPickerConfig } from "../Color"; import { getName } from "../lints/name-discrim"; +import type { LintProgram } from "./lint-type"; type RawValues = string | number | Color | string[] | number[] | Color[]; class Environment { @@ -768,7 +769,7 @@ const DEFAULT_OPTIONS = { stages: false, }; export function LLEval( - root: any, + root: LintProgram, colors: Color[], options: Partial = {} ) { diff --git a/src/lib/lint-language/lint-schema.json b/src/lib/lint-language/lint-schema.json new file mode 100644 index 00000000..9ccf3b41 --- /dev/null +++ b/src/lib/lint-language/lint-schema.json @@ -0,0 +1,56141 @@ +{ + "$ref": "#/definitions/LintProgram", + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "LintProgram": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "and": { + "items": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + }, + "type": "array" + } + }, + "required": [ + "and" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "or": { + "items": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + }, + "type": "array" + } + }, + "required": [ + "or" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "not": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "not" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "all": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "in": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "type": "array" + } + ] + }, + "varbs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "where": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "varbs", + "in" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "in": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "type": "array" + } + ] + }, + "varb": { + "type": "string" + }, + "where": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "varb", + "in" + ], + "type": "object" + } + ] + } + }, + "required": [ + "all" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "exist": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "in": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "type": "array" + } + ] + }, + "varbs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "where": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "varbs", + "in" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "in": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "type": "array" + } + ] + }, + "varb": { + "type": "string" + }, + "where": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "varb", + "in" + ], + "type": "object" + } + ] + } + }, + "required": [ + "exist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "==": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + } + }, + "required": [ + "left", + "right" + ], + "type": "object" + } + }, + "required": [ + "==" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "!=": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + } + }, + "required": [ + "left", + "right" + ], + "type": "object" + } + }, + "required": [ + "!=" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "<": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + } + }, + "required": [ + "left", + "right" + ], + "type": "object" + } + }, + "required": [ + "<" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + ">": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + } + }, + "required": [ + "left", + "right" + ], + "type": "object" + } + }, + "required": [ + ">" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "similar": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "similarityThreshold": { + "type": "number" + } + }, + "required": [ + "left", + "right", + "similarityThreshold" + ], + "type": "object" + } + }, + "required": [ + "similar" + ], + "type": "object" + }, + { + "type": "boolean" + } + ], + "description": "Lint Language Lint Language is a language for expressing color logic. It is used to define color rules and constraints in the Lint system." + }, + "alias-1448761563-194-292-1448761563-0-2602": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "and": { + "items": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + }, + "type": "array" + } + }, + "required": [ + "and" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "or": { + "items": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + }, + "type": "array" + } + }, + "required": [ + "or" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "not": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "not" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "all": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "in": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "type": "array" + } + ] + }, + "varbs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "where": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "varbs", + "in" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "in": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "type": "array" + } + ] + }, + "varb": { + "type": "string" + }, + "where": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "varb", + "in" + ], + "type": "object" + } + ] + } + }, + "required": [ + "all" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "exist": { + "anyOf": [ + { + "additionalProperties": false, + "properties": { + "in": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "type": "array" + } + ] + }, + "varbs": { + "items": { + "type": "string" + }, + "type": "array" + }, + "where": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "varbs", + "in" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "in": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "type": "array" + } + ] + }, + "varb": { + "type": "string" + }, + "where": { + "$ref": "#/definitions/alias-1448761563-194-292-1448761563-0-2602" + } + }, + "required": [ + "varb", + "in" + ], + "type": "object" + } + ] + } + }, + "required": [ + "exist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "==": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + } + }, + "required": [ + "left", + "right" + ], + "type": "object" + } + }, + "required": [ + "==" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "!=": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + } + }, + "required": [ + "left", + "right" + ], + "type": "object" + } + }, + "required": [ + "!=" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "<": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + } + }, + "required": [ + "left", + "right" + ], + "type": "object" + } + }, + "required": [ + "<" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + ">": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + } + }, + "required": [ + "left", + "right" + ], + "type": "object" + } + }, + "required": [ + ">" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "similar": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + }, + "similarityThreshold": { + "type": "number" + } + }, + "required": [ + "left", + "right", + "similarityThreshold" + ], + "type": "object" + } + }, + "required": [ + "similar" + ], + "type": "object" + }, + { + "type": "boolean" + } + ] + }, + "alias-1448761563-2336-2499-1448761563-0-2602": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + }, + {}, + { + "type": "string" + }, + { + "additionalProperties": false, + "properties": { + "*": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "+": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "-": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + }, + "/": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "+", + "-", + "*", + "/" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "dist": { + "additionalProperties": false, + "properties": { + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "space": { + "enum": [ + "lab", + "hsl" + ], + "type": "string" + } + }, + "required": [ + "left", + "right", + "space" + ], + "type": "object" + } + }, + "required": [ + "dist" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "deltaE": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "2000", + "76" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "deltaE" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "contrast": { + "additionalProperties": false, + "properties": { + "algorithm": { + "enum": [ + "APCA", + "WCAG21", + "Michelson", + "Weber", + "Lstar", + "DeltaPhi" + ], + "type": "string" + }, + "left": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + }, + "right": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/alias-1448761563-2336-2499-1448761563-0-2602" + } + ] + } + }, + "required": [ + "left", + "right", + "algorithm" + ], + "type": "object" + } + }, + "required": [ + "contrast" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "count": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "max": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "mean": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "min": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + }, + "sum": { + "anyOf": [ + { + "type": "string" + }, + { + "items": {}, + "type": "array" + } + ] + } + }, + "required": [ + "sum", + "count", + "mean", + "max", + "min" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "cvd_sim": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "type": { + "enum": [ + "protanomaly", + "deuteranomaly", + "tritanopia", + "grayscale" + ], + "type": "string" + } + }, + "required": [ + "cvd_sim", + "type" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "name": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "name" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "channel": { + "enum": [ + "a", + "az", + "b", + "bz", + "c", + "g", + "h", + "jz", + "l", + "okc", + "okl", + "r", + "s", + "v" + ], + "type": "string" + }, + "space": { + "enum": [ + "hsl", + "hsv", + "jzazbz", + "lab", + "lch", + "oklab", + "oklch", + "rgb", + "srgb" + ], + "type": "string" + }, + "toColor": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "toColor", + "space", + "channel" + ], + "type": "object" + }, + { + "additionalProperties": false, + "properties": { + "hsl.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsl.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "hsv.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "jzazbz.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "lch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklab.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "oklch.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "rgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.a": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.az": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.b": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.bz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.c": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.g": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.h": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.jz": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.l": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okc": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.okl": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.r": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.s": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + }, + "srgb.v": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + {} + ] + } + }, + "required": [ + "hsl.a", + "hsl.az", + "hsl.b", + "hsl.bz", + "hsl.c", + "hsl.g", + "hsl.h", + "hsl.jz", + "hsl.l", + "hsl.okc", + "hsl.okl", + "hsl.r", + "hsl.s", + "hsl.v", + "hsv.a", + "hsv.az", + "hsv.b", + "hsv.bz", + "hsv.c", + "hsv.g", + "hsv.h", + "hsv.jz", + "hsv.l", + "hsv.okc", + "hsv.okl", + "hsv.r", + "hsv.s", + "hsv.v", + "jzazbz.a", + "jzazbz.az", + "jzazbz.b", + "jzazbz.bz", + "jzazbz.c", + "jzazbz.g", + "jzazbz.h", + "jzazbz.jz", + "jzazbz.l", + "jzazbz.okc", + "jzazbz.okl", + "jzazbz.r", + "jzazbz.s", + "jzazbz.v", + "lab.a", + "lab.az", + "lab.b", + "lab.bz", + "lab.c", + "lab.g", + "lab.h", + "lab.jz", + "lab.l", + "lab.okc", + "lab.okl", + "lab.r", + "lab.s", + "lab.v", + "lch.a", + "lch.az", + "lch.b", + "lch.bz", + "lch.c", + "lch.g", + "lch.h", + "lch.jz", + "lch.l", + "lch.okc", + "lch.okl", + "lch.r", + "lch.s", + "lch.v", + "oklab.a", + "oklab.az", + "oklab.b", + "oklab.bz", + "oklab.c", + "oklab.g", + "oklab.h", + "oklab.jz", + "oklab.l", + "oklab.okc", + "oklab.okl", + "oklab.r", + "oklab.s", + "oklab.v", + "oklch.a", + "oklch.az", + "oklch.b", + "oklch.bz", + "oklch.c", + "oklch.g", + "oklch.h", + "oklch.jz", + "oklch.l", + "oklch.okc", + "oklch.okl", + "oklch.r", + "oklch.s", + "oklch.v", + "rgb.a", + "rgb.az", + "rgb.b", + "rgb.bz", + "rgb.c", + "rgb.g", + "rgb.h", + "rgb.jz", + "rgb.l", + "rgb.okc", + "rgb.okl", + "rgb.r", + "rgb.s", + "rgb.v", + "srgb.a", + "srgb.az", + "srgb.b", + "srgb.bz", + "srgb.c", + "srgb.g", + "srgb.h", + "srgb.jz", + "srgb.l", + "srgb.okc", + "srgb.okl", + "srgb.r", + "srgb.s", + "srgb.v" + ], + "type": "object" + } + ] + } + } +} diff --git a/src/lib/lint-language/lint-type.ts b/src/lib/lint-language/lint-type.ts new file mode 100644 index 00000000..d04413af --- /dev/null +++ b/src/lib/lint-language/lint-type.ts @@ -0,0 +1,119 @@ +/** + * Lint Language + * Lint Language is a language for expressing color logic. It is used to define color rules and constraints in the Lint system. + */ +export type LintProgram = LintExpression; + +type LintExpression = + | LintConjunction + | LintQuantifier + | LintComparison + | LintBoolean; + +type LintConjunction = + | { and: LintExpression[] } + | { or: LintExpression[] } + | { not: LintExpression }; +type LintQuantifierBase = + | { + varbs: LintVariable[]; + where?: LintExpression; + in: LintVariable | LintValue[]; + } + | { + varb: LintVariable; + where?: LintExpression; + in: LintVariable | LintValue[]; + }; +type LintQuantifier = + | { all: LintQuantifierBase } + | { exist: LintQuantifierBase }; + +// Operations +type LintRef = LintVariable | LintValue; +type LintComparisonBase = { left: LintRef; right: LintRef }; +type LintComparison = + | { "==": LintComparisonBase } + | { "!=": LintComparisonBase } + | { "<": LintComparisonBase } + | { ">": LintComparisonBase } + | { similar: { left: LintRef; right: LintRef; similarityThreshold: number } }; +type MathOperations = "+" | "-" | "*" | "/"; +type LintMathOps = Record; +type LintPairOps = + | { dist: { left: LintRef; right: LintRef; space: "lab" | "hsl" } } + | { deltaE: { left: LintRef; right: LintRef; algorithm: "2000" | "76" } } + | { + contrast: { + left: LintRef; + right: LintRef; + algorithm: + | "APCA" + | "WCAG21" + | "Michelson" + | "Weber" + | "Lstar" + | "DeltaPhi"; + }; + }; + +type LintReduce = Record< + "sum" | "count" | "mean" | "max" | "min" | "mean", + LintVariable | any[] +>; +type LintColorFunction = + | { + cvd_sim: LintVariable | LintColor; + type: "protanomaly" | "deuteranomaly" | "tritanopia" | "grayscale"; + } + | { name: LintVariable | LintColor } + | { + toColor: LintVariable | LintColor; + space: ColorSpace; + channel: ColorChannel; + } + | Record<`${ColorSpace}.${ColorChannel}`, LintVariable | LintColor>; + +type ColorSpace = + | "hsl" + | "hsv" + | "jzazbz" + | "lab" + | "lch" + | "oklab" + | "oklch" + | "rgb" + | "srgb"; +type ColorChannel = + | "a" + | "az" + | "b" + | "b" + | "bz" + | "c" + | "g" + | "h" + | "jz" + | "l" + | "okc" + | "okl" + | "r" + | "s" + | "v"; + +// values +type LintValue = + | string + | number + | boolean + | LintColor + | LintVariable + | LintMathOps + | LintPairOps + | LintReduce + | LintColorFunction; + +// raw values +type LintBoolean = boolean; +type LintVariable = string; +type LintColor = string | any; diff --git a/yarn.lock b/yarn.lock index 37d3bd0d..1a5dcb7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2170,6 +2170,11 @@ dependencies: "@types/istanbul-lib-report" "*" +"@types/json-schema@^7.0.12": + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== + "@types/node-fetch@^2.6.4": version "2.6.9" resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.9.tgz#15f529d247f1ede1824f7e7acdaa192d5f28071e" @@ -3513,6 +3518,11 @@ commander@7, commander@^7.2.0: resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== +commander@^11.0.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-11.1.0.tgz#62fdce76006a68e5c1ab3314dc92e800eb83d906" + integrity sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ== + commander@^4.0.0: version "4.1.1" resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" @@ -6174,6 +6184,11 @@ json-stringify-pretty-compact@^3.0.0, json-stringify-pretty-compact@~3.0.0: resolved "https://registry.yarnpkg.com/json-stringify-pretty-compact/-/json-stringify-pretty-compact-3.0.0.tgz#f71ef9d82ef16483a407869556588e91b681d9ab" integrity sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA== +json5@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + jsonc-parser@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" @@ -8449,7 +8464,7 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -safe-stable-stringify@^2.3.1: +safe-stable-stringify@^2.3.1, safe-stable-stringify@^2.4.3: version "2.4.3" resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz#138c84b6f6edb3db5f8ef3ef7115b8f55ccbf886" integrity sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g== @@ -9455,6 +9470,19 @@ ts-interface-checker@^0.1.9: resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== +ts-json-schema-generator@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/ts-json-schema-generator/-/ts-json-schema-generator-1.5.0.tgz#9f5cea606c27ebcf13060157542ac1d3b225430f" + integrity sha512-RkiaJ6YxGc5EWVPfyHxszTmpGxX8HC2XBvcFlAl1zcvpOG4tjjh+eXioStXJQYTvr9MoK8zCOWzAUlko3K0DiA== + dependencies: + "@types/json-schema" "^7.0.12" + commander "^11.0.0" + glob "^8.0.3" + json5 "^2.2.3" + normalize-path "^3.0.0" + safe-stable-stringify "^2.4.3" + typescript "~5.3.2" + ts-node@^10.9.1: version "10.9.2" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" @@ -9553,7 +9581,7 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^5.0.0, typescript@^5.0.4: +typescript@^5.0.0, typescript@^5.0.4, typescript@~5.3.2: version "5.3.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==