/
prompt-schema.json
41 lines (41 loc) · 1002 Bytes
/
prompt-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"type": "object",
"properties": {
"title": {
"description": "Title of the dialog.",
"type": "string",
"title": "Title"
},
"message": {
"description": "Message to show on the dialog.",
"type": "string",
"title": "Message"
},
"okButtonTitle": {
"description": "Text to use on the positive action button.",
"default": "OK",
"type": "string",
"title": "OkButtonTitle"
},
"cancelButtonTitle": {
"description": "Text to use on the negative action button.",
"default": "Cancel",
"type": "string",
"title": "CancelButtonTitle"
},
"inputPlaceholder": {
"description": "Placeholder text for hints.",
"type": "string",
"title": "InputPlaceholder"
},
"inputText": {
"description": "Prepopulated text.",
"type": "string",
"title": "InputText"
}
},
"required": [
"message"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}