Update schema for numeric tap_action and HISTORY

Add schema metadata and stricter validation for numeric tap_action: include title & description, disallow additionalProperties on the tap_action and its picker properties to better define the number picker payload. Update HISTORY.md with a 3.14 entry documenting numeric items now supporting tap_action.data and the PIN/menu behavior change, and credit the contributor.
This commit is contained in:
Philip Abbey
2026-06-24 01:12:20 +01:00
parent 8c5bdbc1f8
commit 3404c7f679
2 changed files with 7 additions and 3 deletions

View File

@@ -251,7 +251,8 @@
"$ref": "#/$defs/content"
},
"tap_action": {
"$ref": "#/$defs/tap_action",
"title": "Tap Action",
"description": "Numeric tap action definition to include the number picker.",
"properties": {
"action": {
"$ref": "#/$defs/action"
@@ -294,13 +295,15 @@
"max",
"step",
"data_attribute"
]
],
"additionalProperties": false
}
},
"required": [
"action",
"picker"
]
],
"additionalProperties": false
},
"enabled": {
"$ref": "#/$defs/enabled"