From c48d74138ad46ae818ff34b5c896105c5994e99c Mon Sep 17 00:00:00 2001 From: Philip Abbey Date: Wed, 24 Jun 2026 01:38:34 +0100 Subject: [PATCH] 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. --- config.schema.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config.schema.json b/config.schema.json index 9c6f9eb..9c0dc49 100644 --- a/config.schema.json +++ b/config.schema.json @@ -252,7 +252,7 @@ }, "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": { "action": { "$ref": "#/$defs/action" @@ -297,6 +297,15 @@ "data_attribute" ], "additionalProperties": false + }, + "confirm": { + "$ref": "#/$defs/confirm" + }, + "pin": { + "$ref": "#/$defs/pin" + }, + "exit": { + "$ref": "#/$defs/exit" } }, "required": [ @@ -990,7 +999,7 @@ "tap_action": { "type": "object", "title": "Tap Action", - "description": "'confirm' and 'pin' fields are optional.", + "description": "'confirm', 'pin' and 'exit' fields are optional.", "properties": { "confirm": { "$ref": "#/$defs/confirm"