-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitem.schema.json
85 lines (85 loc) · 2.43 KB
/
item.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "The Root Schema",
"required": [
"item" ],
"properties": {
"item": {
"$id": "#/properties/item",
"type": "object",
"title": "The Item Schema",
"required": [
"variable name",
"variable label",
"question number",
"question text",
"outgoing filter"
],
"properties": {
"variable name": {
"$id": "#/properties/item/properties/variable name",
"type": "string",
"title": "The name of the variable",
"default": "",
"examples": [
"etintro14"
],
"pattern": "^(.*)$"
},
"variable label": {
"$id": "#/properties/item/properties/variable label",
"type": "string",
"title": "The label of the variable",
"default": "",
"examples": [
"Nebentätigkeit"
],
"pattern": "^(.*)$"
},
"question number": {
"$id": "#/properties/item/properties/question number",
"type": "string",
"title": "The question number",
"default": "",
"examples": [
"26216c"
],
"pattern": "^(.*)$"
},
"question text": {
"$id": "#/properties/item/properties/question text",
"type": "string",
"title": "The question text",
"default": "",
"examples": [
"Haben Sie seit <#20101P3(intmPRE/intjPRE)> noch einen bezahlte Nebentätigkeit ausgeübt?"
],
"pattern": "^(.*)$"
},
"outgoing filter": {
"$id": "#/properties/item/properties/outgoing filter",
"type": "string",
"title": "The filter text for outgoing filter",
"default": "",
"examples": [
"goto <next>"
]
},
"values": {
"$id": "#/properties/item/properties/values",
"type": "array",
"title": "The Values Schema",
"items": {
"$id": "#/properties/item/properties/values/items",
"type": "object",
"title": "The Items Schema"
},
"uniqueItems" : true
}
}
}
}
}