-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-sample.json
86 lines (81 loc) · 1.74 KB
/
build-sample.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
86
{
"plugin-name": "",
"author-name": "",
"author-email": "",
"author-uri": "",
"owner-name": "",
"owner-uri": "",
"owner-email": "",
"plugin-slug": "",
"plugin-desc": "",
"plugin-uri": "",
"custom-posts": [{
"name": "Books",
"nameSingular": "book",
"metaboxes": {
"Details": {
"Publisher": "text",
"ISBN": "text"
},
"Author": {
"prop3": {
"type": "select",
"options": {
"op1": "First Option" ,
"op2": "Second Option",
"op3": "Third Option"
}
}
}
}
},
{
"name": "Newspapers",
"nameSingular": "Newspaper",
"metaboxes": {
"General Config": {
"Publisher": "text",
"Since": "text"
},
"Special Config": {
"prop3": {
"type": "select",
"options": {
"op1": "First Option" ,
"op2": "Second Option",
"op3": "Third Option"
}
}
}
}
}
],
"settings": {
"page1" : {
"Required" : {
"field 1": "text",
"field 2": "number"
},
"Optional" : {
"field 3": {
"type": "select",
"options": {
"ask": "Always Ask",
"allow": "Always Allow",
"deny": "Never Allow",
}
},
"field 4": ""
}
}
},
"options": {
"settings-page": true,
"widgets": [
{
"id": "my-plugin-widget",
"class-name": "My_Plugin_Widget"
}
]
}
}