forked from json-schema-form/angular-schema-form
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtabs.json
More file actions
85 lines (85 loc) · 1.92 KB
/
tabs.json
File metadata and controls
85 lines (85 loc) · 1.92 KB
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
{
"schema": {
"type": "object",
"properties": {
"clan": {
"title": "Ninja Clan",
"description": "Which clan do you wish to complete your task?",
"type": "string",
"enum": [ "Iga", "koga" ]
},
"armySize": {
"type": "number",
"title": "How many Ninja will be required?",
"min": 1,
"max": 7
},
"weaponOfChoice": {
"type": "string",
"title": "Favourite tool",
"enum": ["Nunchuku","Sai","Hanbo","Tonfa"]
},
"colour": {
"type": "string",
"title": "Color preference",
"enum": ["Black"]
},
"date": {
"title": "Date of assault",
"type": "string",
"format": "date"
},
"victim": {
"title": "Target",
"type": "string"
},
"assassinationStyle": {
"title": "How would you like to dispatch your target?",
"type": "string",
"enum": [ "With honour", "With much blood", "With much suffering" ]
},
"fee": {
"title": "I accept late fee payment will result in a most dishonourable and painfully slow death",
"type": "boolean"
},
"suggestions": {
"title": "Any suggestions based on local knowledge?",
"type": "string"
}
}
},
"form": [
{
"type": "tabs",
"tabs": [
{
"title": "Ninja Details",
"items": [
"clan",
"armySize",
"weaponOfChoice",
"colour"
]
},
{
"title": "Job Properties",
"items": [
"date",
"victim",
"assassinationStyle",
"fee"
]
},
{
"title": "Further Information",
"items": [
{
"key":"suggestions",
"type": "textarea"
}
]
}
]
}
]
}