waveterm/schema/backgrounds.json
2026-03-24 09:00:45 -07:00

53 lines
No EOL
1.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$defs": {
"BackgroundConfigType": {
"properties": {
"bg": {
"type": "string",
"description": "CSS background property value"
},
"bg:opacity": {
"type": "number",
"description": "Background opacity (0.0-1.0)"
},
"bg:blendmode": {
"type": "string",
"description": "CSS background-blend-mode property value"
},
"bg:bordercolor": {
"type": "string",
"description": "Block frame border color"
},
"bg:activebordercolor": {
"type": "string",
"description": "Block frame focused border color"
},
"display:name": {
"type": "string",
"description": "The name shown in the context menu"
},
"display:order": {
"type": "number",
"description": "Determines the order of the background in the context menu"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"display:name"
]
}
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/$defs/BackgroundConfigType"
},
{
"type": "null"
}
]
},
"type": "object"
}