-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsemantics.json
76 lines (76 loc) · 1.55 KB
/
semantics.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
[
{
"name": "cardImage",
"type": "image",
"label": "Card Image",
"importance": "medium",
"optional": true,
"description": "Image shown on card, optional. Without this the card will show just the text."
},
{
"name": "cardTitle",
"type": "text",
"label": "Card title",
"description": "The title of the card"
},
{
"name": "cardText",
"type": "library",
"label": "Content type",
"importance": "medium",
"optional": true,
"entity": "content",
"options": [
"H5P.AdvancedText 1.1"
]
},
{
"name": "cardAction",
"type": "group",
"importance": "high",
"optional": true,
"widget": "linkWidget",
"label": "Button",
"fields": [
{
"name": "protocol",
"type": "select",
"importance": "high",
"label": "Protocol",
"options": [
{
"value": "http://",
"label": "http://"
},
{
"value": "https://",
"label": "https://"
},
{
"value": "/",
"label": "(root relative)"
},
{
"value": "other",
"label": "other"
}
],
"optional": true,
"default": "http://"
},
{
"name": "url",
"type": "text",
"importance": "high",
"optional": true,
"label": "URL"
},
{
"name": "label",
"type": "text",
"optional": true,
"label": "Button label"
}
]
}
]