PluginProbe ʕ •ᴥ•ʔ
Secure Custom Fields / 6.9.1
Secure Custom Fields v6.9.1
6.9.1 6.9.0 6.8.9 6.8.7 6.8.8 6.8.6 6.8.4 6.8.5 trunk 6.4.0-beta1 6.4.0-beta2 6.4.1 6.4.1-beta3 6.4.1-beta4 6.4.1-beta5 6.4.1-beta6 6.4.1-beta7 6.4.2 6.5.0 6.5.1 6.5.2 6.5.3 6.5.4 6.5.5 6.5.6 6.5.7 6.6.0 6.7.0 6.7.1 6.8.0 6.8.1 6.8.2 6.8.3
secure-custom-fields / schemas / fields / v1 / checkbox.json
secure-custom-fields / schemas / fields / v1 Last commit date
accordion.json 2 months ago button_group.json 2 months ago checkbox.json 2 months ago clone.json 2 months ago color_picker.json 2 months ago date_picker.json 2 months ago date_time_picker.json 2 months ago email.json 2 months ago file.json 2 months ago flexible_content.json 2 months ago gallery.json 2 months ago google_map.json 2 months ago group.json 2 months ago icon_picker.json 2 months ago image.json 2 months ago link.json 2 months ago message.json 2 months ago number.json 2 months ago oembed.json 2 months ago page_link.json 2 months ago password.json 2 months ago post_object.json 2 months ago radio.json 2 months ago range.json 2 months ago relationship.json 2 months ago repeater.json 2 months ago select.json 2 months ago tab.json 2 months ago taxonomy.json 2 months ago text.json 2 months ago textarea.json 2 months ago time_picker.json 2 months ago true_false.json 2 months ago url.json 2 months ago user.json 2 months ago wysiwyg.json 2 months ago
checkbox.json
143 lines
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "type": "object",
4 "additionalProperties": false,
5 "properties": {
6 "label": {
7 "type": "string",
8 "description": "The field label displayed in the edit screen",
9 "minLength": 1
10 },
11 "type": {
12 "type": "string",
13 "enum": [
14 "checkbox"
15 ],
16 "description": "Field type identifier. Must be \"checkbox\" for this field type."
17 },
18 "name": {
19 "type": "string",
20 "description": "The field name used to save/load data. Auto-generated from label if not provided.",
21 "pattern": "^[a-z_][a-z0-9_]*$"
22 },
23 "key": {
24 "type": "string",
25 "description": "Unique field key. Auto-generated if not provided.",
26 "pattern": "^field_[a-z0-9]+$"
27 },
28 "instructions": {
29 "type": "string",
30 "description": "Instructions displayed to editors below the field label"
31 },
32 "required": {
33 "type": "boolean",
34 "description": "Whether this field is required",
35 "default": false
36 },
37 "conditional_logic": {
38 "type": [
39 "boolean",
40 "array"
41 ],
42 "description": "Conditional logic rules. Set to false to disable, or provide rules array.",
43 "default": false
44 },
45 "wrapper": {
46 "type": "object",
47 "description": "HTML wrapper attributes",
48 "properties": {
49 "width": {
50 "type": "string",
51 "description": "Width percentage (e.g., \"50\")"
52 },
53 "class": {
54 "type": "string",
55 "description": "Custom CSS classes"
56 },
57 "id": {
58 "type": "string",
59 "description": "Custom HTML ID"
60 }
61 }
62 },
63 "default_value": {
64 "type": [
65 "string",
66 "number",
67 "boolean",
68 "null"
69 ],
70 "description": "Default value when creating new content"
71 },
72 "placeholder": {
73 "type": "string",
74 "description": "Placeholder text shown in empty fields"
75 },
76 "prepend": {
77 "type": "string",
78 "description": "Text to prepend before the input"
79 },
80 "append": {
81 "type": "string",
82 "description": "Text to append after the input"
83 },
84 "maxlength": {
85 "type": "integer",
86 "description": "Maximum character length (if applicable)",
87 "minimum": 1
88 },
89 "allow_in_bindings": {
90 "type": "boolean",
91 "description": "Whether this field can be used in block bindings",
92 "default": false
93 },
94 "choices": {
95 "type": "object",
96 "description": "Available choices for the checkbox field. Object with key-value pairs where keys are saved values and values are display labels (e.g., {\"red\": \"Red\", \"blue\": \"Blue\"})"
97 },
98 "layout": {
99 "type": "string",
100 "description": "Layout orientation of checkboxes",
101 "enum": [
102 "vertical",
103 "horizontal"
104 ],
105 "default": "vertical"
106 },
107 "allow_custom": {
108 "type": "boolean",
109 "description": "Allow users to add custom choices",
110 "default": false
111 },
112 "save_custom": {
113 "type": "boolean",
114 "description": "Save custom choices as new choice options",
115 "default": false
116 },
117 "toggle": {
118 "type": "boolean",
119 "description": "Display a \"Toggle All\" checkbox",
120 "default": false
121 },
122 "return_format": {
123 "type": "string",
124 "description": "Format of returned value",
125 "enum": [
126 "value",
127 "label",
128 "array"
129 ],
130 "default": "value"
131 },
132 "custom_choice_button_text": {
133 "type": "string",
134 "description": "Text for the \"Add new choice\" button when allow_custom is enabled",
135 "default": "Add new choice"
136 }
137 },
138 "required": [
139 "label",
140 "type",
141 "choices"
142 ]
143 }