add pin confirmation

This commit is contained in:
Matthias Oesterheld
2024-10-15 19:59:04 +02:00
parent 04c61981ea
commit b48102f9a6
7 changed files with 214 additions and 4 deletions

View File

@ -217,6 +217,9 @@
"type": "object",
"title": "Your services's parameters",
"description": "The object containing the parameters and their values to be passed to the entity. No schema checking can be done here, you are on your own! On application crash, remove the parameters."
},
"pin": {
"$ref": "#/$defs/pin"
}
},
"required": ["service"]
@ -230,6 +233,12 @@
"default": false,
"title": "Confirmation",
"description": "Optional confirmation of the action before execution as a precaution."
},
"pin": {
"title": "Confirmation PIN",
"type": "string",
"pattern": "^[1-4]+$",
"description": "Optional confirmation PIN to be entered before execution as a simple security measure."
}
}
}