{
  "page_ir": {
    "page_id": "goals",
    "page_goal": "Goals management page displaying user goals in card format with progress tracking, creation, editing, and abandonment capabilities",
    "style": {
      "tone": "motivational",
      "theme": "light",
      "density": "comfortable",
      "color_intent": "primary with warning highlights for overdue goals"
    },
    "accessibility": {
      "required_labels": [
        "goal_type_select",
        "target_value_input",
        "target_date_picker",
        "progress_bar"
      ],
      "skip_navigation": true,
      "focus_management": true,
      "announce_changes": []
    },
    "responsive": {
      "breakpoints": {
        "sm": 576,
        "md": 768,
        "lg": 992,
        "xl": 1200
      },
      "collapse_rules": [
        "goal_cards_grid_to_single_column_on_small"
      ],
      "hidden_on_small": [],
      "stack_on_small": []
    },
    "constraints": [
      "max_3_active_goals",
      "target_bmi_between_18.5_and_30",
      "target_date_min_7_days_future",
      "warn_if_weight_loss_exceeds_1kg_per_week"
    ],
    "seo_title": null,
    "seo_description": null
  },
  "data_ir": {
    "types": {},
    "state": {
      "goals": {
        "type": "array",
        "initial": [],
        "required": true,
        "constraints": {},
        "item_type": null
      },
      "loading": {
        "type": "boolean",
        "initial": true,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "createModalVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "editModalVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "selectedGoalId": {
        "type": "string",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "submitting": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      }
    },
    "derived": {
      "activeGoalsCount": {
        "type": "number",
        "expr": "state.goals.filter(g => g.status === 'ACTIVE').length",
        "deps": []
      },
      "canCreateGoal": {
        "type": "boolean",
        "expr": "state.goals.filter(g => g.status === 'ACTIVE').length < 3",
        "deps": []
      },
      "selectedGoal": {
        "type": "object",
        "expr": "state.goals.find(g => g.goal_id === state.selectedGoalId) || null",
        "deps": []
      }
    }
  },
  "data_fetch_ir": {
    "endpoints": {
      "a9c59438d4224af69fab707f76bb51e8": {
        "endpoint_id": "a9c59438d4224af69fab707f76bb51e8",
        "module": "Goals",
        "endpoint": "/goals/users/{user_id}/goals",
        "method": "GET",
        "path_params": {
          "user_id": "$context.currentUser.userId"
        },
        "query_params": {
          "limit": 50,
          "offset": 0
        },
        "body": null,
        "fields": [
          "id",
          "goal_id",
          "user_id",
          "goal_type",
          "target_value",
          "current_value",
          "start_date",
          "target_date",
          "status",
          "created_at",
          "updated_at"
        ],
        "response_target": "goals",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "dd280f9c9e41476aa16860eb03e33283": {
        "endpoint_id": "dd280f9c9e41476aa16860eb03e33283",
        "module": "Goals",
        "endpoint": "/goals/",
        "method": "POST",
        "path_params": {},
        "query_params": {},
        "body": null,
        "fields": [
          "id",
          "goal_id",
          "user_id",
          "goal_type",
          "target_value",
          "current_value",
          "start_date",
          "target_date",
          "status",
          "created_at",
          "updated_at"
        ],
        "response_target": "goals",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "72a750d10d134c72aa738b2293e7223f": {
        "endpoint_id": "72a750d10d134c72aa738b2293e7223f",
        "module": "Goals",
        "endpoint": "/goals/{goal_id}",
        "method": "PUT",
        "path_params": {
          "goal_id": "$state.selectedGoalId"
        },
        "query_params": {},
        "body": null,
        "fields": [
          "id",
          "goal_id",
          "user_id",
          "goal_type",
          "target_value",
          "current_value",
          "start_date",
          "target_date",
          "status",
          "created_at",
          "updated_at"
        ],
        "response_target": "goals",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "0e6c73f0ab4a4239b476eead76e9d707": {
        "endpoint_id": "0e6c73f0ab4a4239b476eead76e9d707",
        "module": "Goals",
        "endpoint": "/goals/{goal_id}/abandon",
        "method": "POST",
        "path_params": {
          "goal_id": "$state.selectedGoalId"
        },
        "query_params": {},
        "body": null,
        "fields": [
          "id",
          "goal_id",
          "user_id",
          "goal_type",
          "target_value",
          "current_value",
          "start_date",
          "target_date",
          "status",
          "created_at",
          "updated_at"
        ],
        "response_target": "goals",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      }
    }
  },
  "data_model_ir": {
    "entities": {
      "goal": {
        "name": "Goal",
        "backend_module": "Goals",
        "fields": [
          "id",
          "goal_id",
          "user_id",
          "goal_type",
          "target_value",
          "current_value",
          "start_date",
          "target_date",
          "status",
          "created_at",
          "updated_at"
        ],
        "computed": [
          "progress_percentage",
          "days_remaining",
          "required_weekly_change",
          "is_overdue"
        ],
        "display_fields": [
          "goal_type",
          "target_value",
          "current_value",
          "status",
          "start_date",
          "target_date"
        ],
        "search_fields": [],
        "filters": [
          "status"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      }
    },
    "relationships": []
  },
  "behaviour_ir": {
    "events": {
      "openCreateModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.createModalVisible",
            "expr": "true"
          }
        ],
        "description": ""
      },
      "closeCreateModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.createModalVisible",
            "expr": "false"
          }
        ],
        "description": ""
      },
      "openEditModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.editModalVisible",
            "expr": "true"
          },
          {
            "target": "state.selectedGoalId",
            "expr": "payload.goalId"
          }
        ],
        "description": ""
      },
      "closeEditModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.editModalVisible",
            "expr": "false"
          },
          {
            "target": "state.selectedGoalId",
            "expr": "null"
          }
        ],
        "description": ""
      }
    },
    "actions": {
      "400d1e43bf764e3d81cca4d95dd234a6": {
        "action_id": "400d1e43bf764e3d81cca4d95dd234a6",
        "trigger": "form_submit",
        "target_component_id": "create_goal_form",
        "operation": "create",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [
          {
            "rule_id": "val_0",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"goal_type\", \"message\": \"Please select a goal type\", \"rule_id\": \"val_goal_type\", \"type\": \"required\"}",
            "message": "{\"field\": \"goal_type\", \"message\": \"Please select a goal type\", \"rule_id\": \"val_goal_type\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_1",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"target_value\", \"message\": \"Please enter a target value\", \"rule_id\": \"val_target_value\", \"type\": \"required\"}",
            "message": "{\"field\": \"target_value\", \"message\": \"Please enter a target value\", \"rule_id\": \"val_target_value\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_2",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"target_value\", \"message\": \"Target value must be at least 10\", \"rule_id\": \"val_target_value_min\", \"type\": \"min\", \"value\": 10}",
            "message": "{\"field\": \"target_value\", \"message\": \"Target value must be at least 10\", \"rule_id\": \"val_target_value_min\", \"type\": \"min\", \"value\": 10}"
          },
          {
            "rule_id": "val_3",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"target_date\", \"message\": \"Please select a target date\", \"rule_id\": \"val_target_date\", \"type\": \"required\"}",
            "message": "{\"field\": \"target_date\", \"message\": \"Please select a target date\", \"rule_id\": \"val_target_date\", \"type\": \"required\"}"
          }
        ],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.submitting",
            "expr": "true"
          }
        ],
        "api_endpoint": "dd280f9c9e41476aa16860eb03e33283",
        "api_body": "{ goal_type: formValues.goal_type, target_value: formValues.target_value, current_value: appContext.userProfile?.currentWeightKg || null, start_date: new Date().toISOString().split('T')[0], target_date: formValues.target_date, status: 'ACTIVE', user_id: appContext.currentUser.userId }",
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Goal created successfully!",
              "type": "success"
            }
          },
          {
            "type": "modal_close",
            "config": {
              "target": "createModalVisible"
            }
          },
          {
            "type": "refresh",
            "config": {
              "endpoint_id": "fetchUserGoals"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "ba3894f726ec4d558475e7fb3959900a": {
        "action_id": "ba3894f726ec4d558475e7fb3959900a",
        "trigger": "form_submit",
        "target_component_id": "edit_goal_form",
        "operation": "update",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [
          {
            "rule_id": "val_0",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"target_value\", \"message\": \"Please enter a target value\", \"rule_id\": \"val_edit_target_value\", \"type\": \"required\"}",
            "message": "{\"field\": \"target_value\", \"message\": \"Please enter a target value\", \"rule_id\": \"val_edit_target_value\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_1",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"target_date\", \"message\": \"Please select a target date\", \"rule_id\": \"val_edit_target_date\", \"type\": \"required\"}",
            "message": "{\"field\": \"target_date\", \"message\": \"Please select a target date\", \"rule_id\": \"val_edit_target_date\", \"type\": \"required\"}"
          }
        ],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.submitting",
            "expr": "true"
          }
        ],
        "api_endpoint": "72a750d10d134c72aa738b2293e7223f",
        "api_body": "{ target_value: formValues.target_value, target_date: formValues.target_date }",
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Goal updated successfully!",
              "type": "success"
            }
          },
          {
            "type": "modal_close",
            "config": {
              "target": "editModalVisible"
            }
          },
          {
            "type": "refresh",
            "config": {
              "endpoint_id": "fetchUserGoals"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "0e6c73f0ab4a4239b476eead76e9d707": {
        "action_id": "0e6c73f0ab4a4239b476eead76e9d707",
        "trigger": "button_click",
        "target_component_id": "abandon_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": true,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.selectedGoalId",
            "expr": "payload.goalId"
          }
        ],
        "api_endpoint": "0e6c73f0ab4a4239b476eead76e9d707",
        "api_body": null,
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Goal abandoned.",
              "type": "info"
            }
          },
          {
            "type": "refresh",
            "config": {
              "endpoint_id": "fetchUserGoals"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "e3e09bf0fbdc4530802e50927a8fa80b": {
        "action_id": "e3e09bf0fbdc4530802e50927a8fa80b",
        "trigger": "button_click",
        "target_component_id": "nav_calculator_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "3105c99795f848978da1b747dcb0de2b": {
        "action_id": "3105c99795f848978da1b747dcb0de2b",
        "trigger": "button_click",
        "target_component_id": "nav_dashboard_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/dashboard"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "209fd3d0e0674f6b9e73e7b5f8a5235d": {
        "action_id": "209fd3d0e0674f6b9e73e7b5f8a5235d",
        "trigger": "button_click",
        "target_component_id": "nav_history_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/history"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "fd7c9f9e43dd4a56b517010873a572e3": {
        "action_id": "fd7c9f9e43dd4a56b517010873a572e3",
        "trigger": "button_click",
        "target_component_id": "nav_profile_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/profile"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      }
    },
    "feedback": {
      "400d1e43bf764e3d81cca4d95dd234a6": {
        "action_id": "400d1e43bf764e3d81cca4d95dd234a6",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Goal created successfully!",
        "error_message": "Failed to create goal. Please try again.",
        "ui_updates": []
      },
      "ba3894f726ec4d558475e7fb3959900a": {
        "action_id": "ba3894f726ec4d558475e7fb3959900a",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Goal updated successfully!",
        "error_message": "Failed to update goal. Please try again.",
        "ui_updates": []
      },
      "0e6c73f0ab4a4239b476eead76e9d707": {
        "action_id": "0e6c73f0ab4a4239b476eead76e9d707",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Goal has been abandoned.",
        "error_message": "Failed to abandon goal. Please try again.",
        "ui_updates": []
      },
      "e3e09bf0fbdc4530802e50927a8fa80b": {
        "action_id": "e3e09bf0fbdc4530802e50927a8fa80b",
        "loading_indicator": null,
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "3105c99795f848978da1b747dcb0de2b": {
        "action_id": "3105c99795f848978da1b747dcb0de2b",
        "loading_indicator": null,
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "209fd3d0e0674f6b9e73e7b5f8a5235d": {
        "action_id": "209fd3d0e0674f6b9e73e7b5f8a5235d",
        "loading_indicator": null,
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "fd7c9f9e43dd4a56b517010873a572e3": {
        "action_id": "fd7c9f9e43dd4a56b517010873a572e3",
        "loading_indicator": null,
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      }
    }
  },
  "component_ir": {
    "library": "antd",
    "theme": {
      "primaryColor": "#1677ff",
      "secondaryColor": "#52c41a",
      "successColor": null,
      "warningColor": null,
      "errorColor": null,
      "fontFamily": "sans-serif",
      "fontSize": null,
      "borderRadius": 6
    },
    "components": {
      "main_container": {
        "type": "Layout",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "minHeight": "100vh",
          "width": "100%",
          "background": "#f5f5f5"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "page_header": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "padding": "24px 24px 0 24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "header_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "justify": "space-between",
          "align": "middle"
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "page_title": {
        "type": "Typography.Title",
        "label": "My Goals",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "level": 2
        },
        "dynamic_props": {},
        "styles": {
          "margin": 0
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "header_actions": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "set_new_goal_button": {
        "type": "Button",
        "label": "Set New Goal",
        "description": null,
        "bind": null,
        "onClick": "openCreateModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "icon": "PlusOutlined",
          "disabled": "!derived.canCreateGoal"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "active_goals_info": {
        "type": "Typography.Text",
        "label": null,
        "description": null,
        "bind": "derived.activeGoalsCount",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "secondary"
        },
        "dynamic_props": {},
        "styles": {
          "display": "block",
          "marginBottom": "8px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_buttons": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "size": "middle"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_calculator_button": {
        "type": "Button",
        "label": "Calculator",
        "description": null,
        "bind": null,
        "onClick": "navigateToCalculator",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_dashboard_button": {
        "type": "Button",
        "label": "Dashboard",
        "description": null,
        "bind": null,
        "onClick": "navigateToDashboard",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_history_button": {
        "type": "Button",
        "label": "History",
        "description": null,
        "bind": null,
        "onClick": "navigateToHistory",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "nav_profile_button": {
        "type": "Button",
        "label": "Profile",
        "description": null,
        "bind": null,
        "onClick": "navigateToProfile",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goals_content": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "padding": "0 24px 24px 24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goals_loading": {
        "type": "Spin",
        "label": null,
        "description": null,
        "bind": "state.loading",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "size": "large",
          "tip": "Loading goals..."
        },
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "center",
          "padding": "48px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goals_empty": {
        "type": "Empty",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "description": "No goals yet. Set your first goal to start tracking your progress!"
        },
        "dynamic_props": {},
        "styles": {
          "padding": "48px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goals_grid": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": "state.goals",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": [
            16,
            16
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_card_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "sm": 24,
          "md": 12,
          "lg": 8,
          "xl": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_card": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "hoverable": true
        },
        "dynamic_props": {},
        "styles": {
          "height": "100%",
          "borderLeft": "4px solid"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_card_header": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "space-between",
          "alignItems": "center",
          "marginBottom": "12px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_type_tag": {
        "type": "Tag",
        "label": null,
        "description": null,
        "bind": "goal.goal_type",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "color": "blue"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_status_badge": {
        "type": "Tag",
        "label": null,
        "description": null,
        "bind": "goal.status",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_target_value": {
        "type": "Statistic",
        "label": "Target",
        "description": null,
        "bind": "goal.target_value",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "precision": 1
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "8px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_current_value": {
        "type": "Statistic",
        "label": "Current",
        "description": null,
        "bind": "goal.current_value",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "precision": 1
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "12px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_progress_bar": {
        "type": "Progress",
        "label": "Progress",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "size": "small",
          "status": "active"
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "12px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_days_remaining": {
        "type": "Typography.Text",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "display": "block",
          "marginBottom": "4px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_weekly_change": {
        "type": "Typography.Text",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "secondary"
        },
        "dynamic_props": {},
        "styles": {
          "display": "block",
          "marginBottom": "12px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_overdue_alert": {
        "type": "Alert",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "warning",
          "message": "This goal is overdue",
          "showIcon": true,
          "banner": true
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "12px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_achieved_alert": {
        "type": "Alert",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "success",
          "message": "Congratulations! Goal achieved! 🎉",
          "description": "Consider setting a new goal to continue your progress.",
          "showIcon": true
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "12px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "goal_card_actions": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "marginTop": "auto"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_goal_button": {
        "type": "Button",
        "label": "Edit",
        "description": null,
        "bind": null,
        "onClick": "openEditModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "size": "small",
          "icon": "EditOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "abandon_button": {
        "type": "Button",
        "label": "Abandon",
        "description": null,
        "bind": null,
        "onClick": "abandonGoal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "danger": true,
          "size": "small",
          "icon": "StopOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_goal_modal": {
        "type": "Modal",
        "label": "Set New Goal",
        "description": null,
        "bind": "state.createModalVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "okText": "Create Goal",
          "cancelText": "Cancel",
          "destroyOnClose": true
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_goal_form": {
        "type": "Form",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "layout": "vertical"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_goal_type_field": {
        "type": "Form.Item",
        "label": "Goal Type",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "goal_type",
          "rules": [
            {
              "required": true,
              "message": "Please select a goal type"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_goal_type_select": {
        "type": "Select",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Select goal type",
          "options": [
            {
              "value": "BMI",
              "label": "BMI Goal"
            },
            {
              "value": "WEIGHT",
              "label": "Weight Goal"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_target_value_field": {
        "type": "Form.Item",
        "label": "Target Value",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "target_value",
          "rules": [
            {
              "required": true,
              "message": "Please enter a target value"
            }
          ],
          "tooltip": "For BMI: 18.5-30.0, For Weight: in kg"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_target_value_input": {
        "type": "InputNumber",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter target value",
          "min": 10,
          "max": 500,
          "step": 0.1,
          "style": {
            "width": "100%"
          }
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_target_date_field": {
        "type": "Form.Item",
        "label": "Target Date",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "target_date",
          "rules": [
            {
              "required": true,
              "message": "Please select a target date"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_target_date_picker": {
        "type": "DatePicker",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "style": {
            "width": "100%"
          },
          "placeholder": "Select target date"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_weight_warning": {
        "type": "Alert",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "warning",
          "message": "Warning: This goal may require losing more than 1kg per week, which is not recommended.",
          "showIcon": true
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "16px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "create_max_goals_warning": {
        "type": "Alert",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "info",
          "message": "You already have 3 active goals. Please complete or abandon an existing goal before creating a new one.",
          "showIcon": true
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "16px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_goal_modal": {
        "type": "Modal",
        "label": "Edit Goal",
        "description": null,
        "bind": "state.editModalVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "okText": "Update Goal",
          "cancelText": "Cancel",
          "destroyOnClose": true
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_goal_form": {
        "type": "Form",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "layout": "vertical"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_target_value_field": {
        "type": "Form.Item",
        "label": "Target Value",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "target_value",
          "rules": [
            {
              "required": true,
              "message": "Please enter a target value"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_target_value_input": {
        "type": "InputNumber",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter target value",
          "min": 10,
          "max": 500,
          "step": 0.1,
          "style": {
            "width": "100%"
          }
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_target_date_field": {
        "type": "Form.Item",
        "label": "Target Date",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "target_date",
          "rules": [
            {
              "required": true,
              "message": "Please select a target date"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_target_date_picker": {
        "type": "DatePicker",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "style": {
            "width": "100%"
          },
          "placeholder": "Select target date"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      }
    }
  },
  "layout_ir": {
    "root": "main_container",
    "children": {
      "main_container": [
        "page_header",
        "goals_content",
        "create_goal_modal",
        "edit_goal_modal"
      ],
      "page_header": [
        "header_row",
        "nav_buttons"
      ],
      "header_row": [
        "page_title",
        "header_actions"
      ],
      "header_actions": [
        "active_goals_info",
        "set_new_goal_button"
      ],
      "nav_buttons": [
        "nav_calculator_button",
        "nav_dashboard_button",
        "nav_history_button",
        "nav_profile_button"
      ],
      "goals_content": [
        "goals_loading",
        "goals_empty",
        "goals_grid"
      ],
      "goals_grid": [
        "goal_card_col"
      ],
      "goal_card_col": [
        "goal_card"
      ],
      "goal_card": [
        "goal_card_header",
        "goal_target_value",
        "goal_current_value",
        "goal_progress_bar",
        "goal_days_remaining",
        "goal_weekly_change",
        "goal_overdue_alert",
        "goal_achieved_alert",
        "goal_card_actions"
      ],
      "goal_card_header": [
        "goal_type_tag",
        "goal_status_badge"
      ],
      "goal_card_actions": [
        "edit_goal_button",
        "abandon_button"
      ],
      "create_goal_modal": [
        "create_goal_form"
      ],
      "create_goal_form": [
        "create_max_goals_warning",
        "create_goal_type_field",
        "create_target_value_field",
        "create_target_date_field",
        "create_weight_warning"
      ],
      "create_goal_type_field": [
        "create_goal_type_select"
      ],
      "create_target_value_field": [
        "create_target_value_input"
      ],
      "create_target_date_field": [
        "create_target_date_picker"
      ],
      "edit_goal_modal": [
        "edit_goal_form"
      ],
      "edit_goal_form": [
        "edit_target_value_field",
        "edit_target_date_field"
      ],
      "edit_target_value_field": [
        "edit_target_value_input"
      ],
      "edit_target_date_field": [
        "edit_target_date_picker"
      ]
    },
    "layout": {
      "main_container": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "page_header": {
        "type": "vertical",
        "gap": 12,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "header_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "header_actions": {
        "type": "vertical",
        "gap": 4,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "nav_buttons": {
        "type": "horizontal",
        "gap": 8,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "goals_content": {
        "type": "vertical",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "goals_grid": {
        "type": "grid",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "goal_card": {
        "type": "vertical",
        "gap": 8,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "goal_card_header": {
        "type": "horizontal",
        "gap": 8,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "goal_card_actions": {
        "type": "horizontal",
        "gap": 8,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "create_goal_form": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_goal_form": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      }
    },
    "layout_zones": [
      {
        "zone_id": "main_zone",
        "component": "main_container",
        "anchor": "top-left",
        "size_hint": "full-width",
        "z_layer": "base",
        "notes": "Main page container"
      },
      {
        "zone_id": "create_modal_zone",
        "component": "create_goal_modal",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "overlay",
        "notes": "Create goal modal overlay"
      },
      {
        "zone_id": "edit_modal_zone",
        "component": "edit_goal_modal",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "overlay",
        "notes": "Edit goal modal overlay"
      }
    ],
    "responsive_overrides": []
  },
  "navigation_ir": {
    "tabs": [],
    "modals": {},
    "drawers": {},
    "routes": [],
    "breadcrumb": null,
    "default_tab": null
  },
  "realtime_ir": {
    "timers": {},
    "polling": {}
  },
  "metadata": {
    "ir_version": "3.5",
    "generated_at": "",
    "source_prompt": null,
    "schema_session_id": null,
    "warnings": []
  },
  "page_data_contract": null,
  "schema_ir": null
}
