-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathproperties.schema
45 lines (45 loc) · 1.46 KB
/
properties.schema
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
42
43
44
45
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"id": "http://jsonschema.net",
"$ref": "http://localhost/plugins/content/component/model.schema",
"properties":{
"_supportedLayout": {
"type": "string",
"required": true,
"enum": ["full-width", "half-width", "both"],
"default": "both",
"editorOnly": true
},
"_questionId": {
"type": "string",
"required": false,
"inputType": "Text",
"title": "Question ID",
"help": "The ID of the question to show feedback for. If empty, the component will try to find the question automatically by first looking in the same block, then looking for the immediately preceding question.",
"default": "",
"validators": [{
"type": "regexp",
"regexp": "^[0-9a-f]{24}$",
"message": "This must be set to the ID number of a question"
}]
},
"_hideSelectedItem": {
"type": "boolean",
"required": false,
"inputType": "Checkbox",
"title": "Hide Selected Items",
"help": "Enable to hide the labels for the selected items when showing the selection-specific feedback.",
"default": false,
"validators": []
},
"_hideDuplicateFeedback": {
"type": "boolean",
"required": false,
"inputType": "Checkbox",
"title": "Hide duplicate feedback",
"help": "Enable to hide feedback that is identical for multiple items.",
"default": false
}
}
}