{
  "authoring": {
    "component": {
      "allows_nested_instances": true,
      "definition_keys": [
        "params",
        "objects",
        "label",
        "description",
        "category"
      ],
      "instance_key": "use",
      "max_nesting_depth": 8,
      "param_default_makes_optional": true,
      "param_keys": [
        "name",
        "label",
        "description",
        "type",
        "options",
        "default"
      ],
      "param_types": [
        "string",
        "number",
        "integer",
        "boolean",
        "color",
        "image",
        "font",
        "enum"
      ],
      "requires_nonempty_objects": true,
      "root_overrides": [
        "x",
        "y",
        "w",
        "h",
        "parent",
        "parent_name",
        "name",
        "hidden",
        "dynamic",
        "grow",
        "margin",
        "margin_top",
        "margin_right",
        "margin_bottom",
        "margin_left"
      ]
    },
    "interaction": {
      "actions": [
        "show",
        "hide",
        "toggle",
        "set_text",
        "set_bg_color",
        "call",
        "goto",
        "back",
        "set_value",
        "toggle_value",
        "add_value",
        "set_page",
        "stack_push",
        "stack_pop",
        "drawer_open",
        "drawer_close",
        "play_glow",
        "timeline_play",
        "timeline_pause",
        "timeline_resume",
        "timeline_stop",
        "timeline_seek"
      ],
      "animated": {
        "actions": [
          "set_page",
          "stack_push",
          "stack_pop",
          "drawer_open",
          "drawer_close"
        ],
        "default": true,
        "key": "animated"
      },
      "events": [
        "click",
        "press",
        "release",
        "long",
        "value",
        "cancel"
      ],
      "needs_arg": [
        "set_value",
        "add_value",
        "set_bg_color",
        "set_page",
        "stack_push",
        "call"
      ],
      "needs_param": [
        "set_text"
      ],
      "needs_target": [
        "show",
        "hide",
        "toggle",
        "set_value",
        "add_value",
        "toggle_value",
        "set_text",
        "set_bg_color",
        "set_page",
        "stack_push",
        "stack_pop",
        "drawer_open",
        "drawer_close",
        "play_glow"
      ],
      "needs_timeline": [
        "timeline_play",
        "timeline_pause",
        "timeline_resume",
        "timeline_stop",
        "timeline_seek"
      ],
      "top_level_source_key": "src_name",
      "unavailable_actions": {
        "back": {
          "alternatives": [
            "call",
            "stack_pop"
          ],
          "reason": "No public runtime navigation-history dispatcher"
        }
      }
    },
    "raster_warp": {
      "field": "warp_grid",
      "forms": [
        "point_list",
        "points_object",
        "preset_object"
      ],
      "grid_sizes": [
        2,
        3
      ],
      "presets": [
        "turn_x",
        "turn_y",
        "bend_x",
        "breathe"
      ],
      "signed_morph": [
        -100,
        100
      ],
      "strength": [
        -100,
        100
      ],
      "turn_x_tilt": [
        -32,
        32
      ],
      "widget": "image"
    },
    "rig": {
      "angle_precision_deg": 0.1,
      "angle_unit": "deg",
      "component_rotation_unit": "deci_deg",
      "constraint_kinds": [
        "couple",
        "aim",
        "look_at_x",
        "look_at_y"
      ],
      "constraint_properties": [
        "rotation",
        "x",
        "y",
        "morph"
      ],
      "couple_source": "committed_local_rotation",
      "derived_target_properties": [
        "x",
        "y",
        "rotation",
        "morph"
      ],
      "ik_chain_keys": [
        "upper",
        "lower",
        "end",
        "bend",
        "blend_ms",
        "release_blend_ms",
        "smooth_freq_hz",
        "smooth_damping_ratio"
      ],
      "joint_keys": [
        "name",
        "parent",
        "target",
        "offset",
        "pivot",
        "rotation",
        "spring",
        "x",
        "y"
      ],
      "max_constraints": 128,
      "max_joints": 64,
      "root_key": "rigs",
      "supports_2bone_ik": true,
      "supports_auto_trim_native": true,
      "supports_joint_spring": true,
      "supports_look_at": true,
      "supports_parent_inertia": true,
      "supports_stateful_ik_blend": true
    },
    "scene_keys": [
      "styles",
      "themes",
      "components",
      "actions",
      "swipe",
      "swipe_target",
      "timelines",
      "rigs"
    ],
    "style": {
      "allows_nested": false,
      "merge": "defaults",
      "reference_key": "style"
    },
    "template": {
      "dynamic_expression": "widgets.<type>.fields.<field>.dynamic_expression.template",
      "forbidden_member_features": [
        "bind",
        "bind_target",
        "events",
        "dynamic_theme",
        "canvas"
      ],
      "hidden": "static_pruning",
      "max_instances_key": "max_instances",
      "member_fields": [
        "dynamic_color",
        "dynamic_image"
      ],
      "root_key": "template"
    },
    "theme": {
      "color_fields": [
        "bg_color",
        "fg_color",
        "border_color",
        "outline_color",
        "shadow_color",
        "pressed_color",
        "bg_gradient",
        "knob_color"
      ],
      "dynamic": true,
      "dynamic_gradient": false,
      "reference": {
        "theme": "<name>"
      },
      "value_type": "color"
    },
    "timeline": {
      "clip_keys": [
        "duration_ms",
        "auto_play",
        "loop",
        "alternate",
        "additive",
        "blend_ms",
        "loop_delay_ms",
        "tracks"
      ],
      "interpolations": [
        "step",
        "linear",
        "ease_in",
        "ease_out",
        "ease_in_out",
        "cubic_bezier",
        "ease_out_back",
        "ease_in_out_back"
      ],
      "keyframe_keys": [
        "time_ms",
        "value",
        "interpolation",
        "bezier"
      ],
      "max_clips": 64,
      "max_tracks_per_clip": 128,
      "root_key": "timelines",
      "supports_additive": true,
      "supports_blend_ms": true,
      "supports_loop_delay": true,
      "supports_spring": true,
      "supports_zero_duration_pose": true,
      "track_keys": [
        "target",
        "property",
        "interpolation",
        "bezier",
        "spring",
        "value",
        "keyframes"
      ]
    }
  },
  "capabilities": [
    "widget_registry",
    "authoring",
    "canvas_resource_views"
  ],
  "compiler_version": "0.13.0",
  "protocol_version": 1,
  "registry_hash": "crc32:bd5005f5",
  "schema_version": 2,
  "widgets": {
    "arc": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel",
        "value"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "interactive": {
          "default": true,
          "doc": "allow pointer value interaction; requires explicit bind (bind_target omitted or value); false disables input actions",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max": {
          "default": 100,
          "doc": "value range upper bound",
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min": {
          "default": 0,
          "doc": "value range lower bound",
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "start_angle": {
          "default": 135,
          "doc": "arc start angle clockwise from top (0 top, 90 right)",
          "dynamic": true,
          "dynamic_expression": {
            "max": 359,
            "min": 0,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 359,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "sweep": {
          "default": 270,
          "doc": "clockwise arc span in degrees",
          "maximum": 360,
          "minimum": 1,
          "type": "int"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "thickness": {
          "doc": "stroke thickness; omitted = max(min(w,h)/8, 2); 0 clamps to 1",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "value": {
          "doc": "initial value (in min..max units)",
          "dynamic": true,
          "type": "int"
        },
        "vertical": {
          "default": false,
          "doc": "vertical orientation",
          "type": "bool"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "value"
    },
    "button": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bg_opacity": {
          "default": 255,
          "doc": "background-only opacity; multiplied by opacity and color alpha",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_side": {
          "choices": [
            "all",
            "none",
            "top",
            "bottom",
            "left",
            "right",
            "horizontal",
            "vertical"
          ],
          "default": "all",
          "doc": "inside border selection; partial sides require static rectangular geometry",
          "type": "enum"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "checkable": {
          "default": false,
          "doc": "toggle selected state on click",
          "type": "bool"
        },
        "checked": {
          "default": false,
          "doc": "initial on/off state",
          "dynamic": true,
          "type": "bool"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_image": {
          "doc": "disabled-state image path",
          "type": "path"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "press_feedback": {
          "doc": "enable shape-aware press feedback; false disables automatic shading",
          "type": "bool"
        },
        "pressed_color": {
          "doc": "pressed background color, overriding automatic background darkening",
          "type": "color"
        },
        "pressed_dim": {
          "doc": "pressed background/image darkening, 0 unchanged to 255 black",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "pressed_image": {
          "doc": "pressed-state image path",
          "type": "path"
        },
        "pressed_shadow": {
          "doc": "keep the static shadow while pressed (default true)",
          "type": "bool"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "selected_image": {
          "doc": "selected-state image path",
          "type": "path"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "content"
    },
    "carousel": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel",
        "value"
      ],
      "fields": {
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "depth": {
          "default": 60,
          "doc": "carousel perspective strength in percent",
          "dynamic": true,
          "maximum": 100,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "icons": {
          "doc": "3..12 image paths, compiled to native thumbnails",
          "required": true,
          "type": "string_list"
        },
        "image_set": {
          "default": 0,
          "doc": "initial compiled image group index",
          "dynamic": true,
          "maximum": 3,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "image_sets": {
          "doc": "additional image groups for runtime theme selection",
          "type": "string_matrix"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "overall icon opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "period_ms": {
          "default": 280,
          "doc": "carousel settling duration with runtime_style",
          "dynamic": true,
          "maximum": 60000,
          "minimum": 100,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "projection": {
          "choices": [
            "flat",
            "tilt",
            "perspective"
          ],
          "default": "perspective",
          "doc": "carousel projection",
          "type": "enum"
        },
        "runtime_style": {
          "default": false,
          "doc": "generate runtime appearance setters",
          "type": "bool"
        },
        "selected": {
          "default": 0,
          "doc": "initial selected icon index",
          "maximum": 11,
          "minimum": 0,
          "type": "int"
        },
        "spacing": {
          "default": 50,
          "doc": "carousel orbit spacing in percent",
          "dynamic": true,
          "maximum": 100,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "data"
    },
    "charging_orb": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "bg_color": {
          "doc": "optional static backing color",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "charging": {
          "default": true,
          "doc": "enable charging motion and particles",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "default": "#38BDF8",
          "doc": "effect color",
          "dynamic": true,
          "runtime_update": "runtime_style",
          "type": "color"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "overall effect opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "particles": {
          "default": 4,
          "doc": "maximum soft energy particles",
          "dynamic": true,
          "maximum": 6,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "period_ms": {
          "default": 2800,
          "doc": "one animation cycle in milliseconds",
          "dynamic": true,
          "maximum": 60000,
          "minimum": 100,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "phase": {
          "default": 0,
          "doc": "initial cycle progress, 0..65535",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "playing": {
          "default": true,
          "doc": "advance automatically while visible",
          "type": "bool"
        },
        "ripple": {
          "default": 45,
          "doc": "attached membrane ripple strength in percent",
          "dynamic": true,
          "maximum": 100,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "runtime_style": {
          "default": false,
          "doc": "generate runtime appearance setters",
          "type": "bool"
        },
        "softness": {
          "default": 75,
          "doc": "glow feather softness in percent",
          "dynamic": true,
          "maximum": 100,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "strength": {
          "default": 65,
          "doc": "soft glow strength in percent",
          "dynamic": true,
          "maximum": 100,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "style": {
          "choices": [
            "liquid",
            "halo",
            "plasma"
          ],
          "default": "halo",
          "doc": "charging orb visual style",
          "type": "enum"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "value": {
          "default": 100,
          "doc": "liquid level or visual intensity in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "chart": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_lines": {
          "default": 0,
          "doc": "chart grid line count",
          "maximum": 32,
          "minimum": 0,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max": {
          "default": 100,
          "doc": "business value range upper bound",
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min": {
          "default": 0,
          "doc": "business value range lower bound",
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "points": {
          "doc": "single-series chart data points",
          "type": "int_list"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "series": {
          "doc": "fixed-capacity chart series objects",
          "type": "chart_series"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "thickness": {
          "default": 0,
          "doc": "stroke thickness",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "checkbox": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "checked": {
          "default": false,
          "doc": "initial on/off state",
          "dynamic": true,
          "type": "bool"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "default": "#50B878",
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "boolean"
    },
    "clock": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hand_thickness": {
          "default": 0,
          "doc": "base hand thickness",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "hour_angle": {
          "default": 0,
          "doc": "hour-hand angle",
          "maximum": 359,
          "minimum": 0,
          "type": "int"
        },
        "hour_color": {
          "doc": "hour-hand color",
          "type": "color"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "minute_angle": {
          "default": 0,
          "doc": "minute-hand angle",
          "maximum": 359,
          "minimum": 0,
          "type": "int"
        },
        "minute_color": {
          "doc": "minute-hand color",
          "type": "color"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "second_angle": {
          "default": 0,
          "doc": "second-hand angle",
          "maximum": 359,
          "minimum": 0,
          "type": "int"
        },
        "second_color": {
          "doc": "second-hand color",
          "type": "color"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tick_color": {
          "doc": "hour tick color",
          "type": "color"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "container": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bg_opacity": {
          "default": 255,
          "doc": "background-only opacity; multiplied by opacity and color alpha",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_side": {
          "choices": [
            "all",
            "none",
            "top",
            "bottom",
            "left",
            "right",
            "horizontal",
            "vertical"
          ],
          "default": "all",
          "doc": "inside border selection; partial sides require static rectangular geometry",
          "type": "enum"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "clip_children": {
          "default": false,
          "doc": "clip descendants and their hit areas to the container bounds",
          "type": "bool"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "structural"
    },
    "drawer": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bg_opacity": {
          "default": 255,
          "doc": "background-only opacity; multiplied by opacity and color alpha",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_side": {
          "choices": [
            "all",
            "none",
            "top",
            "bottom",
            "left",
            "right",
            "horizontal",
            "vertical"
          ],
          "default": "all",
          "doc": "inside border selection; partial sides require static rectangular geometry",
          "type": "enum"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "edge": {
          "choices": [
            "top",
            "bottom",
            "left",
            "right"
          ],
          "default": "top",
          "doc": "drawer attachment edge",
          "type": "enum"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "open": {
          "default": false,
          "doc": "initial drawer state",
          "type": "bool"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "structural"
    },
    "dropdown": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "bg_color": {
          "doc": "dropdown background",
          "dynamic": true,
          "type": "color"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_width": {
          "doc": "border stroke width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "callback": {
          "doc": "selection callback",
          "type": "identifier"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dynamic_options": {
          "default": false,
          "doc": "allow atomic runtime option-label replacement",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "fg_color": {
          "doc": "dropdown text color",
          "type": "color"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "item_height": {
          "doc": "item row height",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "items": {
          "doc": "normalized dropdown option labels",
          "type": "string_list"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "open_direction": {
          "choices": [
            "down",
            "up"
          ],
          "default": "down",
          "doc": "direction in which the option panel opens",
          "type": "enum"
        },
        "option_text_max_bytes": {
          "default": 128,
          "doc": "maximum UTF-8 bytes per dynamic option, excluding NUL",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "options": {
          "doc": "option labels",
          "required": true,
          "type": "string_list"
        },
        "panel_color": {
          "doc": "panel fill color",
          "type": "color"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "selected": {
          "default": 0,
          "doc": "initially selected index",
          "dynamic": true,
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "composite"
    },
    "effect": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "bg_color": {
          "doc": "optional static backing color",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "effect": {
          "choices": [
            "pulse",
            "ring",
            "liquid",
            "shimmer"
          ],
          "doc": "procedural visual",
          "required": true,
          "type": "enum"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "default": "#38BDF8",
          "doc": "effect color",
          "dynamic": true,
          "runtime_update": "runtime_style",
          "type": "color"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "overall effect opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "period_ms": {
          "default": 2800,
          "doc": "one animation cycle in milliseconds",
          "dynamic": true,
          "maximum": 60000,
          "minimum": 100,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "phase": {
          "default": 0,
          "doc": "initial cycle progress, 0..65535",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "playing": {
          "default": true,
          "doc": "advance automatically while visible",
          "type": "bool"
        },
        "ring_style": {
          "choices": [
            "solid",
            "glow",
            "trail"
          ],
          "default": "trail",
          "doc": "ring appearance",
          "type": "enum"
        },
        "runtime_style": {
          "default": false,
          "doc": "generate runtime appearance setters",
          "type": "bool"
        },
        "shimmer_style": {
          "choices": [
            "linear",
            "soft",
            "diagonal"
          ],
          "default": "linear",
          "doc": "highlight appearance",
          "type": "enum"
        },
        "softness": {
          "default": 75,
          "doc": "glow feather softness in percent",
          "dynamic": true,
          "maximum": 100,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "strength": {
          "default": 65,
          "doc": "soft glow strength in percent",
          "dynamic": true,
          "maximum": 100,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "value": {
          "default": 100,
          "doc": "liquid level or visual intensity in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "flip_card": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel",
        "value"
      ],
      "fields": {
        "back": {
          "doc": "back image path",
          "required": true,
          "type": "path"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "depth": {
          "default": 60,
          "doc": "perspective strength in percent",
          "dynamic": true,
          "maximum": 100,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "flipped": {
          "default": false,
          "doc": "show the back face",
          "dynamic": true,
          "type": "bool"
        },
        "front": {
          "doc": "front image path",
          "required": true,
          "type": "path"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image_set": {
          "default": 0,
          "doc": "initial compiled image group index",
          "dynamic": true,
          "maximum": 3,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "image_sets": {
          "doc": "additional image groups for runtime theme selection",
          "type": "string_matrix"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "overall opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "period_ms": {
          "default": 560,
          "doc": "flip duration in milliseconds",
          "dynamic": true,
          "maximum": 60000,
          "minimum": 100,
          "runtime_update": "runtime_style",
          "type": "int"
        },
        "runtime_style": {
          "default": false,
          "doc": "generate runtime appearance setters",
          "type": "bool"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "content"
    },
    "glass": {
      "fields": {
        "backdrop": {
          "doc": "name of a preceding static image with the same parent",
          "required": true,
          "type": "string"
        },
        "blur": {
          "default": 12,
          "doc": "build-time blur radius in display pixels",
          "maximum": 32,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "overall opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "radius": {
          "default": 16,
          "doc": "rounded corner radius in pixels",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 128,
          "minimum": 0,
          "type": "int"
        },
        "tint_color": {
          "default": "#D8EAFF",
          "doc": "frosted material tint",
          "type": "color"
        },
        "tint_opacity": {
          "default": 70,
          "doc": "tint strength",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "grid": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "cell_template": {
          "doc": "recycled grid cell template",
          "required": true,
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "column_count": {
          "doc": "fixed grid column count",
          "maximum": 32,
          "minimum": 1,
          "required": true,
          "type": "int"
        },
        "column_gap": {
          "default": 0,
          "doc": "horizontal cell gap",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "item_count": {
          "default": 0,
          "doc": "initial grid item count",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "row_gap": {
          "default": 0,
          "doc": "vertical cell gap",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scroll_snapshot": {
          "default": false,
          "doc": "cache two viewport frames while scrolling; falls back to live rendering when memory is unavailable",
          "type": "bool"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "data"
    },
    "image": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "alpha_mask": {
          "doc": "Static PNG alpha channel in image-local space, matching source pixel dimensions",
          "type": "path"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bg_opacity": {
          "default": 255,
          "doc": "background-only opacity; multiplied by opacity and color alpha",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_side": {
          "choices": [
            "all",
            "none",
            "top",
            "bottom",
            "left",
            "right",
            "horizontal",
            "vertical"
          ],
          "default": "all",
          "doc": "inside border selection; partial sides require static rectangular geometry",
          "type": "enum"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "canvas": {
          "choices": [
            "draw",
            "push"
          ],
          "doc": "Canvas producer: draw callback or borrowed frames; creates an independent resource view",
          "type": "enum"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "svg",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "image_opacity": {
          "default": 255,
          "doc": "image-only opacity 0..255; scene SVG supports direct bounded runtime control, fixed rasters may bake alpha at compile time",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "svg",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress in percent (0..100 for SVG morph_to; -100..100 for bidirectional raster warp_grid)",
          "maximum": 100,
          "minimum": -100,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "image",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "rotation_filter": {
          "choices": [
            "nearest",
            "edge_aa",
            "bilinear"
          ],
          "default": "nearest",
          "doc": "texture sampling for raster rotation and warp (nearest, edge_aa for fast anti-aliased outlines with crisp opaque interiors, or bilinear)",
          "type": "enum"
        },
        "rotation_precision": {
          "choices": [
            "deg",
            "deci_deg"
          ],
          "default": "deg",
          "doc": "rotation angle unit: integer degrees (deg) or tenths of a degree (deci_deg)",
          "type": "enum"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "smooth_rotation": {
          "default": false,
          "doc": "shorthand for rotation_precision=deci_deg and rotation_filter=bilinear",
          "type": "bool"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "svg_mode": {
          "choices": [
            "vector",
            "raster"
          ],
          "doc": "SVG import: vector curves (default) or explicitly baked static pixels at fixed w/h",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "trim_transparent": {
          "default": false,
          "doc": "compile-time auto-trim fully transparent borders on raster sprites (paired with fit=native)",
          "type": "bool"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "svg",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "warp_grid": {
          "doc": "Four or nine [dx, dy] pixel offsets (-128..127) in row-major order; use {points: [...]} for signed runtime control, or {preset: turn_x|turn_y|bend_x|breathe, strength: -100..100}. turn_x also accepts tilt (-32..32)",
          "type": "point_list"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "content"
    },
    "keyboard": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "bg_color": {
          "doc": "keyboard background",
          "dynamic": true,
          "type": "color"
        },
        "delete_color": {
          "doc": "keyboard delete-key fill color",
          "type": "color"
        },
        "delete_icon": {
          "doc": "keyboard delete-key icon image",
          "type": "path"
        },
        "delete_label": {
          "doc": "keyboard delete-key label",
          "type": "string"
        },
        "delete_text_color": {
          "doc": "keyboard delete-key text color",
          "type": "color"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "fg_color": {
          "doc": "keyboard text color",
          "type": "color"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "function_color": {
          "doc": "keyboard modifier-key fill color",
          "type": "color"
        },
        "function_font_size": {
          "doc": "keyboard text modifier-key font size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "function_text_color": {
          "doc": "keyboard modifier-key text color",
          "type": "color"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden",
          "dynamic": true,
          "type": "bool"
        },
        "key_color": {
          "doc": "keyboard character-key fill color",
          "type": "color"
        },
        "key_radius": {
          "doc": "keyboard key corner radius in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "letters_label": {
          "doc": "keyboard letters-page key label",
          "type": "string"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "ok_color": {
          "doc": "keyboard confirmation-key fill color",
          "type": "color"
        },
        "ok_icon": {
          "doc": "keyboard confirmation-key icon image",
          "type": "path"
        },
        "ok_label": {
          "doc": "keyboard confirmation-key label",
          "type": "string"
        },
        "ok_text_color": {
          "doc": "keyboard confirmation-key text color",
          "type": "color"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "shift_icon": {
          "doc": "keyboard shift-key icon image",
          "type": "path"
        },
        "shift_label": {
          "doc": "keyboard shift-key label",
          "type": "string"
        },
        "space_color": {
          "doc": "keyboard space-key fill color",
          "type": "color"
        },
        "space_label": {
          "doc": "keyboard space-key label",
          "type": "string"
        },
        "space_text_color": {
          "doc": "keyboard space-key text color",
          "type": "color"
        },
        "symbols_label": {
          "doc": "keyboard symbols-page key label",
          "type": "string"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "composite"
    },
    "label": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bg_opacity": {
          "default": 255,
          "doc": "background-only opacity; multiplied by opacity and color alpha",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_side": {
          "choices": [
            "all",
            "none",
            "top",
            "bottom",
            "left",
            "right",
            "horizontal",
            "vertical"
          ],
          "default": "all",
          "doc": "inside border selection; partial sides require static rectangular geometry",
          "type": "enum"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "default": "#FFFFFF",
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "text overflow (ellipsis applies to the last visible line when text_wrap is enabled)",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "text_wrap": {
          "default": false,
          "doc": "opt-in multiline layout with per-line alignment and last-line ellipsis",
          "type": "bool"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "content"
    },
    "layer": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bg_opacity": {
          "default": 255,
          "doc": "background-only opacity; multiplied by opacity and color alpha",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "block_scene_swipe": {
          "default": false,
          "doc": "while visible, block horizontal scene swipes",
          "type": "bool"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_side": {
          "choices": [
            "all",
            "none",
            "top",
            "bottom",
            "left",
            "right",
            "horizontal",
            "vertical"
          ],
          "default": "all",
          "doc": "inside border selection; partial sides require static rectangular geometry",
          "type": "enum"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "clip_children": {
          "default": false,
          "doc": "clip descendants and their hit areas to the layer bounds",
          "type": "bool"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "structural"
    },
    "list": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "item_count": {
          "doc": "initial dynamic item count",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "item_height": {
          "default": 0,
          "doc": "row height for list/wheel",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "items": {
          "doc": "item texts (list/wheel/dropdown/tabview)",
          "type": "string_list"
        },
        "items_per_page": {
          "default": 0,
          "doc": "tabview items per page",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "row_template": {
          "doc": "recycled row template",
          "type": "identifier"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scroll_snapshot": {
          "default": false,
          "doc": "cache two viewport frames while scrolling; falls back to live rendering when memory is unavailable",
          "type": "bool"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "selected": {
          "default": 0,
          "doc": "initially selected item index",
          "dynamic": true,
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "snap_to_item": {
          "default": false,
          "doc": "scrolling snaps to row boundaries",
          "type": "bool"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "visible_rows": {
          "default": 0,
          "doc": "visible row count (alt to item_height)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "data"
    },
    "message_list": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "background_color": {
          "doc": "message viewport background",
          "type": "color"
        },
        "bubble_padding_x": {
          "default": 14,
          "doc": "bubble horizontal padding",
          "maximum": 1024,
          "minimum": 0,
          "type": "int"
        },
        "bubble_padding_y": {
          "default": 10,
          "doc": "bubble vertical padding",
          "maximum": 1024,
          "minimum": 0,
          "type": "int"
        },
        "bubble_radius": {
          "default": 14,
          "doc": "message bubble radius",
          "maximum": 1024,
          "minimum": 0,
          "type": "int"
        },
        "callback": {
          "doc": "app callback name",
          "type": "identifier"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound message text",
          "type": "string"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "incoming_color": {
          "default": "#E9EDF3",
          "doc": "incoming bubble color",
          "type": "color"
        },
        "item_height": {
          "default": 0,
          "doc": "minimum message row height; 0 or omitted uses 2 * bubble_padding_y + message_gap + 1",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_bubble_width": {
          "default": 0,
          "doc": "maximum bubble width; 0 or omitted uses 76% of viewport width",
          "maximum": 32767,
          "minimum": 0,
          "type": "int"
        },
        "max_message_height": {
          "default": 320,
          "doc": "maximum message height",
          "maximum": 32767,
          "minimum": 16,
          "type": "int"
        },
        "message_gap": {
          "default": 8,
          "doc": "message gap",
          "maximum": 1024,
          "minimum": 0,
          "type": "int"
        },
        "message_text_color": {
          "default": "#111827",
          "doc": "message text color",
          "type": "color"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "outgoing_color": {
          "default": "#246BFD",
          "doc": "outgoing bubble color",
          "type": "color"
        },
        "outgoing_text_color": {
          "default": "#FFFFFF",
          "doc": "outgoing text color",
          "type": "color"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "row_template": {
          "doc": "recycled row template",
          "type": "identifier"
        },
        "scroll_snapshot": {
          "default": true,
          "doc": "cache two viewport frames while scrolling; falls back to live rendering when memory is unavailable",
          "type": "bool"
        },
        "side_margin": {
          "default": 12,
          "doc": "message side margin",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "composite"
    },
    "msgbox": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "bg_color": {
          "doc": "dialog background",
          "dynamic": true,
          "type": "color"
        },
        "button_color": {
          "doc": "button fill color",
          "type": "color"
        },
        "buttons": {
          "doc": "button labels",
          "required": true,
          "type": "string_list"
        },
        "callback": {
          "doc": "button press callback",
          "type": "identifier"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dismissable": {
          "default": false,
          "doc": "scrim tap closes",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "fg_color": {
          "doc": "dialog text color",
          "type": "color"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": true,
          "doc": "start hidden",
          "dynamic": true,
          "type": "bool"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "text": {
          "doc": "dialog body",
          "dynamic": true,
          "type": "string"
        },
        "title": {
          "doc": "dialog title",
          "type": "string"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        }
      },
      "kind": "composite"
    },
    "needle": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "angle": {
          "default": 0,
          "doc": "clockwise angle (0=up)",
          "maximum": 359,
          "minimum": 0,
          "type": "int"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "tail_length": {
          "default": 0,
          "doc": "length behind center pivot in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "thickness": {
          "default": 0,
          "doc": "stroke thickness",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "page_flow": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "axis": {
          "choices": [
            "horizontal",
            "vertical"
          ],
          "default": "horizontal",
          "doc": "page motion axis",
          "type": "enum"
        },
        "bar_height": {
          "default": 56,
          "doc": "tab bar height",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bg_opacity": {
          "default": 255,
          "doc": "background-only opacity; multiplied by opacity and color alpha",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_side": {
          "choices": [
            "all",
            "none",
            "top",
            "bottom",
            "left",
            "right",
            "horizontal",
            "vertical"
          ],
          "default": "all",
          "doc": "inside border selection; partial sides require static rectangular geometry",
          "type": "enum"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "cyclic": {
          "default": false,
          "doc": "cyclic page wrap",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "item_height": {
          "default": 0,
          "doc": "row height for list/wheel",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "items": {
          "doc": "item texts (list/wheel/dropdown/tabview)",
          "type": "string_list"
        },
        "items_per_page": {
          "default": 0,
          "doc": "tabview items per page",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "page_count": {
          "doc": "compiled page count",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "page_extent": {
          "default": 0,
          "doc": "PageFlow drag extent",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "pages": {
          "doc": "ordered names of direct page children; overrides legacy <name>_tabN discovery",
          "type": "string_list"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "selected": {
          "default": 0,
          "doc": "initially selected item index",
          "dynamic": true,
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "snap_to_item": {
          "default": false,
          "doc": "scrolling snaps to row boundaries",
          "type": "bool"
        },
        "stop_anywhere": {
          "default": false,
          "doc": "allow PageFlow to settle between pages",
          "type": "bool"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "visible_rows": {
          "default": 0,
          "doc": "visible row count (alt to item_height)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "structural"
    },
    "progress": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max": {
          "default": 100,
          "doc": "value range upper bound",
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min": {
          "default": 0,
          "doc": "value range lower bound",
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "value": {
          "doc": "initial value (in min..max units)",
          "dynamic": true,
          "type": "int"
        },
        "vertical": {
          "default": false,
          "doc": "vertical orientation",
          "type": "bool"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "radio": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "checked": {
          "default": false,
          "doc": "initial on/off state",
          "dynamic": true,
          "type": "bool"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "default": "#55A0E8",
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "boolean"
    },
    "rect": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bg_opacity": {
          "default": 255,
          "doc": "background-only opacity; multiplied by opacity and color alpha",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_side": {
          "choices": [
            "all",
            "none",
            "top",
            "bottom",
            "left",
            "right",
            "horizontal",
            "vertical"
          ],
          "default": "all",
          "doc": "inside border selection; partial sides require static rectangular geometry",
          "type": "enum"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "shape": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "line_direction": {
          "choices": [
            "horizontal",
            "vertical",
            "tl_br",
            "bl_tr"
          ],
          "default": "tl_br",
          "doc": "line direction",
          "type": "enum"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "shape": {
          "choices": [
            "rect",
            "round_rect",
            "circle",
            "ellipse",
            "line"
          ],
          "default": "rect",
          "doc": "shape geometry",
          "type": "enum"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "slider": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel",
        "value"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "knob": {
          "default": true,
          "doc": "knob enabled",
          "type": "bool"
        },
        "knob_color": {
          "default": "#FFFFFF",
          "doc": "slider/toggle knob color",
          "type": "color"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max": {
          "default": 100,
          "doc": "value range upper bound",
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min": {
          "default": 0,
          "doc": "value range lower bound",
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "track_inset": {
          "doc": "track end inset; omitted preserves the legacy thumb-radius inset",
          "maximum": 32767,
          "minimum": 0,
          "type": "int"
        },
        "track_radius": {
          "doc": "track corner radius; omitted uses half its thickness",
          "maximum": 32767,
          "minimum": 0,
          "type": "int"
        },
        "track_size": {
          "default": 0,
          "doc": "track thickness",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "value": {
          "doc": "initial value (in min..max units)",
          "dynamic": true,
          "type": "int"
        },
        "vertical": {
          "default": false,
          "doc": "vertical orientation",
          "type": "bool"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "value"
    },
    "spinner": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "speed": {
          "default": 1000,
          "doc": "rotation speed in ms per revolution",
          "maximum": 60000,
          "minimum": 100,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "thickness": {
          "default": 0,
          "doc": "stroke thickness",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "visual"
    },
    "stackview": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "axis": {
          "choices": [
            "horizontal",
            "vertical"
          ],
          "default": "horizontal",
          "doc": "motion axis",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bg_opacity": {
          "default": 255,
          "doc": "background-only opacity; multiplied by opacity and color alpha",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_side": {
          "choices": [
            "all",
            "none",
            "top",
            "bottom",
            "left",
            "right",
            "horizontal",
            "vertical"
          ],
          "default": "all",
          "doc": "inside border selection; partial sides require static rectangular geometry",
          "type": "enum"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "capacity": {
          "default": 8,
          "doc": "maximum stack depth",
          "maximum": 8,
          "minimum": 1,
          "type": "int"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "initial_page": {
          "default": 0,
          "doc": "initial stack root page",
          "maximum": 65534,
          "minimum": 0,
          "type": "int"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": true,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "page_count": {
          "doc": "compiled page count",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "transition_easing": {
          "choices": [
            "linear",
            "ease_out",
            "ease_in_out"
          ],
          "default": "linear",
          "doc": "programmatic push/pop easing curve",
          "type": "enum"
        },
        "transition_ms": {
          "default": 0,
          "doc": "programmatic push/pop duration; 0 keeps runtime default",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "own_fill",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "own_fill",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "structural"
    },
    "table": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "bg_color": {
          "doc": "table background",
          "dynamic": true,
          "type": "color"
        },
        "col_widths": {
          "doc": "relative column widths",
          "type": "number_list"
        },
        "columns": {
          "doc": "column labels",
          "required": true,
          "type": "string_list"
        },
        "fg_color": {
          "doc": "table text color",
          "type": "color"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "grid_color": {
          "doc": "grid line color",
          "type": "color"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "header_color": {
          "doc": "header fill color",
          "type": "color"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "row_height": {
          "default": 44,
          "doc": "row height",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "rows": {
          "doc": "cell rows",
          "required": true,
          "type": "string_matrix"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "composite"
    },
    "tabview": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "active_color": {
          "doc": "active indicator color",
          "type": "color"
        },
        "axis": {
          "choices": [
            "horizontal",
            "vertical"
          ],
          "default": "horizontal",
          "doc": "page axis",
          "type": "enum"
        },
        "bar_height": {
          "default": 56,
          "doc": "tab bar height",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "bg_color": {
          "doc": "tabview background",
          "dynamic": true,
          "type": "color"
        },
        "cyclic": {
          "default": true,
          "doc": "cyclic page wrap",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "fg_color": {
          "doc": "tab label color",
          "type": "color"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden",
          "dynamic": true,
          "type": "bool"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "page_extent": {
          "default": 0,
          "doc": "PageFlow drag extent",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "selected": {
          "default": 0,
          "doc": "initially selected tab",
          "dynamic": true,
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "stop_anywhere": {
          "default": false,
          "doc": "allow PageFlow to settle between pages",
          "type": "bool"
        },
        "tabs": {
          "doc": "tab labels",
          "required": true,
          "type": "string_list"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "composite"
    },
    "toggle": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "default": "#3f3f46",
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "checked": {
          "default": false,
          "doc": "initial on/off state",
          "dynamic": true,
          "type": "bool"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "default": "#22c55e",
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "knob": {
          "default": true,
          "doc": "knob enabled",
          "type": "bool"
        },
        "knob_color": {
          "default": "#FFFFFF",
          "doc": "slider/toggle knob color",
          "type": "color"
        },
        "knob_size": {
          "default": 0,
          "doc": "thumb diameter; 0 uses the track thickness",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "track_size": {
          "default": 0,
          "doc": "centered track thickness; 0 preserves the legacy inset",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "boolean"
    },
    "wheel": {
      "events": [
        "click",
        "press",
        "release",
        "long",
        "cancel"
      ],
      "fields": {
        "align_cross": {
          "choices": [
            "start",
            "center",
            "end",
            "stretch"
          ],
          "doc": "auto-layout cross-axis placement",
          "type": "enum"
        },
        "align_main": {
          "choices": [
            "start",
            "center",
            "end",
            "space_between"
          ],
          "doc": "auto-layout main-axis placement",
          "type": "enum"
        },
        "animation_codec": {
          "choices": [
            "lossless",
            "eaf4",
            "eaf4_bounded",
            "jpeg",
            "hardware_jpeg"
          ],
          "doc": "animation frame policy: lossless patches, EAF4 4x4 inter-frame pixel delta, JPEG full frames, or JPEG when the target has hardware decoding",
          "type": "enum"
        },
        "bg_color": {
          "doc": "background/fill color (#RRGGBB or #RRGGBBAA)",
          "dynamic": true,
          "type": "color"
        },
        "bg_gradient": {
          "doc": "second gradient stop (with bg_color)",
          "type": "color"
        },
        "bind": {
          "doc": "public state name; generates GSP_BIND_<NAME>",
          "type": "identifier"
        },
        "bind_target": {
          "choices": [
            "visible",
            "value",
            "color",
            "text",
            "resource",
            "data"
          ],
          "doc": "explicit bind state family",
          "type": "enum"
        },
        "border_color": {
          "doc": "border stroke color",
          "type": "color"
        },
        "border_opacity": {
          "default": 255,
          "doc": "border stroke opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "border_width": {
          "doc": "border stroke width (needs border_color)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "cache_policy": {
          "choices": [
            "mmap_direct",
            "mmap",
            "decode_lru",
            "lru",
            "preload"
          ],
          "doc": "image cache policy: mmap_direct, decode_lru or preload",
          "type": "enum"
        },
        "callback": {
          "doc": "app callback name; generates scene-qualified event helpers",
          "type": "identifier"
        },
        "codec": {
          "choices": [
            "raw",
            "lossless",
            "jpeg",
            "auto",
            "speed",
            "size",
            "store",
            "qoi",
            "png",
            "rle16",
            "rle16_a8",
            "rle32",
            "default",
            "hardware_jpeg"
          ],
          "doc": "image codec",
          "type": "enum"
        },
        "compress": {
          "doc": "image compression toggle (legacy; prefer codec)",
          "type": "bool"
        },
        "cyclic": {
          "default": false,
          "doc": "selection wraps continuously across both ends",
          "type": "bool"
        },
        "disabled_color": {
          "default": "#808080",
          "doc": "disabled-state overlay color",
          "type": "color"
        },
        "disabled_opacity": {
          "default": 112,
          "doc": "disabled-state overlay opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "dither": {
          "doc": "reduce RGB565 banding in images and animations; overrides profile image_dither",
          "type": "bool"
        },
        "dynamic": {
          "doc": "runtime-mutable properties (e.g. text, color, visible, resource, x, y, w, h, opacity)",
          "type": "string_list"
        },
        "dynamic_color": {
          "doc": "template member exposes a per-instance color slot",
          "type": "bool"
        },
        "dynamic_image": {
          "doc": "template image exposes a per-instance resource slot",
          "type": "bool"
        },
        "dynamic_items": {
          "default": false,
          "doc": "keep item-update APIs available regardless of initial item count",
          "type": "bool"
        },
        "dynamic_reflow": {
          "default": false,
          "doc": "promote direct named layout children to runtime-positioned and emit gsp_<stem>_<name>_reflow[_ex]() and _scroll_attach/_scroll_reflow()",
          "type": "bool"
        },
        "enabled": {
          "doc": "initial interaction state; when present, exposes a runtime enabled property inherited by descendant controls",
          "type": "bool"
        },
        "events": {
          "doc": "input bindings: [{event, action, ...}]",
          "type": "action_list"
        },
        "fg_color": {
          "doc": "foreground color (text/knob/line/mark per type)",
          "type": "color"
        },
        "fit": {
          "choices": [
            "stretch",
            "fill",
            "contain",
            "cover",
            "native"
          ],
          "default": "stretch",
          "doc": "image fit mode (native draws 1:1 native pixels centered in the box with tight rotated dirty bounds)",
          "type": "enum"
        },
        "font": {
          "doc": "per-object TTF/OTF override",
          "type": "path"
        },
        "font_charset": {
          "doc": "glyphs available to runtime-bound text; static text is added automatically",
          "type": "string"
        },
        "font_charset_file": {
          "doc": "UTF-8 character corpus relative to the scene; combined with font_charset and static text",
          "type": "path"
        },
        "font_link": {
          "choices": [
            "embedded",
            "external",
            "auto"
          ],
          "doc": "font storage policy: embedded/external/auto",
          "type": "enum"
        },
        "font_size": {
          "doc": "per-object font pixel size",
          "maximum": 255,
          "minimum": 1,
          "type": "int"
        },
        "gap": {
          "default": 0,
          "doc": "auto-layout gap in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "gradient_dir": {
          "choices": [
            "vertical",
            "horizontal"
          ],
          "default": "vertical",
          "doc": "gradient direction",
          "type": "enum"
        },
        "grid_column_span": {
          "default": 1,
          "doc": "column span in the parent grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grid_columns": {
          "doc": "equal-width column count for grid layout",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "grow": {
          "default": 0,
          "doc": "auto-layout grow weight",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "h": {
          "doc": "height in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "hidden": {
          "default": false,
          "doc": "start hidden (show via actions or set_visible)",
          "dynamic": true,
          "type": "bool"
        },
        "image": {
          "doc": "image, animated image, video (optional FFmpeg), or compiled SVG file path",
          "dynamic": true,
          "type": "path"
        },
        "input": {
          "default": false,
          "doc": "text field: attaches the caret/keyboard flow",
          "type": "bool"
        },
        "item_count": {
          "doc": "initial dynamic item count",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "item_height": {
          "default": 0,
          "doc": "row height for list/wheel",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "items": {
          "doc": "item texts (list/wheel/dropdown/tabview)",
          "type": "string_list"
        },
        "items_per_page": {
          "default": 0,
          "doc": "tabview items per page",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "jpeg_quality": {
          "doc": "legacy JPEG quality alias",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "layout": {
          "choices": [
            "row",
            "column",
            "grid"
          ],
          "doc": "child auto-layout: row/column/grid",
          "type": "enum"
        },
        "layout_wrap": {
          "default": false,
          "doc": "wrap row/column children into additional lines",
          "type": "bool"
        },
        "margin": {
          "default": 0,
          "doc": "auto-layout space on both child sides",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_bottom": {
          "doc": "auto-layout trailing margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_left": {
          "doc": "auto-layout leading margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_right": {
          "doc": "auto-layout trailing margin on the x axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "margin_top": {
          "doc": "auto-layout leading margin on the y axis",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "max_fps": {
          "doc": "animation import frame-rate cap; video defaults to 30, explicit 0 preserves source timestamps",
          "maximum": 120,
          "minimum": 0,
          "type": "int"
        },
        "max_height": {
          "doc": "compile-time maximum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "max_instances": {
          "doc": "maximum simultaneously live template instances; included in the automatic pool requirement",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "max_scale": {
          "default": 4.0,
          "doc": "maximum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "max_width": {
          "doc": "compile-time maximum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_height": {
          "doc": "compile-time minimum height in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "min_scale": {
          "default": 0.5,
          "doc": "minimum runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "min_width": {
          "doc": "compile-time minimum width in px",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "morph": {
          "doc": "Interpolation progress for SVG morph_to or raster warp_grid, in percent",
          "maximum": 100,
          "minimum": 0,
          "type": "int"
        },
        "morph_to": {
          "doc": "SVG end shape with matching paths and paints",
          "type": "path"
        },
        "name": {
          "doc": "stable component name; generates GSP_OBJ_KEY_<NAME>",
          "type": "identifier"
        },
        "opacity": {
          "default": 255,
          "doc": "0-255 blend opacity",
          "dynamic": false,
          "dynamic_expression": {
            "max": 255,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_color": {
          "doc": "outside outline color",
          "type": "color"
        },
        "outline_opacity": {
          "default": 255,
          "doc": "outside outline opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "outline_pad": {
          "default": 0,
          "doc": "gap between the element and its outline",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "outline_width": {
          "default": 0,
          "doc": "outside outline width",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "overflow": {
          "choices": [
            "clip",
            "ellipsis"
          ],
          "default": "clip",
          "doc": "single-line overflow",
          "type": "enum"
        },
        "padding": {
          "default": 0,
          "doc": "auto-layout padding in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_bottom": {
          "doc": "column layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_left": {
          "doc": "row layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_right": {
          "doc": "row layout: trailing padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "padding_top": {
          "doc": "column layout: leading padding override",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "parent": {
          "default": -1,
          "doc": "parent object index (-1 = screen root)",
          "maximum": 65534,
          "minimum": -1,
          "required": true,
          "type": "int"
        },
        "parent_name": {
          "doc": "parent by name instead of index",
          "type": "string"
        },
        "position_x": {
          "default": 0.5,
          "doc": "image fit horizontal alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "position_y": {
          "default": 0.5,
          "doc": "image fit vertical alignment",
          "maximum": 1.0,
          "minimum": 0.0,
          "type": "number"
        },
        "quality": {
          "doc": "JPEG quality 1-100 (omitted = profile default)",
          "maximum": 100,
          "minimum": 1,
          "type": "int"
        },
        "radius": {
          "default": 0,
          "doc": "corner radius in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 0,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "rotation": {
          "default": 0,
          "doc": "clockwise image rotation around the bounding-box center; source alpha is supported; clipped to the box",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "image",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "row_template": {
          "doc": "recycled row template",
          "type": "identifier"
        },
        "scalable": {
          "default": false,
          "doc": "enable runtime image scaling",
          "type": "bool"
        },
        "scale": {
          "default": 1.0,
          "doc": "initial runtime image scale",
          "maximum": 16.0,
          "minimum": 0.0625,
          "type": "number"
        },
        "scroll": {
          "choices": [
            "none",
            "vertical",
            "horizontal",
            "auto"
          ],
          "default": "none",
          "doc": "shorthand to enable built-in drag-scroll on dynamic_reflow containers (implies clip_children: true)",
          "type": "enum"
        },
        "scrollable": {
          "default": false,
          "doc": "enable built-in drag-scroll helpers on dynamic_reflow containers (implies clip_children: true)",
          "type": "bool"
        },
        "selected": {
          "default": 0,
          "doc": "initially selected item index",
          "dynamic": true,
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_color": {
          "doc": "static hard-shadow color",
          "type": "color"
        },
        "shadow_offset_x": {
          "doc": "static hard-shadow x offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_offset_y": {
          "doc": "static hard-shadow y offset",
          "maximum": 32767,
          "minimum": -32768,
          "type": "int"
        },
        "shadow_opacity": {
          "default": 96,
          "doc": "static hard-shadow opacity",
          "maximum": 255,
          "minimum": 0,
          "type": "int"
        },
        "shadow_radius": {
          "doc": "static hard-shadow corner radius",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "shadow_spread": {
          "doc": "static hard-shadow spread in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "snap_to_item": {
          "default": true,
          "doc": "scrolling snaps to row boundaries",
          "type": "bool"
        },
        "store_scale": {
          "doc": "pre-scale factor applied when encoding",
          "maximum": 1.0,
          "minimum": 0.05,
          "type": "number"
        },
        "svg_element": {
          "doc": "SVG element id; imports its painted bounds as an independent image",
          "type": "string"
        },
        "svg_layout": {
          "choices": [
            "content",
            "canvas"
          ],
          "doc": "SVG part placement: cropped content or original canvas",
          "type": "enum"
        },
        "template": {
          "doc": "declare this subtree as a render template",
          "type": "identifier"
        },
        "text": {
          "doc": "static text content (UTF-8)",
          "dynamic": true,
          "type": "string"
        },
        "text_align": {
          "choices": [
            "left",
            "center",
            "right"
          ],
          "doc": "text alignment",
          "type": "enum"
        },
        "text_line_space": {
          "default": 0,
          "doc": "extra spacing between static text rows in px",
          "maximum": 4096,
          "minimum": 0,
          "type": "int"
        },
        "text_vertical_align": {
          "choices": [
            "auto",
            "top",
            "center",
            "bottom"
          ],
          "default": "auto",
          "doc": "static text block placement; auto preserves single-line center and multiline top",
          "type": "enum"
        },
        "tint": {
          "doc": "SVG silhouette color; generates a runtime color setter",
          "type": "color"
        },
        "type": {
          "doc": "widget type",
          "required": true,
          "type": "string"
        },
        "video_duration_ms": {
          "doc": "video clip duration in milliseconds; omitted imports to the end",
          "maximum": 4294967295,
          "minimum": 1,
          "type": "int"
        },
        "video_fit": {
          "choices": [
            "contain",
            "cover",
            "stretch"
          ],
          "doc": "build-time video aspect fit; contain pads with black",
          "type": "enum"
        },
        "video_loop_count": {
          "doc": "video playback count (default 1; 0 loops forever)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "video_max_decoded_bytes": {
          "doc": "host retained RGBA pixel budget (default 256 MiB; not total process RSS)",
          "maximum": 9223372036854775807,
          "minimum": 1,
          "type": "int"
        },
        "video_max_frames": {
          "doc": "maximum decoded video frames (default 4096)",
          "maximum": 65535,
          "minimum": 1,
          "type": "int"
        },
        "video_start_ms": {
          "doc": "video clip start in milliseconds",
          "maximum": 4294967295,
          "minimum": 0,
          "type": "int"
        },
        "visible_rows": {
          "default": 0,
          "doc": "visible row count (alt to item_height)",
          "maximum": 65535,
          "minimum": 0,
          "type": "int"
        },
        "w": {
          "doc": "width in px",
          "dynamic": false,
          "dynamic_expression": {
            "max": 32767,
            "min": 1,
            "scene": "unsupported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 65535,
          "minimum": 0,
          "required": true,
          "type": "int"
        },
        "x": {
          "default": 0,
          "doc": "x relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        },
        "y": {
          "default": 0,
          "doc": "y relative to parent",
          "dynamic": true,
          "dynamic_expression": {
            "max": 32767,
            "min": -32768,
            "scene": "supported",
            "template": "unsupported",
            "template_property": "field_name"
          },
          "maximum": 32767,
          "minimum": -32768,
          "required": true,
          "type": "int"
        }
      },
      "kind": "data"
    }
  }
}
