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": {
"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"