{
  "page_ir": {
    "page_id": "member_fines",
    "page_goal": "Display member's fines, payment history, and allow online payment with fine policy information",
    "style": {
      "tone": "informational",
      "theme": "light",
      "density": "comfortable",
      "color_intent": "neutral with warning accents for outstanding fines"
    },
    "accessibility": {
      "required_labels": [
        "outstanding_balance",
        "fines_table",
        "payment_history_table",
        "pay_now_button",
        "payment_modal"
      ],
      "skip_navigation": true,
      "focus_management": true,
      "announce_changes": []
    },
    "responsive": {
      "breakpoints": {
        "sm": 576,
        "md": 768,
        "lg": 992,
        "xl": 1200
      },
      "collapse_rules": [
        "tables scroll horizontally on small screens",
        "summary card stacks vertically on mobile"
      ],
      "hidden_on_small": [],
      "stack_on_small": []
    },
    "constraints": [
      "member role required",
      "only shows fines for current logged-in member"
    ],
    "seo_title": null,
    "seo_description": null
  },
  "data_ir": {
    "types": {},
    "state": {
      "fines": {
        "type": "array",
        "initial": [],
        "required": true,
        "constraints": {},
        "item_type": null
      },
      "payments": {
        "type": "array",
        "initial": [],
        "required": true,
        "constraints": {},
        "item_type": null
      },
      "loading": {
        "type": "boolean",
        "initial": true,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "paymentModalVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "selectedFineId": {
        "type": "string",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "statusFilter": {
        "type": "string",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      }
    },
    "derived": {
      "totalOutstandingBalance": {
        "type": "number",
        "expr": "state.fines.filter(f => f.status === 'UNPAID' || f.status === 'PARTIAL').reduce((sum, f) => sum + (f.amount - f.amount_paid), 0)",
        "deps": []
      },
      "outstandingFinesCount": {
        "type": "number",
        "expr": "state.fines.filter(f => f.status === 'UNPAID' || f.status === 'PARTIAL').length",
        "deps": []
      }
    }
  },
  "data_fetch_ir": {
    "endpoints": {
      "4bd99688a8dc496cb15767f260e3ead1": {
        "endpoint_id": "4bd99688a8dc496cb15767f260e3ead1",
        "module": "Fines",
        "endpoint": "/fines/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "member_id": "$context.currentUser.memberId",
          "limit": 100
        },
        "body": null,
        "fields": [
          "id",
          "member_id",
          "loan_id",
          "amount",
          "amount_paid",
          "reason",
          "description",
          "status",
          "assessed_date",
          "due_date",
          "created_at"
        ],
        "response_target": "fines",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "a6f5a5bea162424fb1bf32d96fd68ce4": {
        "endpoint_id": "a6f5a5bea162424fb1bf32d96fd68ce4",
        "module": "Fines",
        "endpoint": "/fines/{fine_id}/details",
        "method": "GET",
        "path_params": {
          "fine_id": "$state.selectedFineId"
        },
        "query_params": {},
        "body": null,
        "fields": [
          "id",
          "member_id",
          "loan_id",
          "amount",
          "amount_paid",
          "reason",
          "description",
          "status",
          "assessed_date",
          "due_date",
          "payments",
          "loan"
        ],
        "response_target": "payments",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "a6d1287bf5e647ff9b6da81c949a47d5": {
        "endpoint_id": "a6d1287bf5e647ff9b6da81c949a47d5",
        "module": "Fines",
        "endpoint": "/fines/{fine_id}",
        "method": "PUT",
        "path_params": {
          "fine_id": "$state.selectedFineId"
        },
        "query_params": {},
        "body": {
          "amount_paid": "$form.amount",
          "status": "$form.computedStatus"
        },
        "fields": [
          "id",
          "amount",
          "amount_paid",
          "status"
        ],
        "response_target": "fines",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      }
    }
  },
  "data_model_ir": {
    "entities": {
      "fine": {
        "name": "Fine",
        "backend_module": "Fines",
        "fields": [
          "id",
          "member_id",
          "loan_id",
          "amount",
          "amount_paid",
          "reason",
          "description",
          "status",
          "assessed_date",
          "due_date",
          "waived_by",
          "waived_date",
          "waived_reason",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "reason",
          "amount",
          "amount_paid",
          "status",
          "assessed_date",
          "description"
        ],
        "search_fields": [],
        "filters": [
          "status"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "fineDetail": {
        "name": "FineDetail",
        "backend_module": "Fines",
        "fields": [
          "id",
          "member_id",
          "loan_id",
          "amount",
          "amount_paid",
          "reason",
          "description",
          "status",
          "assessed_date",
          "due_date",
          "waived_by",
          "waived_date",
          "waived_reason",
          "created_at",
          "updated_at",
          "member",
          "loan",
          "waived_by_user",
          "payments"
        ],
        "computed": [],
        "display_fields": [
          "reason",
          "amount",
          "amount_paid",
          "status",
          "assessed_date"
        ],
        "search_fields": [],
        "filters": [],
        "default_sort": null,
        "default_sort_dir": "asc"
      }
    },
    "relationships": []
  },
  "behaviour_ir": {
    "events": {
      "openPaymentModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.paymentModalVisible",
            "expr": "true"
          },
          {
            "target": "state.selectedFineId",
            "expr": "event.fineId"
          }
        ],
        "description": ""
      },
      "closePaymentModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.paymentModalVisible",
            "expr": "false"
          },
          {
            "target": "state.selectedFineId",
            "expr": "null"
          }
        ],
        "description": ""
      },
      "filterByStatus": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.statusFilter",
            "expr": "event.value"
          }
        ],
        "description": ""
      }
    },
    "actions": {
      "e4ae84dd792e4453ab78a235f0856997": {
        "action_id": "e4ae84dd792e4453ab78a235f0856997",
        "trigger": "form_submit",
        "target_component_id": "payment_form",
        "operation": "update",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": true,
        "confirmation_message": null,
        "validation_rules": [
          {
            "rule_id": "val_0",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"amount\", \"message\": \"Payment amount is required\", \"rule_id\": \"val_amount\", \"type\": \"required\"}",
            "message": "{\"field\": \"amount\", \"message\": \"Payment amount is required\", \"rule_id\": \"val_amount\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_1",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"amount\", \"message\": \"Amount must be greater than 0\", \"rule_id\": \"val_amount_min\", \"type\": \"min\", \"value\": 0.01}",
            "message": "{\"field\": \"amount\", \"message\": \"Amount must be greater than 0\", \"rule_id\": \"val_amount_min\", \"type\": \"min\", \"value\": 0.01}"
          }
        ],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": "a6d1287bf5e647ff9b6da81c949a47d5",
        "api_body": "{ amount_paid: form.amount, status: form.amount >= selectedFine.amount - selectedFine.amount_paid ? 'PAID' : 'PARTIAL' }",
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Payment submitted successfully!",
              "type": "success"
            }
          },
          {
            "type": "modal_close",
            "config": {
              "target": "payment_modal"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "fetchMemberFines"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "6398d7164b9a4b65ae9771ab5c004d3c": {
        "action_id": "6398d7164b9a4b65ae9771ab5c004d3c",
        "trigger": "button_click",
        "target_component_id": "back_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": "/member/dashboard"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      }
    },
    "feedback": {
      "e4ae84dd792e4453ab78a235f0856997": {
        "action_id": "e4ae84dd792e4453ab78a235f0856997",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Payment processed successfully",
        "error_message": "Payment failed. Please try again.",
        "ui_updates": []
      },
      "6398d7164b9a4b65ae9771ab5c004d3c": {
        "action_id": "6398d7164b9a4b65ae9771ab5c004d3c",
        "loading_indicator": null,
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      }
    }
  },
  "component_ir": {
    "library": "antd",
    "theme": {
      "primaryColor": "#1677ff",
      "secondaryColor": "#000000",
      "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%",
          "padding": "24px",
          "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": {
          "display": "flex",
          "justifyContent": "space-between",
          "alignItems": "center",
          "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 Fines",
        "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
      },
      "back_button": {
        "type": "Button",
        "label": "Back to Dashboard",
        "description": null,
        "bind": null,
        "onClick": "navigateToDashboard",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default",
          "icon": "ArrowLeftOutlined"
        },
        "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
      },
      "summary_card": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "bordered": true
        },
        "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
      },
      "summary_content": {
        "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",
          "flexWrap": "wrap",
          "gap": "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
      },
      "balance_statistic": {
        "type": "Statistic",
        "label": "Total Outstanding Balance",
        "description": null,
        "bind": "derived.totalOutstandingBalance",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "prefix": "$",
          "precision": 2,
          "valueStyle": {
            "color": "#cf1322"
          }
        },
        "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
      },
      "outstanding_count_statistic": {
        "type": "Statistic",
        "label": "Outstanding Fines",
        "description": null,
        "bind": "derived.outstandingFinesCount",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "valueStyle": {
            "color": "#faad14"
          }
        },
        "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
      },
      "fines_section": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Outstanding Fines",
          "bordered": true
        },
        "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
      },
      "fines_filter": {
        "type": "Select",
        "label": "Filter by Status",
        "description": null,
        "bind": "state.statusFilter",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "All Statuses",
          "allowClear": true,
          "options": [
            {
              "label": "Unpaid",
              "value": "UNPAID"
            },
            {
              "label": "Partial",
              "value": "PARTIAL"
            },
            {
              "label": "Paid",
              "value": "PAID"
            },
            {
              "label": "Waived",
              "value": "WAIVED"
            }
          ],
          "style": {
            "width": 200
          }
        },
        "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
      },
      "fines_table": {
        "type": "Table",
        "label": "Outstanding Fines",
        "description": null,
        "bind": "state.fines",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "columns": [
            {
              "title": "Type",
              "dataIndex": "reason",
              "key": "reason"
            },
            {
              "title": "Description",
              "dataIndex": "description",
              "key": "description"
            },
            {
              "title": "Amount",
              "dataIndex": "amount",
              "key": "amount",
              "render": "currency"
            },
            {
              "title": "Paid",
              "dataIndex": "amount_paid",
              "key": "amount_paid",
              "render": "currency"
            },
            {
              "title": "Date Assessed",
              "dataIndex": "assessed_date",
              "key": "assessed_date",
              "render": "date"
            },
            {
              "title": "Status",
              "dataIndex": "status",
              "key": "status",
              "render": "tag"
            },
            {
              "title": "Actions",
              "key": "actions",
              "render": "pay_button"
            }
          ],
          "rowKey": "id",
          "pagination": {
            "pageSize": 10
          },
          "scroll": {
            "x": 800
          }
        },
        "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
      },
      "payment_history_section": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Payment History",
          "bordered": true
        },
        "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
      },
      "payment_history_table": {
        "type": "Table",
        "label": "Payment History",
        "description": null,
        "bind": "state.payments",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "columns": [
            {
              "title": "Payment Date",
              "dataIndex": "payment_date",
              "key": "payment_date",
              "render": "date"
            },
            {
              "title": "Amount",
              "dataIndex": "amount",
              "key": "amount",
              "render": "currency"
            },
            {
              "title": "Method",
              "dataIndex": "payment_method",
              "key": "payment_method"
            },
            {
              "title": "Fine Applied To",
              "dataIndex": "fine_id",
              "key": "fine_id"
            },
            {
              "title": "Receipt #",
              "dataIndex": "receipt_number",
              "key": "receipt_number"
            }
          ],
          "rowKey": "id",
          "pagination": {
            "pageSize": 10
          },
          "scroll": {
            "x": 700
          }
        },
        "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
      },
      "policy_info_card": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Fine Policies",
          "bordered": true
        },
        "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
      },
      "policy_info_content": {
        "type": "div",
        "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
      },
      "policy_alert": {
        "type": "Alert",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "info",
          "showIcon": true,
          "message": "Fine Policy Information",
          "description": "Daily fine rate: $0.50 per day per overdue book. Maximum fine cap: $25.00 per book. Account suspension threshold: $50.00 in outstanding fines. Fines begin accruing the day after the due date. Returning a book does not waive accrued overdue fines."
        },
        "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
      },
      "payment_modal": {
        "type": "Modal",
        "label": "Pay Fine",
        "description": null,
        "bind": "state.paymentModalVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Pay Fine",
          "okText": "Submit Payment",
          "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
      },
      "payment_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
      },
      "payment_amount_field": {
        "type": "Form.Item",
        "label": "Payment Amount ($)",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "amount",
          "rules": [
            {
              "required": true,
              "message": "Please enter payment amount"
            }
          ]
        },
        "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
      },
      "payment_amount_input": {
        "type": "InputNumber",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "min": 0.01,
          "step": 0.01,
          "precision": 2,
          "placeholder": "Enter amount",
          "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
      },
      "payment_method_field": {
        "type": "Form.Item",
        "label": "Payment Method",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "payment_method",
          "rules": [
            {
              "required": true,
              "message": "Please select a payment method"
            }
          ]
        },
        "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
      },
      "payment_method_select": {
        "type": "Select",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Select payment method",
          "options": [
            {
              "label": "Credit Card",
              "value": "CREDIT_CARD"
            },
            {
              "label": "Debit Card",
              "value": "DEBIT_CARD"
            },
            {
              "label": "Online",
              "value": "ONLINE"
            }
          ]
        },
        "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",
        "summary_card",
        "fines_section",
        "payment_history_section",
        "policy_info_card",
        "payment_modal"
      ],
      "page_header": [
        "page_title",
        "back_button"
      ],
      "summary_card": [
        "summary_content"
      ],
      "summary_content": [
        "balance_statistic",
        "outstanding_count_statistic"
      ],
      "fines_section": [
        "fines_filter",
        "fines_table"
      ],
      "payment_history_section": [
        "payment_history_table"
      ],
      "policy_info_card": [
        "policy_info_content"
      ],
      "policy_info_content": [
        "policy_alert"
      ],
      "payment_modal": [
        "payment_form"
      ],
      "payment_form": [
        "payment_amount_field",
        "payment_method_field"
      ],
      "payment_amount_field": [
        "payment_amount_input"
      ],
      "payment_method_field": [
        "payment_method_select"
      ]
    },
    "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": "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
      },
      "summary_card": {
        "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
      },
      "summary_content": {
        "type": "horizontal",
        "gap": 48,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "fines_section": {
        "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
      },
      "payment_history_section": {
        "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
      },
      "policy_info_card": {
        "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
      },
      "policy_info_content": {
        "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
      },
      "payment_modal": {
        "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
      },
      "payment_form": {
        "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
      },
      "payment_amount_field": {
        "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
      },
      "payment_method_field": {
        "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": "modal_zone",
        "component": "payment_modal",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "overlay",
        "notes": "Payment 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
}
