PluginProbe ʕ •ᴥ•ʔ
Secure Custom Fields / trunk
Secure Custom Fields vtrunk
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 / image.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
image.json
163 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 "image"
15 ],
16 "description": "Field type identifier. Must be \"image\" 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 "return_format": {
95 "type": "string",
96 "description": "Format of returned value",
97 "enum": [
98 "array",
99 "url",
100 "id"
101 ],
102 "default": "array"
103 },
104 "preview_size": {
105 "type": "string",
106 "description": "Image size to use for preview (e.g., \"thumbnail\", \"medium\", \"large\")",
107 "default": "medium"
108 },
109 "library": {
110 "type": "string",
111 "description": "Limit media library to uploaded images only",
112 "enum": [
113 "all",
114 "uploadedTo"
115 ],
116 "default": "all"
117 },
118 "min_width": {
119 "type": "integer",
120 "description": "Minimum width in pixels (0 for no limit)",
121 "default": 0,
122 "minimum": 0
123 },
124 "min_height": {
125 "type": "integer",
126 "description": "Minimum height in pixels (0 for no limit)",
127 "default": 0,
128 "minimum": 0
129 },
130 "min_size": {
131 "type": "number",
132 "description": "Minimum file size in MB (0 for no limit)",
133 "default": 0,
134 "minimum": 0
135 },
136 "max_width": {
137 "type": "integer",
138 "description": "Maximum width in pixels (0 for no limit)",
139 "default": 0,
140 "minimum": 0
141 },
142 "max_height": {
143 "type": "integer",
144 "description": "Maximum height in pixels (0 for no limit)",
145 "default": 0,
146 "minimum": 0
147 },
148 "max_size": {
149 "type": "number",
150 "description": "Maximum file size in MB (0 for no limit)",
151 "default": 0,
152 "minimum": 0
153 },
154 "mime_types": {
155 "type": "string",
156 "description": "Comma-separated list of allowed MIME types (e.g., \"jpg,png,gif\")"
157 }
158 },
159 "required": [
160 "label",
161 "type"
162 ]
163 }