changedInput schema / properties / ops / items / anyOf
Previous value: -[
- {
- "properties": {
- "op": {
- "const": "text",
- "type": "string"
- },
- "values": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "{ \"text_a1b2c3\": \"New headline\" }",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "op",
- "values"
- ],
- "type": "object"
- },
- {
- "properties": {
- "op": {
- "const": "images",
- "type": "string"
- },
- "values": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "{ \"image_url_v9y4k1\": \"https://…\" }",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "op",
- "values"
- ],
- "type": "object"
- },
- {
- "properties": {
- "op": {
- "const": "sectionSurface",
- "type": "string"
- },
- "overlay": {
- "enum": [
- "black",
- "off",
- "reset"
- ],
- "type": "string"
- },
- "overlayOpacity": {
- "maximum": 0.9,
- "minimum": 0.1,
- "type": "number"
- },
- "padding": {
- "description": "A multiplier of the section rhythm. 1 resets.",
- "maximum": 4,
- "minimum": 0.25,
- "type": "number"
- },
- "sectionKey": {
- "description": "A key from uichemy_list_section_backgrounds.",
- "type": "string"
- }
- },
- "required": [
- "op",
- "sectionKey"
- ],
- "type": "object"
- },
- {
- "properties": {
- "href": {
- "description": "https://…, /path, #anchor, mailto:, tel:, or \"\" to clear.",
- "type": "string"
- },
- "key": {
- "description": "A text_… or icon_url_… key, from uichemy_list_links.",
- "type": "string"
- },
- "newTab": {
- "type": "boolean"
- },
- "op": {
- "const": "link",
- "type": "string"
- }
- },
- "required": [
- "op",
- "key",
- "href"
- ],
- "type": "object"
- },
- {
- "properties": {
- "buttonKey": {
- "description": "A text_… or icon_url_… key, from uichemy_get_page.",
- "type": "string"
- },
- "op": {
- "const": "buttonRole",
- "type": "string"
- },
- "role": {
- "enum": [
- "primary",
- "secondary",
- "tertiary",
- "reset"
- ],
- "type": "string"
- }
- },
- "required": [
- "op",
- "buttonKey",
- "role"
- ],
- "type": "object"
- },
- {
- "properties": {
- "badgeKey": {
- "description": "A text_… key, from uichemy_get_page.",
- "type": "string"
- },
- "design": {
- "description": "1 Outline · 2 Solid · 3 Soft · 4 Dot · 5 Underline · 0 resets.",
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- },
- "op": {
- "const": "badgeDesign",
- "type": "string"
- }
- },
- "required": [
- "op",
- "badgeKey",
- "design"
- ],
- "type": "object"
- },
- {
- "properties": {
- "op": {
- "const": "videos",
- "type": "string"
- },
- "values": {
- "additionalProperties": {
- "properties": {
- "poster": {
- "type": "string"
- },
- "src": {
- "type": "string"
- }
- },
- "required": [
- "src"
- ],
- "type": "object"
- },
- "description": "{ \"video_url_e6v0a3\": { \"src\": \"https://…/clip.mp4\" } }",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "op",
- "values"
- ],
- "type": "object"
- },
- {
- "properties": {
- "align": {
- "enum": [
- "left",
- "center",
- "right"
- ],
- "type": "string"
- },
- "colorRole": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "properties": {
- "role": {
- "type": "string"
- },
- "step": {
- "maximum": 9,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "role",
- "step"
- ],
- "type": "object"
- }
- ],
- "description": "A role (\"primary\", \"titleLight\" …), { role, step } for a ramp shade, or \"#RRGGBB\"."
- },
- "hoverColorRole": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "properties": {
- "role": {
- "type": "string"
- },
- "step": {
- "maximum": 9,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "role",
- "step"
- ],
- "type": "object"
- }
- ]
- },
- "op": {
- "const": "textStyle",
- "type": "string"
- },
- "sizeKey": {
- "description": "heading-xs|sm|md|lg|xl|2xl|3xl|4xl|5xl, or body-sm|md|lg|xl.",
- "type": "string"
- },
- "tag": {
- "enum": [
- "h1",
- "h2",
- "h3",
- "h4",
- "h5",
- "h6",
- "p"
- ],
- "type": "string"
- },
- "textKey": {
- "type": "string"
- }
- },
- "required": [
- "op",
- "textKey"
- ],
- "type": "object"
- },
- {
- "properties": {
- "alt": {
- "type": "string"
- },
- "op": {
- "const": "imageDisplay",
- "type": "string"
- },
- "overlay": {
- "enum": [
- "yes",
- "no"
- ],
- "type": "string"
- },
- "position": {
- "enum": [
- "center",
- "left",
- "right",
- "top",
- "bottom"
- ],
- "type": "string"
- },
- "ratio": {
- "enum": [
- "original",
- "1:1",
- "4:3",
- "16:9",
- "3:2"
- ],
- "type": "string"
- },
- "slot": {
- "type": "string"
- }
- },
- "required": [
- "op",
- "slot"
- ],
- "type": "object"
- },
- {
- "properties": {
- "color": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "properties": {
- "role": {
- "type": "string"
- },
- "step": {
- "maximum": 9,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "role",
- "step"
- ],
- "type": "object"
- }
- ],
- "description": "A role, { role, step } on its ramp, or #hex."
- },
- "hex": {
- "type": "string"
- },
- "op": {
- "const": "sectionBackground",
- "type": "string"
- },
- "sectionKey": {
- "description": "A key from uichemy_list_section_backgrounds.",
- "type": "string"
- }
- },
- "required": [
- "op",
- "sectionKey"
- ],
- "type": "object"
- },
- {
- "properties": {
- "iconId": {
- "type": "string"
- },
- "op": {
- "const": "icon",
- "type": "string"
- },
- "value": {
- "type": "string"
- }
- },
- "required": [
- "op",
- "iconId",
- "value"
- ],
- "type": "object"
- },
- {
- "properties": {
- "color": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "properties": {
- "role": {
- "type": "string"
- },
- "step": {
- "maximum": 9,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "role",
- "step"
- ],
- "type": "object"
- }
- ],
- "description": "A role, { role, step }, #hex, or \"auto\" to follow the section again."
- },
- "iconId": {
- "description": "An icon_url_… label or a key from uichemy_list_icon_overrides.",
- "type": "string"
- },
- "op": {
- "const": "iconColor",
- "type": "string"
- }
- },
- "required": [
- "op",
- "iconId",
- "color"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "op": {
+ "const": "text",
+ "type": "string"
+ },
+ "values": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "{ \"<a text_ token from uichemy_get_page>\": \"New headline\" } - never an invented token",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "op",
+ "values"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "op": {
+ "const": "images",
+ "type": "string"
+ },
+ "values": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "{ \"image_url_v9y4k1\": \"https://…\" }",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "op",
+ "values"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "op": {
+ "const": "sectionSurface",
+ "type": "string"
+ },
+ "overlay": {
+ "enum": [
+ "black",
+ "off",
+ "reset"
+ ],
+ "type": "string"
+ },
+ "overlayOpacity": {
+ "maximum": 0.9,
+ "minimum": 0.1,
+ "type": "number"
+ },
+ "padding": {
+ "description": "A multiplier of the section rhythm. 1 resets.",
+ "maximum": 4,
+ "minimum": 0.25,
+ "type": "number"
+ },
+ "sectionKey": {
+ "description": "A key from uichemy_list_section_backgrounds.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "sectionKey"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "href": {
+ "description": "https://…, /path, #anchor, mailto:, tel:, or \"\" to clear.",
+ "type": "string"
+ },
+ "key": {
+ "description": "A text_… or icon_url_… key, from uichemy_list_links.",
+ "type": "string"
+ },
+ "newTab": {
+ "type": "boolean"
+ },
+ "op": {
+ "const": "link",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "key",
+ "href"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "buttonKey": {
+ "description": "A text_… or icon_url_… key, from uichemy_get_page.",
+ "type": "string"
+ },
+ "op": {
+ "const": "buttonRole",
+ "type": "string"
+ },
+ "role": {
+ "enum": [
+ "primary",
+ "secondary",
+ "tertiary",
+ "reset"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "buttonKey",
+ "role"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "badgeKey": {
+ "description": "A text_… key, from uichemy_get_page.",
+ "type": "string"
+ },
+ "design": {
+ "description": "1 Outline · 2 Solid · 3 Soft · 4 Dot · 5 Underline · 0 resets.",
+ "maximum": 5,
+ "minimum": 0,
+ "type": "number"
+ },
+ "op": {
+ "const": "badgeDesign",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "badgeKey",
+ "design"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "op": {
+ "const": "videos",
+ "type": "string"
+ },
+ "values": {
+ "additionalProperties": {
+ "properties": {
+ "poster": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "src"
+ ],
+ "type": "object"
+ },
+ "description": "{ \"video_url_e6v0a3\": { \"src\": \"https://…/clip.mp4\" } }",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "op",
+ "values"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "align": {
+ "enum": [
+ "left",
+ "center",
+ "right"
+ ],
+ "type": "string"
+ },
+ "colorRole": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "properties": {
+ "role": {
+ "type": "string"
+ },
+ "step": {
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "role",
+ "step"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "A role (\"primary\", \"titleLight\" …), { role, step } for a ramp shade, or \"#RRGGBB\"."
+ },
+ "hoverColorRole": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "properties": {
+ "role": {
+ "type": "string"
+ },
+ "step": {
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "role",
+ "step"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "op": {
+ "const": "textStyle",
+ "type": "string"
+ },
+ "sizeKey": {
+ "description": "heading-xs|sm|md|lg|xl|2xl|3xl|4xl|5xl, or body-sm|md|lg|xl.",
+ "type": "string"
+ },
+ "tag": {
+ "enum": [
+ "h1",
+ "h2",
+ "h3",
+ "h4",
+ "h5",
+ "h6",
+ "p"
+ ],
+ "type": "string"
+ },
+ "textKey": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "textKey"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "alt": {
+ "type": "string"
+ },
+ "op": {
+ "const": "imageDisplay",
+ "type": "string"
+ },
+ "overlay": {
+ "enum": [
+ "yes",
+ "no"
+ ],
+ "type": "string"
+ },
+ "position": {
+ "enum": [
+ "center",
+ "left",
+ "right",
+ "top",
+ "bottom"
+ ],
+ "type": "string"
+ },
+ "ratio": {
+ "enum": [
+ "original",
+ "1:1",
+ "4:3",
+ "16:9",
+ "3:2"
+ ],
+ "type": "string"
+ },
+ "slot": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "slot"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "color": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "properties": {
+ "role": {
+ "type": "string"
+ },
+ "step": {
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "role",
+ "step"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "A role, { role, step } on its ramp, or #hex."
+ },
+ "hex": {
+ "type": "string"
+ },
+ "op": {
+ "const": "sectionBackground",
+ "type": "string"
+ },
+ "sectionKey": {
+ "description": "A key from uichemy_list_section_backgrounds.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "sectionKey"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "iconId": {
+ "type": "string"
+ },
+ "op": {
+ "const": "icon",
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "iconId",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "color": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "properties": {
+ "role": {
+ "type": "string"
+ },
+ "step": {
+ "maximum": 9,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "role",
+ "step"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "A role, { role, step }, #hex, or \"auto\" to follow the section again."
+ },
+ "iconId": {
+ "description": "An icon_url_… label or a key from uichemy_list_icon_overrides.",
+ "type": "string"
+ },
+ "op": {
+ "const": "iconColor",
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "iconId",
+ "color"
+ ],
+ "type": "object"
+ }
+]