-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo_template.json
74 lines (73 loc) · 1.54 KB
/
demo_template.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
{
"auswahl": {
"_description_":{
"values": "Array von Werten unter denen Entschieden wird"
},
"type": "choice",
"values": ["Nummer 1", "Nummer 2","Nummer 3"],
"weights": [1,2,3]
},
"ganzzahl": {
"_description_":{
"min": "Minimalwert",
"max": "Maximalwert",
"step": "Schrittgröße"
},
"type": "int",
"min": 0,
"max": 100,
"step": 1
},
"kommazahl": {
"_description_":{
"min": "Minimalwert",
"max": "Maximalwert"
},
"type": "float",
"min": 0,
"max": 100
},
"wahrheitswert": {
"_description_":{
"probability": "Wert von 0.0 bis 1.0, bestimmt die wahrscheinlichkeit des wahrheitswerts",
"format": "'numeric' = 0/1 'text'= false/true"
},
"type": "boolean",
"probability": 0.5,
"format": "numeric"
},
"ausdrücke": {
"_description_": {
"expr": "Python ausdruck. Verfügbare Module{math} und Funktionen{floor,sqrt,random,gauss,clamp}"
},
"type": "expression",
"expr": "floor(random() * 10)"
},
"verteilung": {
"type": "spread",
"columns": 10,
"generator": {
"type": "int",
"min": 0,
"max": 100
}
},
"zusammenschluss": {
"_description_": {
"generators": "Array mit templates welche in der Spalte konkateniert werden"
},
"type": "join",
"generators":[
{
"type": "choice",
"values": ["Männlich","Weiblich"]
},
{
"type": "int",
"min": 12,
"max": 30
}
],
"separator": " "
}
}