[
  {
    "label": "Entry Date", 
    "type_id": 3, 
    "required": true, 
    "field_name": "entry_date", 
    "data_column": "entry_date", 
    "order_index": 1,
    "default_value": "today"
  },
  {
    "label": "Reference", 
    "type_id": 1, 
    "required": false, 
    "field_name": "reference", 
    "data_column": "reference", 
    "order_index": 2,
    "placeholder": "Optional reference number"
  },
  {
    "label": "Description", 
    "type_id": 7, 
    "required": true, 
    "field_name": "description", 
    "data_column": "description", 
    "order_index": 3,
    "placeholder": "Journal entry description"
  },
  {
    "label": "Source Module", 
    "type_id": 1, 
    "required": false, 
    "field_name": "source_module", 
    "data_column": "source_module", 
    "order_index": 4,
    "default_value": "finance"
  },
  {
    "label": "Journal Lines", 
    "type_id": 20, 
    "required": true, 
    "field_name": "journal_lines", 
    "data_column": "journal_lines", 
    "order_index": 5,
    "options": {
      "component": "JournalLinesEditor",
      "min_lines": 2,
      "auto_balance": true,
      "accounts_source": "/api/finance/accounts",
      "validation": {
        "debit_credit_balance": true,
        "min_amount": 0.01
      }
    }
  }
]