-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwebforms.json
More file actions
65 lines (65 loc) · 1.56 KB
/
webforms.json
File metadata and controls
65 lines (65 loc) · 1.56 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
{
"data": [
{
"id": "simpel_formular",
"type": "webform",
"attributes": {
"title": "Simpel formular",
"description": "Simpel formular der demonstrerer deling af formularer på tværs af OS2Forms-installationer.",
"category": "Test",
"elements": {
"name": {
"#type": "textfield",
"#title": "Name",
"#required": true
},
"birthday": {
"#type": "datelist",
"#title": "Birthday",
"#date_part_order": [
"year",
"month",
"day"
],
"#required": true
},
"number": {
"#type": "number",
"#title": "Number",
"#min": 1,
"#max": 87
},
"er_du_tilfreds_": {
"#type": "checkbox",
"#title": "Er du tilfreds?"
}
}
},
"links": {
"self": "https://…/os2forms/sync/jsonapi/webform/simpel_formular"
}
},
{
"id": "example_form",
"type": "webform",
"attributes": {
"title": "Example form",
"description": "Example form.",
"category": "Example",
"elements": {
"name": {
"#type": "textfield",
"#title": "Name",
"#required": true
}
}
},
"links": {
"self": "https://…/os2forms/sync/jsonapi/webform/example_form"
}
}
],
"links": {
"self": "https://…/os2forms/sync/jsonapi/webform"
}
}