This commit is contained in:
2026-07-02 15:54:39 -06:00
commit 9883323161
17470 changed files with 4470592 additions and 0 deletions
@@ -0,0 +1,78 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"accordion"
],
"description": "Field type identifier. Must be \"accordion\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"open": {
"type": "boolean",
"description": "Display this accordion as open on page load",
"default": false
},
"multi_expand": {
"type": "boolean",
"description": "Allow this accordion to open without closing others",
"default": false
},
"endpoint": {
"type": "boolean",
"description": "Define an endpoint for the previous accordion to stop. This accordion will not be visible.",
"default": false
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,128 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"button_group"
],
"description": "Field type identifier. Must be \"button_group\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"choices": {
"type": "object",
"description": "Available choices for the button group. Object with key-value pairs where keys are saved values and values are display labels (e.g., {\"left\": \"Left\", \"center\": \"Center\", \"right\": \"Right\"})"
},
"layout": {
"type": "string",
"description": "Layout orientation of buttons",
"enum": [
"horizontal",
"vertical"
],
"default": "horizontal"
},
"allow_null": {
"type": "boolean",
"description": "Allow a null (empty) value to be selected",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"value",
"label",
"array"
],
"default": "value"
}
},
"required": [
"label",
"type",
"choices"
]
}
@@ -0,0 +1,143 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"checkbox"
],
"description": "Field type identifier. Must be \"checkbox\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"choices": {
"type": "object",
"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\"})"
},
"layout": {
"type": "string",
"description": "Layout orientation of checkboxes",
"enum": [
"vertical",
"horizontal"
],
"default": "vertical"
},
"allow_custom": {
"type": "boolean",
"description": "Allow users to add custom choices",
"default": false
},
"save_custom": {
"type": "boolean",
"description": "Save custom choices as new choice options",
"default": false
},
"toggle": {
"type": "boolean",
"description": "Display a \"Toggle All\" checkbox",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"value",
"label",
"array"
],
"default": "value"
},
"custom_choice_button_text": {
"type": "string",
"description": "Text for the \"Add new choice\" button when allow_custom is enabled",
"default": "Add new choice"
}
},
"required": [
"label",
"type",
"choices"
]
}
@@ -0,0 +1,136 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"clone"
],
"description": "Field type identifier. Must be \"clone\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"clone": {
"type": "array",
"description": "Array of field keys or field group keys to clone. The clone field loads and displays these existing fields without duplicating them in the database.",
"items": {
"type": "string"
},
"default": []
},
"display": {
"type": "string",
"description": "Display mode: \"seamless\" replaces the clone field with the selected fields, \"group\" displays the selected fields as a group of subfields",
"enum": [
"seamless",
"group"
],
"default": "seamless"
},
"layout": {
"type": "string",
"description": "Display layout when display mode is \"group\"",
"enum": [
"block",
"table",
"row"
],
"default": "block"
},
"prefix_label": {
"type": "boolean",
"description": "Whether to prefix cloned field labels with the clone field label",
"default": false
},
"prefix_name": {
"type": "boolean",
"description": "Whether to prefix cloned field names with the clone field name",
"default": false
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,129 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"color_picker"
],
"description": "Field type identifier. Must be \"color_picker\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": "string",
"description": "Default color value in hex format (e.g., \"#FFFFFF\", \"#FF5733\")",
"default": ""
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"enable_opacity": {
"type": "boolean",
"description": "Enable transparency/alpha channel support for RGBA colors",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of the returned value",
"enum": [
"string",
"array"
],
"default": "string"
},
"custom_palette_source": {
"type": "string",
"description": "Source for custom color palette (empty for default, \"custom\" for manual colors, \"themejson\" to use theme.json colors)",
"enum": [
"",
"custom",
"themejson"
],
"default": ""
},
"palette_colors": {
"type": "string",
"description": "Comma-separated list of hex or rgba color values for custom palette (e.g., \"#FF0000,#00FF00,#0000FF\" or \"rgba(255,0,0,1),rgba(0,255,0,1)\")",
"default": ""
},
"show_color_wheel": {
"type": "boolean",
"description": "Show or hide the color wheel in the picker interface",
"default": true
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,121 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"date_picker"
],
"description": "Field type identifier. Must be \"date_picker\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"display_format": {
"type": "string",
"description": "PHP date format for displaying the date when editing (e.g., \"d/m/Y\", \"m/d/Y\", \"F j, Y\"). See PHP date() documentation for format options.",
"default": "d/m/Y"
},
"return_format": {
"type": "string",
"description": "PHP date format for the value returned via template functions (e.g., \"d/m/Y\", \"m/d/Y\", \"F j, Y\", \"Ymd\"). See PHP date() documentation for format options.",
"default": "d/m/Y"
},
"first_day": {
"type": "integer",
"description": "Which day the week starts on in the date picker (0 = Sunday, 1 = Monday, etc.)",
"default": 1,
"minimum": 0,
"maximum": 6
},
"default_to_current_date": {
"type": "boolean",
"description": "Use the current date as the default value when creating new content",
"default": false
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,121 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"date_time_picker"
],
"description": "Field type identifier. Must be \"date_time_picker\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"display_format": {
"type": "string",
"description": "PHP date and time format for displaying when editing (e.g., \"d/m/Y g:i a\", \"m/d/Y g:i a\", \"F j, Y g:i a\", \"Y-m-d H:i:s\"). Combines both date and time format. See PHP date() documentation for format options.",
"default": "d/m/Y g:i a"
},
"return_format": {
"type": "string",
"description": "PHP date and time format for the value returned via template functions (e.g., \"d/m/Y g:i a\", \"m/d/Y g:i a\", \"F j, Y g:i a\", \"Y-m-d H:i:s\"). Combines both date and time format. See PHP date() documentation for format options.",
"default": "d/m/Y g:i a"
},
"first_day": {
"type": "integer",
"description": "Which day the week starts on in the date picker (0 = Sunday, 1 = Monday, etc.)",
"default": 1,
"minimum": 0,
"maximum": 6
},
"default_to_current_date": {
"type": "boolean",
"description": "Use the current date and time as the default value when creating new content",
"default": false
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,99 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"email"
],
"description": "Field type identifier. Must be \"email\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,134 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"file"
],
"description": "Field type identifier. Must be \"file\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"array",
"url",
"id"
],
"default": "array"
},
"library": {
"type": "string",
"description": "Limit media library to uploaded files only",
"enum": [
"all",
"uploadedTo"
],
"default": "all"
},
"min_size": {
"type": "number",
"description": "Minimum file size in MB (0 for no limit)",
"default": 0,
"minimum": 0
},
"max_size": {
"type": "number",
"description": "Maximum file size in MB (0 for no limit)",
"default": 0,
"minimum": 0
},
"mime_types": {
"type": "string",
"description": "Comma-separated list of allowed MIME types (e.g., \"pdf,doc,docx\")"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,124 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"flexible_content"
],
"description": "Field type identifier. Must be \"flexible_content\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"layouts": {
"type": "array",
"description": "Array of layout configuration objects. Each layout represents a different content structure that editors can choose from. Each layout object should have: \"label\" (display name), \"name\" (machine name), \"sub_fields\" (array of field objects for this layout), \"display\" (layout style: \"table\", \"block\", or \"row\"), \"min\" (minimum instances of this layout), and \"max\" (maximum instances of this layout).",
"items": {
"type": "object"
},
"default": []
},
"min": {
"type": "integer",
"description": "Minimum total number of layouts required",
"default": 0,
"minimum": 0
},
"max": {
"type": "integer",
"description": "Maximum total number of layouts allowed (0 for unlimited)",
"default": 0,
"minimum": 0
},
"button_label": {
"type": "string",
"description": "Custom text for the \"Add Row\" button",
"default": "Add Row"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,184 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"gallery"
],
"description": "Field type identifier. Must be \"gallery\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"array",
"url",
"id"
],
"default": "array"
},
"preview_size": {
"type": "string",
"description": "Image size to use for preview thumbnails (e.g., \"thumbnail\", \"medium\", \"large\")",
"default": "medium"
},
"insert": {
"type": "string",
"description": "Position where new images are added",
"enum": [
"append",
"prepend"
],
"default": "append"
},
"library": {
"type": "string",
"description": "Limit media library to uploaded images only",
"enum": [
"all",
"uploadedTo"
],
"default": "all"
},
"min": {
"type": "integer",
"description": "Minimum number of images required (0 for no limit)",
"default": 0,
"minimum": 0
},
"max": {
"type": "integer",
"description": "Maximum number of images allowed (0 for no limit)",
"default": 0,
"minimum": 0
},
"min_width": {
"type": "integer",
"description": "Minimum width in pixels (0 for no limit)",
"default": 0,
"minimum": 0
},
"min_height": {
"type": "integer",
"description": "Minimum height in pixels (0 for no limit)",
"default": 0,
"minimum": 0
},
"min_size": {
"type": "number",
"description": "Minimum file size in MB (0 for no limit)",
"default": 0,
"minimum": 0
},
"max_width": {
"type": "integer",
"description": "Maximum width in pixels (0 for no limit)",
"default": 0,
"minimum": 0
},
"max_height": {
"type": "integer",
"description": "Maximum height in pixels (0 for no limit)",
"default": 0,
"minimum": 0
},
"max_size": {
"type": "number",
"description": "Maximum file size in MB (0 for no limit)",
"default": 0,
"minimum": 0
},
"mime_types": {
"type": "string",
"description": "Comma-separated list of allowed MIME types (e.g., \"jpg,png,gif\")"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,122 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"google_map"
],
"description": "Field type identifier. Must be \"google_map\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"center_lat": {
"type": "number",
"description": "Latitude coordinate for the initial map center point (decimal degrees)",
"default": -37.81411
},
"center_lng": {
"type": "number",
"description": "Longitude coordinate for the initial map center point (decimal degrees)",
"default": 144.96328
},
"zoom": {
"type": "integer",
"description": "Initial zoom level for the map (typically 0-21, where higher numbers are more zoomed in)",
"default": 14,
"minimum": 0,
"maximum": 21
},
"height": {
"type": "integer",
"description": "Height of the map display area in pixels",
"default": 400,
"minimum": 1
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,117 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"group"
],
"description": "Field type identifier. Must be \"group\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"sub_fields": {
"type": "array",
"description": "Array of field configuration objects to be grouped together. Each sub field should follow the standard field creation schema with properties like label, name, type, etc.",
"items": {
"type": "object"
},
"default": []
},
"layout": {
"type": "string",
"description": "Display style for the grouped fields",
"enum": [
"block",
"table",
"row"
],
"default": "block"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,125 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"icon_picker"
],
"description": "Field type identifier. Must be \"icon_picker\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"tabs": {
"type": "array",
"description": "Select which icon sources are available to content editors (dashicons, media_library, url)",
"items": {
"type": "string",
"enum": [
"dashicons",
"media_library",
"url"
]
},
"default": [
"dashicons",
"media_library",
"url"
]
},
"return_format": {
"type": "string",
"description": "Format of the value returned by the field. \"string\" returns the icon value (dashicon class, URL, or attachment URL). \"array\" returns an object with type and value properties.",
"enum": [
"string",
"array"
],
"default": "string"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,163 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"image"
],
"description": "Field type identifier. Must be \"image\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"array",
"url",
"id"
],
"default": "array"
},
"preview_size": {
"type": "string",
"description": "Image size to use for preview (e.g., \"thumbnail\", \"medium\", \"large\")",
"default": "medium"
},
"library": {
"type": "string",
"description": "Limit media library to uploaded images only",
"enum": [
"all",
"uploadedTo"
],
"default": "all"
},
"min_width": {
"type": "integer",
"description": "Minimum width in pixels (0 for no limit)",
"default": 0,
"minimum": 0
},
"min_height": {
"type": "integer",
"description": "Minimum height in pixels (0 for no limit)",
"default": 0,
"minimum": 0
},
"min_size": {
"type": "number",
"description": "Minimum file size in MB (0 for no limit)",
"default": 0,
"minimum": 0
},
"max_width": {
"type": "integer",
"description": "Maximum width in pixels (0 for no limit)",
"default": 0,
"minimum": 0
},
"max_height": {
"type": "integer",
"description": "Maximum height in pixels (0 for no limit)",
"default": 0,
"minimum": 0
},
"max_size": {
"type": "number",
"description": "Maximum file size in MB (0 for no limit)",
"default": 0,
"minimum": 0
},
"mime_types": {
"type": "string",
"description": "Comma-separated list of allowed MIME types (e.g., \"jpg,png,gif\")"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,108 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"link"
],
"description": "Field type identifier. Must be \"link\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of the value returned by the field. \"array\" returns an object with title, url, and target properties. \"url\" returns just the URL string.",
"enum": [
"array",
"url"
],
"default": "array"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,83 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"message"
],
"description": "Field type identifier. Must be \"message\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"message": {
"type": "string",
"description": "The message text to display to editors. Useful for providing instructions or context about surrounding fields.",
"default": ""
},
"new_lines": {
"type": "string",
"description": "How to format new lines in the message",
"enum": [
"wpautop",
"br",
""
],
"default": "wpautop"
},
"esc_html": {
"type": "boolean",
"description": "Whether to escape HTML markup (display as text instead of rendering)",
"default": false
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,110 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"number"
],
"description": "Field type identifier. Must be \"number\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"number",
"string",
"null"
],
"description": "Default numeric value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"min": {
"type": "number",
"description": "Minimum value allowed"
},
"max": {
"type": "number",
"description": "Maximum value allowed"
},
"step": {
"type": "number",
"description": "Step size for incrementing values (e.g., 0.01 for decimals, 1 for integers)"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,111 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"oembed"
],
"description": "Field type identifier. Must be \"oembed\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"width": {
"type": "integer",
"description": "Width of the embedded content preview in pixels (defaults to 640)",
"default": 640,
"minimum": 0
},
"height": {
"type": "integer",
"description": "Height of the embedded content preview in pixels (defaults to 390)",
"default": 390,
"minimum": 0
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,130 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"page_link"
],
"description": "Field type identifier. Must be \"page_link\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"post_type": {
"type": "array",
"description": "Array of post types to query (e.g., [\"post\", \"page\"]). Leave empty for all post types.",
"items": {
"type": "string"
},
"default": []
},
"taxonomy": {
"type": "array",
"description": "Array of taxonomy terms to filter by (e.g., [\"category:news\", \"post_tag:featured\"])",
"items": {
"type": "string"
},
"default": []
},
"allow_null": {
"type": "boolean",
"description": "Allow a null (empty) value to be selected",
"default": false
},
"multiple": {
"type": "boolean",
"description": "Allow multiple values to be selected",
"default": false
},
"allow_archives": {
"type": "boolean",
"description": "Allow selection of archive URLs (home page and post type archives)",
"default": true
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,80 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"password"
],
"description": "Field type identifier. Must be \"password\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,147 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"post_object"
],
"description": "Field type identifier. Must be \"post_object\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"post_type": {
"type": "array",
"description": "Array of post types to query (e.g., [\"post\", \"page\"]). Leave empty for all post types.",
"items": {
"type": "string"
},
"default": []
},
"taxonomy": {
"type": "array",
"description": "Array of taxonomy terms to filter by (e.g., [\"category:news\", \"post_tag:featured\"])",
"items": {
"type": "string"
},
"default": []
},
"allow_null": {
"type": "boolean",
"description": "Allow a null (empty) value to be selected",
"default": false
},
"multiple": {
"type": "boolean",
"description": "Allow multiple values to be selected",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"object",
"id"
],
"default": "object"
},
"ui": {
"type": "boolean",
"description": "Use enhanced Select2 UI",
"default": true
},
"bidirectional_target": {
"type": "array",
"description": "Array of field keys for bidirectional relationships",
"items": {
"type": "string"
},
"default": []
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,138 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"radio"
],
"description": "Field type identifier. Must be \"radio\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"choices": {
"type": "object",
"description": "Available choices for the radio field. Object with key-value pairs where keys are saved values and values are display labels (e.g., {\"yes\": \"Yes\", \"no\": \"No\"})"
},
"layout": {
"type": "string",
"description": "Layout orientation of radio buttons",
"enum": [
"vertical",
"horizontal"
],
"default": "vertical"
},
"allow_null": {
"type": "boolean",
"description": "Allow a null (empty) value to be selected",
"default": false
},
"other_choice": {
"type": "boolean",
"description": "Add an \"Other\" choice to allow custom input",
"default": false
},
"save_other_choice": {
"type": "boolean",
"description": "Save custom \"Other\" values as new choices",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"value",
"label",
"array"
],
"default": "value"
}
},
"required": [
"label",
"type",
"choices"
]
}
@@ -0,0 +1,110 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"range"
],
"description": "Field type identifier. Must be \"range\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": "number",
"description": "Default numerical value for the range field when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text or character to display before the range input (e.g., \"$\" for currency)"
},
"append": {
"type": "string",
"description": "Text or character to display after the range input (e.g., \"%\" for percentage)"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"min": {
"type": "number",
"description": "Minimum allowed value for the range slider",
"default": 0
},
"max": {
"type": "number",
"description": "Maximum allowed value for the range slider",
"default": 100
},
"step": {
"type": "number",
"description": "Step size for the range slider (controls increment/decrement granularity)",
"default": 1,
"minimum": 0
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,169 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"relationship"
],
"description": "Field type identifier. Must be \"relationship\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"post_type": {
"type": "array",
"description": "Array of post types to query (e.g., [\"post\", \"page\"])",
"items": {
"type": "string"
},
"default": []
},
"taxonomy": {
"type": "array",
"description": "Array of taxonomy terms to filter by (e.g., [\"category:news\", \"post_tag:featured\"])",
"items": {
"type": "string"
},
"default": []
},
"min": {
"type": "integer",
"description": "Minimum number of items required (0 for no limit)",
"default": 0,
"minimum": 0
},
"max": {
"type": "integer",
"description": "Maximum number of items allowed (0 for no limit)",
"default": 0,
"minimum": 0
},
"filters": {
"type": "array",
"description": "Array of filters to display (search, post_type, taxonomy)",
"items": {
"type": "string",
"enum": [
"search",
"post_type",
"taxonomy"
]
},
"default": [
"search",
"post_type",
"taxonomy"
]
},
"elements": {
"type": "array",
"description": "Array of elements to display for each post (e.g., [\"featured_image\"])",
"items": {
"type": "string"
},
"default": []
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"object",
"id"
],
"default": "object"
},
"bidirectional_target": {
"type": "array",
"description": "Array of field keys for bidirectional relationships",
"items": {
"type": "string"
},
"default": []
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,145 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"repeater"
],
"description": "Field type identifier. Must be \"repeater\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"sub_fields": {
"type": "array",
"description": "Array of field configuration objects that can be repeated. Each sub field should follow the standard field creation schema with properties like label, name, type, etc.",
"items": {
"type": "object"
},
"default": []
},
"min": {
"type": "integer",
"description": "Minimum number of rows required",
"default": 0,
"minimum": 0
},
"max": {
"type": "integer",
"description": "Maximum number of rows allowed (0 for unlimited)",
"default": 0,
"minimum": 0
},
"layout": {
"type": "string",
"description": "Display style for the repeating rows",
"enum": [
"table",
"block",
"row"
],
"default": "table"
},
"button_label": {
"type": "string",
"description": "Custom text for the \"Add Row\" button",
"default": "Add Row"
},
"collapsed": {
"type": "string",
"description": "Field key of a sub field to display when rows are collapsed (improves UI for many rows)",
"default": ""
},
"rows_per_page": {
"type": "integer",
"description": "Number of rows to display per page when pagination is enabled",
"default": 20,
"minimum": 1
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,144 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"select"
],
"description": "Field type identifier. Must be \"select\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"choices": {
"type": "object",
"description": "Available choices for the select field. Object with key-value pairs where keys are saved values and values are display labels (e.g., {\"red\": \"Red\", \"blue\": \"Blue\"})"
},
"multiple": {
"type": "boolean",
"description": "Allow multiple selections",
"default": false
},
"allow_null": {
"type": "boolean",
"description": "Allow a null (empty) value to be selected",
"default": false
},
"ui": {
"type": "boolean",
"description": "Use enhanced Select2 UI for better usability",
"default": false
},
"ajax": {
"type": "boolean",
"description": "Load choices dynamically via AJAX (useful for large choice sets)",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"value",
"label",
"array"
],
"default": "value"
},
"create_options": {
"type": "boolean",
"description": "Allow users to create new choices from the field",
"default": false
},
"save_options": {
"type": "boolean",
"description": "Save new choices created by users back to the field",
"default": false
}
},
"required": [
"label",
"type",
"choices"
]
}
@@ -0,0 +1,82 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"tab"
],
"description": "Field type identifier. Must be \"tab\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"placement": {
"type": "string",
"description": "Where to display the tab navigation (top or left of the fields)",
"enum": [
"top",
"left"
],
"default": "top"
},
"endpoint": {
"type": "boolean",
"description": "Whether this tab starts a new group of tabs. When true, creates a visual break and starts a new tabbed section.",
"default": false
},
"selected": {
"type": "boolean",
"description": "Whether this tab should be selected/open by default when the page loads",
"default": false
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,158 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"taxonomy"
],
"description": "Field type identifier. Must be \"taxonomy\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"taxonomy": {
"type": "string",
"description": "The taxonomy to query (e.g., \"category\", \"post_tag\", or custom taxonomy slug)",
"default": "category"
},
"field_type": {
"type": "string",
"description": "How to display the field interface",
"enum": [
"checkbox",
"multi_select",
"radio",
"select"
],
"default": "checkbox"
},
"multiple": {
"type": "boolean",
"description": "Allow multiple values to be selected (applies to select field_type)",
"default": false
},
"allow_null": {
"type": "boolean",
"description": "Allow a null (empty) value to be selected",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"id",
"object"
],
"default": "id"
},
"add_term": {
"type": "boolean",
"description": "Allow new terms to be created whilst editing",
"default": true
},
"load_terms": {
"type": "boolean",
"description": "Load value based on the post's terms",
"default": false
},
"save_terms": {
"type": "boolean",
"description": "Save value as post terms",
"default": false
},
"bidirectional_target": {
"type": "array",
"description": "Array of field keys for bidirectional relationships",
"items": {
"type": "string"
},
"default": []
}
},
"required": [
"label",
"type",
"taxonomy"
]
}
@@ -0,0 +1,99 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"text"
],
"description": "Field type identifier. Must be \"text\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,115 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"textarea"
],
"description": "Field type identifier. Must be \"textarea\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"new_lines": {
"type": "string",
"description": "Controls how new lines are rendered",
"enum": [
"wpautop",
"br",
""
],
"default": ""
},
"rows": {
"type": "integer",
"description": "Sets the textarea height (number of rows)",
"default": 8,
"minimum": 1
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,109 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"time_picker"
],
"description": "Field type identifier. Must be \"time_picker\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"display_format": {
"type": "string",
"description": "PHP time format for displaying the time when editing (e.g., \"g:i a\" for 12-hour format, \"H:i:s\" for 24-hour format). See PHP date() documentation for format options.",
"default": "g:i a"
},
"return_format": {
"type": "string",
"description": "PHP time format for the value returned via template functions (e.g., \"g:i a\", \"H:i:s\"). See PHP date() documentation for format options.",
"default": "g:i a"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,115 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"true_false"
],
"description": "Field type identifier. Must be \"true_false\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"boolean",
"integer"
],
"description": "Default value when creating new content (true/false or 1/0)",
"default": false
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"message": {
"type": "string",
"description": "Text displayed alongside the checkbox"
},
"ui": {
"type": "boolean",
"description": "Use a stylized switch instead of a standard checkbox",
"default": false
},
"ui_on_text": {
"type": "string",
"description": "Text shown when the switch is active (defaults to \"Yes\")"
},
"ui_off_text": {
"type": "string",
"description": "Text shown when the switch is inactive (defaults to \"No\")"
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,99 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"url"
],
"description": "Field type identifier. Must be \"url\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,135 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"user"
],
"description": "Field type identifier. Must be \"user\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"role": {
"type": "array",
"description": "Array of user roles to filter by (e.g., [\"administrator\", \"editor\"]). Leave empty for all roles.",
"items": {
"type": "string"
},
"default": []
},
"multiple": {
"type": "boolean",
"description": "Allow multiple values to be selected",
"default": false
},
"allow_null": {
"type": "boolean",
"description": "Allow a null (empty) value to be selected",
"default": false
},
"return_format": {
"type": "string",
"description": "Format of returned value",
"enum": [
"array",
"object",
"id"
],
"default": "array"
},
"bidirectional_target": {
"type": "array",
"description": "Array of field keys for bidirectional relationships",
"items": {
"type": "string"
},
"default": []
}
},
"required": [
"label",
"type"
]
}
@@ -0,0 +1,124 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string",
"description": "The field label displayed in the edit screen",
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"wysiwyg"
],
"description": "Field type identifier. Must be \"wysiwyg\" for this field type."
},
"name": {
"type": "string",
"description": "The field name used to save/load data. Auto-generated from label if not provided.",
"pattern": "^[a-z_][a-z0-9_]*$"
},
"key": {
"type": "string",
"description": "Unique field key. Auto-generated if not provided.",
"pattern": "^field_[a-z0-9]+$"
},
"instructions": {
"type": "string",
"description": "Instructions displayed to editors below the field label"
},
"required": {
"type": "boolean",
"description": "Whether this field is required",
"default": false
},
"conditional_logic": {
"type": [
"boolean",
"array"
],
"description": "Conditional logic rules. Set to false to disable, or provide rules array.",
"default": false
},
"wrapper": {
"type": "object",
"description": "HTML wrapper attributes",
"properties": {
"width": {
"type": "string",
"description": "Width percentage (e.g., \"50\")"
},
"class": {
"type": "string",
"description": "Custom CSS classes"
},
"id": {
"type": "string",
"description": "Custom HTML ID"
}
}
},
"default_value": {
"type": [
"string",
"number",
"boolean",
"null"
],
"description": "Default value when creating new content"
},
"placeholder": {
"type": "string",
"description": "Placeholder text shown in empty fields"
},
"prepend": {
"type": "string",
"description": "Text to prepend before the input"
},
"append": {
"type": "string",
"description": "Text to append after the input"
},
"maxlength": {
"type": "integer",
"description": "Maximum character length (if applicable)",
"minimum": 1
},
"allow_in_bindings": {
"type": "boolean",
"description": "Whether this field can be used in block bindings",
"default": false
},
"tabs": {
"type": "string",
"description": "Which editor tabs to show",
"enum": [
"all",
"visual",
"text"
],
"default": "all"
},
"toolbar": {
"type": "string",
"description": "The toolbar configuration to use (e.g., \"full\", \"basic\")",
"default": "full"
},
"media_upload": {
"type": "boolean",
"description": "Show media upload buttons",
"default": true
},
"delay": {
"type": "boolean",
"description": "Delay TinyMCE initialization until field is clicked",
"default": false
}
},
"required": [
"label",
"type"
]
}