Update config.schema.json

Numeric's tap_action is different to the tap's, and re-using the $ref caused problems, so properties have been copied.
This commit is contained in:
Philip Abbey
2026-06-24 01:38:34 +01:00
parent 3404c7f679
commit c48d74138a

View File

@@ -252,7 +252,7 @@
}, },
"tap_action": { "tap_action": {
"title": "Tap Action", "title": "Tap Action",
"description": "Numeric tap action definition to include the number picker.", "description": "Numeric tap action definition to include the number picker. 'confirm', 'pin' and 'exit' fields are optional.",
"properties": { "properties": {
"action": { "action": {
"$ref": "#/$defs/action" "$ref": "#/$defs/action"
@@ -297,6 +297,15 @@
"data_attribute" "data_attribute"
], ],
"additionalProperties": false "additionalProperties": false
},
"confirm": {
"$ref": "#/$defs/confirm"
},
"pin": {
"$ref": "#/$defs/pin"
},
"exit": {
"$ref": "#/$defs/exit"
} }
}, },
"required": [ "required": [
@@ -990,7 +999,7 @@
"tap_action": { "tap_action": {
"type": "object", "type": "object",
"title": "Tap Action", "title": "Tap Action",
"description": "'confirm' and 'pin' fields are optional.", "description": "'confirm', 'pin' and 'exit' fields are optional.",
"properties": { "properties": {
"confirm": { "confirm": {
"$ref": "#/$defs/confirm" "$ref": "#/$defs/confirm"