{
  "sections": [
    { "id": "_layout", "label": "Layout", "tab": "advanced" },
    { "id": "_grid_item", "label": "Grid item", "tab": "advanced" },
    { "id": "_position", "label": "Position", "tab": "advanced" },
    { "id": "_visibility", "label": "Responsive", "tab": "advanced" },
    { "id": "_attributes", "label": "Attributes", "tab": "advanced" },
    { "id": "_motion", "label": "Motion", "tab": "advanced" },
    { "id": "_motion_fx", "label": "Motion effects", "tab": "advanced" },
    { "id": "_scroll_anim", "label": "Scroll animation", "tab": "advanced" },
    { "id": "_interactions_section", "label": "Interactions", "tab": "advanced" },
    { "id": "_sticky_section", "label": "Sticky", "tab": "advanced" },
    { "id": "_display_conditions", "label": "Display conditions", "tab": "advanced" }
  ],
  "controls": [
    { "id": "_margin", "type": "dimensions", "label": "Margin", "tab": "advanced", "section": "_layout", "responsive": true, "allowNegative": true, "units": ["px", "%", "em", "rem"], "css": [{ "selector": "{{WRAPPER}}", "property": "margin" }] },
    { "id": "_padding", "type": "dimensions", "label": "Padding", "tab": "advanced", "section": "_layout", "responsive": true, "units": ["px", "%", "em", "rem"], "css": [{ "selector": "{{WRAPPER}}", "property": "padding" }] },
    { "id": "_width", "type": "slider", "label": "Width", "tab": "advanced", "section": "_layout", "responsive": true, "units": ["px", "%", "vw", "custom"], "range": { "px": [0, 2000], "%": [0, 100], "vw": [0, 100] }, "css": [{ "selector": "{{WRAPPER}}", "property": "width" }] },
    { "id": "_max_width", "type": "slider", "label": "Max width", "tab": "advanced", "section": "_layout", "responsive": true, "units": ["px", "%", "vw", "custom"], "range": { "px": [0, 2000], "%": [0, 100], "vw": [0, 100] }, "css": [{ "selector": "{{WRAPPER}}", "property": "max-width" }] },
    { "id": "_height", "type": "slider", "label": "Height", "tab": "advanced", "section": "_layout", "responsive": true, "units": ["px", "%", "vh", "custom"], "range": { "px": [0, 2000], "%": [0, 100], "vh": [0, 100] }, "css": [{ "selector": "{{WRAPPER}}", "property": "height" }] },
    { "id": "_min_height", "type": "slider", "label": "Min height", "tab": "advanced", "section": "_layout", "responsive": true, "units": ["px", "%", "vh", "custom"], "range": { "px": [0, 2000], "%": [0, 100], "vh": [0, 100] }, "css": [{ "selector": "{{WRAPPER}}", "property": "min-height" }] },
    { "id": "_align_self", "type": "choose", "label": "Align self", "tab": "advanced", "section": "_layout", "responsive": true, "options": [{ "value": "flex-start", "label": "Start", "icon": "align-start" }, { "value": "center", "label": "Center", "icon": "align-center" }, { "value": "flex-end", "label": "End", "icon": "align-end" }, { "value": "stretch", "label": "Stretch", "icon": "align-stretch" }], "css": [{ "selector": "{{WRAPPER}}", "property": "align-self" }] },
    { "id": "_flex_grow", "type": "number", "label": "Flex grow", "tab": "advanced", "section": "_layout", "responsive": true, "min": 0, "css": [{ "selector": "{{WRAPPER}}", "property": "flex-grow" }] },
    { "id": "_flex_shrink", "type": "number", "label": "Flex shrink", "tab": "advanced", "section": "_layout", "responsive": true, "min": 0, "css": [{ "selector": "{{WRAPPER}}", "property": "flex-shrink" }] },
    { "id": "_order", "type": "number", "label": "Order", "tab": "advanced", "section": "_layout", "responsive": true, "css": [{ "selector": "{{WRAPPER}}", "property": "order" }] },
    { "id": "_overflow", "type": "select", "label": "Overflow", "tab": "advanced", "section": "_layout", "options": [{ "value": "", "label": "Default" }, { "value": "hidden", "label": "Hidden" }, { "value": "auto", "label": "Auto" }, { "value": "visible", "label": "Visible" }], "css": [{ "selector": "{{WRAPPER}}", "property": "overflow" }] },

    { "id": "_col_span", "type": "number", "label": "Column span", "tab": "advanced", "section": "_grid_item", "responsive": true, "min": 1, "max": 24, "parentCondition": { "type": "grid" }, "css": [{ "selector": "{{WRAPPER}}", "property": "grid-column-end", "template": "span {{VALUE}}" }] },
    { "id": "_row_span", "type": "number", "label": "Row span", "tab": "advanced", "section": "_grid_item", "responsive": true, "min": 1, "max": 24, "parentCondition": { "type": "grid" }, "css": [{ "selector": "{{WRAPPER}}", "property": "grid-row-end", "template": "span {{VALUE}}" }] },
    { "id": "_col_start", "type": "number", "label": "Column start", "tab": "advanced", "section": "_grid_item", "responsive": true, "min": 1, "max": 24, "parentCondition": { "type": "grid" }, "css": [{ "selector": "{{WRAPPER}}", "property": "grid-column-start" }] },
    { "id": "_row_start", "type": "number", "label": "Row start", "tab": "advanced", "section": "_grid_item", "responsive": true, "min": 1, "max": 24, "parentCondition": { "type": "grid" }, "css": [{ "selector": "{{WRAPPER}}", "property": "grid-row-start" }] },

    { "id": "_position", "type": "select", "label": "Position", "tab": "advanced", "section": "_position", "responsive": true, "options": [{ "value": "", "label": "Default" }, { "value": "relative", "label": "Relative" }, { "value": "absolute", "label": "Absolute" }, { "value": "fixed", "label": "Fixed" }, { "value": "sticky", "label": "Sticky" }], "css": [{ "selector": "{{WRAPPER}}", "property": "position" }] },
    { "id": "_top", "type": "slider", "label": "Top", "tab": "advanced", "section": "_position", "responsive": true, "allowNegative": true, "units": ["px", "%", "vh", "custom"], "condition": { "_position!": "" }, "css": [{ "selector": "{{WRAPPER}}", "property": "top" }] },
    { "id": "_right", "type": "slider", "label": "Right", "tab": "advanced", "section": "_position", "responsive": true, "allowNegative": true, "units": ["px", "%", "vw", "custom"], "condition": { "_position!": "" }, "css": [{ "selector": "{{WRAPPER}}", "property": "right" }] },
    { "id": "_bottom", "type": "slider", "label": "Bottom", "tab": "advanced", "section": "_position", "responsive": true, "allowNegative": true, "units": ["px", "%", "vh", "custom"], "condition": { "_position!": "" }, "css": [{ "selector": "{{WRAPPER}}", "property": "bottom" }] },
    { "id": "_left", "type": "slider", "label": "Left", "tab": "advanced", "section": "_position", "responsive": true, "allowNegative": true, "units": ["px", "%", "vw", "custom"], "condition": { "_position!": "" }, "css": [{ "selector": "{{WRAPPER}}", "property": "left" }] },
    { "id": "_z_index", "type": "number", "label": "Z-index", "tab": "advanced", "section": "_position", "responsive": true, "css": [{ "selector": "{{WRAPPER}}", "property": "z-index" }] },

    { "id": "_hide", "type": "switch", "label": "Hide on this device", "tab": "advanced", "section": "_visibility", "responsive": true, "default": false, "css": [{ "selector": "{{WRAPPER}}", "property": "display", "value": "none", "valueOff": "revert" }] },

    { "id": "_css_id", "type": "text", "label": "CSS ID", "tab": "advanced", "section": "_attributes", "default": "", "placeholder": "my-section" },
    { "id": "_css_classes", "type": "text", "label": "CSS classes", "tab": "advanced", "section": "_attributes", "default": "", "placeholder": "class-one class-two" },
    { "id": "_attributes", "type": "textarea", "label": "Custom attributes", "tab": "advanced", "section": "_attributes", "default": "", "description": "One per line as name|value", "placeholder": "data-foo|bar" },

    { "id": "_transform", "type": "transform", "label": "Transform", "tab": "advanced", "section": "_motion", "responsive": true, "states": ["hover"], "labelBlock": true, "css": [{ "selector": "{{WRAPPER}}", "property": "transform" }] },
    { "id": "_transition", "type": "transition", "label": "Transition", "tab": "advanced", "section": "_motion", "labelBlock": true, "css": [{ "selector": "{{WRAPPER}}", "property": "transition" }] },
    { "id": "_opacity", "type": "slider", "label": "Opacity", "tab": "advanced", "section": "_motion", "responsive": true, "states": ["hover"], "units": ["custom"], "range": { "custom": [0, 1, 0.05] }, "css": [{ "selector": "{{WRAPPER}}", "property": "opacity" }] },
    { "id": "_hover_effect", "type": "select", "label": "Hover effect", "tab": "advanced", "section": "_motion", "default": "", "options": [{ "value": "", "label": "None" }, { "value": "grow", "label": "Grow" }, { "value": "shrink", "label": "Shrink" }, { "value": "float", "label": "Float" }, { "value": "sink", "label": "Sink" }, { "value": "pulse", "label": "Pulse" }, { "value": "bounce", "label": "Bounce" }, { "value": "rotate", "label": "Rotate" }, { "value": "glow", "label": "Glow" }, { "value": "shadow", "label": "Shadow" }, { "value": "underline", "label": "Underline" }] },
    { "id": "_animation", "type": "select", "label": "Entrance animation", "tab": "advanced", "section": "_motion", "default": "", "options": [{ "value": "", "label": "None" }, { "value": "fadeIn", "label": "Fade in" }, { "value": "fadeInUp", "label": "Fade in up" }, { "value": "fadeInDown", "label": "Fade in down" }, { "value": "fadeInLeft", "label": "Fade in left" }, { "value": "fadeInRight", "label": "Fade in right" }, { "value": "zoomIn", "label": "Zoom in" }, { "value": "slideInUp", "label": "Slide in up" }, { "value": "slideInLeft", "label": "Slide in left" }, { "value": "bounceIn", "label": "Bounce in" }, { "value": "rotateIn", "label": "Rotate in" }] },
    { "id": "_animation_duration", "type": "select", "label": "Duration", "tab": "advanced", "section": "_motion", "default": "normal", "options": [{ "value": "slow", "label": "Slow" }, { "value": "normal", "label": "Normal" }, { "value": "fast", "label": "Fast" }], "condition": { "_animation!": "" } },
    { "id": "_animation_delay", "type": "number", "label": "Delay (ms)", "tab": "advanced", "section": "_motion", "min": 0, "max": 10000, "step": 50, "condition": { "_animation!": "" } },
    { "id": "_animation_once", "type": "switch", "label": "Play once", "tab": "advanced", "section": "_motion", "default": true, "condition": { "_animation!": "" }, "description": "Off: replays every time the element scrolls into view." },

    { "id": "_scroll_fx", "type": "switch", "label": "Scrolling effects", "tab": "advanced", "section": "_motion_fx", "default": false },
    { "id": "_fx_y", "type": "switch", "label": "Vertical scroll", "tab": "advanced", "section": "_motion_fx", "default": false, "separator": "before", "condition": { "_scroll_fx": true } },
    { "id": "_fx_y_dir", "type": "select", "label": "Direction", "tab": "advanced", "section": "_motion_fx", "default": "up", "options": [{ "value": "up", "label": "Up" }, { "value": "down", "label": "Down" }], "condition": { "_scroll_fx": true, "_fx_y": true } },
    { "id": "_fx_y_speed", "type": "number", "label": "Speed", "tab": "advanced", "section": "_motion_fx", "default": 4, "min": 0, "max": 10, "step": 0.1, "condition": { "_scroll_fx": true, "_fx_y": true } },
    { "id": "_fx_y_start", "type": "number", "label": "Viewport start (%)", "tab": "advanced", "section": "_motion_fx", "default": 0, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_y": true } },
    { "id": "_fx_y_end", "type": "number", "label": "Viewport end (%)", "tab": "advanced", "section": "_motion_fx", "default": 100, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_y": true } },
    { "id": "_fx_x", "type": "switch", "label": "Horizontal scroll", "tab": "advanced", "section": "_motion_fx", "default": false, "separator": "before", "condition": { "_scroll_fx": true } },
    { "id": "_fx_x_dir", "type": "select", "label": "Direction", "tab": "advanced", "section": "_motion_fx", "default": "left", "options": [{ "value": "left", "label": "To left" }, { "value": "right", "label": "To right" }], "condition": { "_scroll_fx": true, "_fx_x": true } },
    { "id": "_fx_x_speed", "type": "number", "label": "Speed", "tab": "advanced", "section": "_motion_fx", "default": 4, "min": 0, "max": 10, "step": 0.1, "condition": { "_scroll_fx": true, "_fx_x": true } },
    { "id": "_fx_x_start", "type": "number", "label": "Viewport start (%)", "tab": "advanced", "section": "_motion_fx", "default": 0, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_x": true } },
    { "id": "_fx_x_end", "type": "number", "label": "Viewport end (%)", "tab": "advanced", "section": "_motion_fx", "default": 100, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_x": true } },
    { "id": "_fx_opacity", "type": "switch", "label": "Transparency", "tab": "advanced", "section": "_motion_fx", "default": false, "separator": "before", "condition": { "_scroll_fx": true } },
    { "id": "_fx_opacity_dir", "type": "select", "label": "Direction", "tab": "advanced", "section": "_motion_fx", "default": "in", "options": [{ "value": "in", "label": "Fade in" }, { "value": "out", "label": "Fade out" }, { "value": "in-out", "label": "Fade in then out" }, { "value": "out-in", "label": "Fade out then in" }], "condition": { "_scroll_fx": true, "_fx_opacity": true } },
    { "id": "_fx_opacity_level", "type": "number", "label": "Level", "tab": "advanced", "section": "_motion_fx", "default": 10, "min": 0, "max": 10, "step": 0.1, "condition": { "_scroll_fx": true, "_fx_opacity": true } },
    { "id": "_fx_opacity_start", "type": "number", "label": "Viewport start (%)", "tab": "advanced", "section": "_motion_fx", "default": 20, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_opacity": true } },
    { "id": "_fx_opacity_end", "type": "number", "label": "Viewport end (%)", "tab": "advanced", "section": "_motion_fx", "default": 80, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_opacity": true } },
    { "id": "_fx_blur", "type": "switch", "label": "Blur", "tab": "advanced", "section": "_motion_fx", "default": false, "separator": "before", "condition": { "_scroll_fx": true } },
    { "id": "_fx_blur_dir", "type": "select", "label": "Direction", "tab": "advanced", "section": "_motion_fx", "default": "in", "options": [{ "value": "in", "label": "Sharpen in" }, { "value": "out", "label": "Blur out" }, { "value": "in-out", "label": "Sharpen then blur" }, { "value": "out-in", "label": "Blur then sharpen" }], "condition": { "_scroll_fx": true, "_fx_blur": true } },
    { "id": "_fx_blur_level", "type": "number", "label": "Level (px)", "tab": "advanced", "section": "_motion_fx", "default": 7, "min": 0, "max": 15, "step": 0.5, "condition": { "_scroll_fx": true, "_fx_blur": true } },
    { "id": "_fx_blur_start", "type": "number", "label": "Viewport start (%)", "tab": "advanced", "section": "_motion_fx", "default": 20, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_blur": true } },
    { "id": "_fx_blur_end", "type": "number", "label": "Viewport end (%)", "tab": "advanced", "section": "_motion_fx", "default": 80, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_blur": true } },
    { "id": "_fx_rotate", "type": "switch", "label": "Rotate", "tab": "advanced", "section": "_motion_fx", "default": false, "separator": "before", "condition": { "_scroll_fx": true } },
    { "id": "_fx_rotate_dir", "type": "select", "label": "Direction", "tab": "advanced", "section": "_motion_fx", "default": "right", "options": [{ "value": "left", "label": "Counterclockwise" }, { "value": "right", "label": "Clockwise" }], "condition": { "_scroll_fx": true, "_fx_rotate": true } },
    { "id": "_fx_rotate_speed", "type": "number", "label": "Speed", "tab": "advanced", "section": "_motion_fx", "default": 1, "min": 0, "max": 10, "step": 0.1, "condition": { "_scroll_fx": true, "_fx_rotate": true } },
    { "id": "_fx_rotate_start", "type": "number", "label": "Viewport start (%)", "tab": "advanced", "section": "_motion_fx", "default": 0, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_rotate": true } },
    { "id": "_fx_rotate_end", "type": "number", "label": "Viewport end (%)", "tab": "advanced", "section": "_motion_fx", "default": 100, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_rotate": true } },
    { "id": "_fx_scale", "type": "switch", "label": "Scale", "tab": "advanced", "section": "_motion_fx", "default": false, "separator": "before", "condition": { "_scroll_fx": true } },
    { "id": "_fx_scale_dir", "type": "select", "label": "Direction", "tab": "advanced", "section": "_motion_fx", "default": "up", "options": [{ "value": "up", "label": "Scale up" }, { "value": "down", "label": "Scale down" }, { "value": "up-down", "label": "Up then down" }, { "value": "down-up", "label": "Down then up" }], "condition": { "_scroll_fx": true, "_fx_scale": true } },
    { "id": "_fx_scale_speed", "type": "number", "label": "Speed", "tab": "advanced", "section": "_motion_fx", "default": 4, "min": 0, "max": 10, "step": 0.1, "condition": { "_scroll_fx": true, "_fx_scale": true } },
    { "id": "_fx_scale_start", "type": "number", "label": "Viewport start (%)", "tab": "advanced", "section": "_motion_fx", "default": 0, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_scale": true } },
    { "id": "_fx_scale_end", "type": "number", "label": "Viewport end (%)", "tab": "advanced", "section": "_motion_fx", "default": 100, "min": 0, "max": 100, "condition": { "_scroll_fx": true, "_fx_scale": true } },
    { "id": "_fx_devices", "type": "checklist", "label": "Apply on", "tab": "advanced", "section": "_motion_fx", "default": ["desktop", "tablet", "mobile"], "options": [{ "value": "desktop", "label": "Desktop" }, { "value": "tablet", "label": "Tablet" }, { "value": "mobile", "label": "Mobile" }], "separator": "before", "condition": { "_scroll_fx": true } },
    { "id": "_mouse_fx", "type": "switch", "label": "Mouse effects", "tab": "advanced", "section": "_motion_fx", "default": false, "separator": "before", "description": "Desktop only (devices with a mouse)." },
    { "id": "_mouse_track", "type": "switch", "label": "Mouse track", "tab": "advanced", "section": "_motion_fx", "default": false, "condition": { "_mouse_fx": true } },
    { "id": "_mouse_track_dir", "type": "select", "label": "Direction", "tab": "advanced", "section": "_motion_fx", "default": "opposite", "options": [{ "value": "opposite", "label": "Opposite" }, { "value": "direct", "label": "Direct" }], "condition": { "_mouse_fx": true, "_mouse_track": true } },
    { "id": "_mouse_track_speed", "type": "number", "label": "Speed", "tab": "advanced", "section": "_motion_fx", "default": 1, "min": 0, "max": 10, "step": 0.1, "condition": { "_mouse_fx": true, "_mouse_track": true } },
    { "id": "_mouse_tilt", "type": "switch", "label": "3D tilt", "tab": "advanced", "section": "_motion_fx", "default": false, "condition": { "_mouse_fx": true } },
    { "id": "_mouse_tilt_dir", "type": "select", "label": "Direction", "tab": "advanced", "section": "_motion_fx", "default": "direct", "options": [{ "value": "direct", "label": "Direct" }, { "value": "opposite", "label": "Opposite" }], "condition": { "_mouse_fx": true, "_mouse_tilt": true } },
    { "id": "_mouse_tilt_max", "type": "number", "label": "Max angle (deg)", "tab": "advanced", "section": "_motion_fx", "default": 10, "min": 0, "max": 45, "condition": { "_mouse_fx": true, "_mouse_tilt": true } },
    { "id": "_mouse_tilt_perspective", "type": "number", "label": "Perspective (px)", "tab": "advanced", "section": "_motion_fx", "default": 1000, "min": 100, "max": 5000, "step": 50, "condition": { "_mouse_fx": true, "_mouse_tilt": true } },
    { "id": "_mouse_tilt_glare", "type": "switch", "label": "Glare", "tab": "advanced", "section": "_motion_fx", "default": false, "condition": { "_mouse_fx": true, "_mouse_tilt": true } },

    { "id": "_sticky", "type": "select", "label": "Sticky", "tab": "advanced", "section": "_sticky_section", "default": "", "options": [{ "value": "", "label": "None" }, { "value": "top", "label": "Top" }, { "value": "bottom", "label": "Bottom" }] },
    { "id": "_sticky_offset", "type": "slider", "label": "Offset", "tab": "advanced", "section": "_sticky_section", "responsive": true, "units": ["px"], "range": { "px": [0, 500] }, "condition": { "_sticky!": "" }, "css": [{ "selector": "{{WRAPPER}}", "property": "--zx-sticky-offset" }] },
    { "id": "_sticky_effects_offset", "type": "number", "label": "Effects offset (px)", "tab": "advanced", "section": "_sticky_section", "default": 0, "min": 0, "max": 5000, "condition": { "_sticky!": "" }, "description": "After scrolling this far the element gets the zx-sticky--active class (use it in Custom CSS, or the scrolled styles below)." },
    { "id": "_sticky_parent", "type": "switch", "label": "Stay in column", "tab": "advanced", "section": "_sticky_section", "default": false, "condition": { "_sticky!": "" }, "description": "Stops at the end of the parent container." },
    { "id": "_sticky_devices", "type": "checklist", "label": "Sticky on", "tab": "advanced", "section": "_sticky_section", "default": ["desktop", "tablet", "mobile"], "options": [{ "value": "desktop", "label": "Desktop" }, { "value": "tablet", "label": "Tablet" }, { "value": "mobile", "label": "Mobile" }], "condition": { "_sticky!": "" } },
    { "id": "_sticky_active_bg", "type": "color", "label": "Scrolled background", "tab": "advanced", "section": "_sticky_section", "separator": "before", "condition": { "_sticky!": "" }, "css": [{ "selector": "{{WRAPPER}}.zx-sticky--active", "property": "background-color" }] },
    { "id": "_sticky_active_padding", "type": "dimensions", "label": "Scrolled padding", "tab": "advanced", "section": "_sticky_section", "units": ["px", "em", "rem"], "condition": { "_sticky!": "" }, "css": [{ "selector": "{{WRAPPER}}.zx-sticky--active", "property": "padding" }] },

    { "id": "_conditions_relation", "type": "select", "label": "Show when", "tab": "advanced", "section": "_display_conditions", "default": "and", "options": [{ "value": "and", "label": "All rules match" }, { "value": "or", "label": "Any rule matches" }] },
    { "id": "_conditions", "type": "repeater", "label": "Rule", "tab": "advanced", "section": "_display_conditions", "labelBlock": true, "default": [], "titleField": "rule", "description": "Evaluated on the server when the page is rendered. The element stays visible in the editor.", "fields": [
      { "id": "rule", "type": "select", "label": "Condition", "default": "login", "options": [{ "value": "login", "label": "Login status" }, { "value": "role", "label": "User role" }, { "value": "date", "label": "Date range" }, { "value": "time", "label": "Time of day" }, { "value": "days", "label": "Days of week" }, { "value": "post", "label": "Specific posts / pages" }, { "value": "url_param", "label": "URL parameter" }, { "value": "dynamic", "label": "Dynamic field" }, { "value": "device", "label": "Device" }] },
      { "id": "login", "type": "select", "label": "Visitor is", "default": "logged_in", "options": [{ "value": "logged_in", "label": "Logged in" }, { "value": "logged_out", "label": "Logged out" }], "condition": { "rule": "login" } },
      { "id": "operator", "type": "select", "label": "Operator", "default": "is", "options": [{ "value": "is", "label": "Is" }, { "value": "is_not", "label": "Is not" }], "condition": { "rule": ["role", "date", "time", "days", "post"] } },
      { "id": "role", "type": "select", "label": "Role", "default": "", "optionsFrom": "roles", "condition": { "rule": "role" } },
      { "id": "date_from", "type": "text", "label": "From", "default": "", "placeholder": "2026-01-01 00:00", "condition": { "rule": "date" } },
      { "id": "date_to", "type": "text", "label": "To", "default": "", "placeholder": "2026-12-31 23:59", "condition": { "rule": "date" } },
      { "id": "time_from", "type": "text", "label": "From", "default": "09:00", "placeholder": "09:00", "condition": { "rule": "time" } },
      { "id": "time_to", "type": "text", "label": "To", "default": "17:00", "placeholder": "17:00", "condition": { "rule": "time" } },
      { "id": "days", "type": "checklist", "label": "Days", "default": [], "options": [{ "value": "mon", "label": "Monday" }, { "value": "tue", "label": "Tuesday" }, { "value": "wed", "label": "Wednesday" }, { "value": "thu", "label": "Thursday" }, { "value": "fri", "label": "Friday" }, { "value": "sat", "label": "Saturday" }, { "value": "sun", "label": "Sunday" }], "condition": { "rule": "days" } },
      { "id": "posts", "type": "text", "label": "IDs or slugs", "default": "", "placeholder": "12, about-us", "condition": { "rule": "post" } },
      { "id": "param", "type": "text", "label": "Parameter", "default": "", "placeholder": "utm_source", "condition": { "rule": "url_param" } },
      { "id": "param_compare", "type": "select", "label": "Compare", "default": "exists", "options": [{ "value": "exists", "label": "Is present" }, { "value": "not_exists", "label": "Is not present" }, { "value": "equals", "label": "Equals" }, { "value": "not_equals", "label": "Does not equal" }, { "value": "contains", "label": "Contains" }], "condition": { "rule": "url_param" } },
      { "id": "param_value", "type": "text", "label": "Value", "default": "", "condition": { "rule": "url_param", "param_compare": ["equals", "not_equals", "contains"] } },
      { "id": "dyn_tag", "type": "select", "label": "Field", "default": "custom-field", "options": [{ "value": "custom-field", "label": "Custom field" }, { "value": "acf", "label": "ACF field" }, { "value": "post-title", "label": "Post title" }, { "value": "post-id", "label": "Post ID" }, { "value": "post-terms", "label": "Post terms" }, { "value": "user-info", "label": "User info" }, { "value": "url-param", "label": "URL parameter" }], "condition": { "rule": "dynamic" } },
      { "id": "dyn_key", "type": "text", "label": "Key", "default": "", "placeholder": "meta_key", "condition": { "rule": "dynamic" } },
      { "id": "dyn_compare", "type": "select", "label": "Compare", "default": "equals", "options": [{ "value": "equals", "label": "Equals" }, { "value": "not_equals", "label": "Does not equal" }, { "value": "contains", "label": "Contains" }, { "value": "not_contains", "label": "Does not contain" }, { "value": "empty", "label": "Is empty" }, { "value": "not_empty", "label": "Is not empty" }, { "value": "greater", "label": "Greater than" }, { "value": "less", "label": "Less than" }], "condition": { "rule": "dynamic" } },
      { "id": "dyn_value", "type": "text", "label": "Value", "default": "", "condition": { "rule": "dynamic", "dyn_compare!": ["empty", "not_empty"] } },
      { "id": "devices", "type": "checklist", "label": "Devices", "default": [], "options": [{ "value": "desktop", "label": "Desktop" }, { "value": "tablet", "label": "Tablet" }, { "value": "mobile", "label": "Mobile" }], "condition": { "rule": "device" } }
    ] },

    { "id": "_scroll_kf", "type": "scrollKeyframes", "label": "Scroll keyframes", "tab": "advanced", "section": "_scroll_anim", "labelBlock": true, "default": {}, "description": "Animate with the scroll position: add keyframes (0-100%) along the track." },
    { "id": "_interactions", "type": "interactions", "label": "Interactions", "tab": "advanced", "section": "_interactions_section", "labelBlock": true, "default": [], "description": "Trigger a timeline of actions on page load, scroll, hover or click." }
  ]
}
