{
    "id": 1,
    "name": "Ergo",
    "slug": "ergo",
    "description": "",
    "category": "ubezpieczenia",
    "page_count": 1,
    "pdf_filename": "20260522_140749_62f2511e.pdf",
    "created_at": "2026-05-22 12:18:27",
    "updated_at": "2026-05-22 12:18:27",
    "fields": [
        {
            "id": 17,
            "template_id": 1,
            "field_key": "nr_szkody",
            "label": "Nr szkody",
            "field_type": "text",
            "x_pct": 79,
            "y_pct": 12.5,
            "width_pct": 14,
            "height_pct": 3.6,
            "page_number": 1,
            "font_size": 10,
            "font_family": "Helvetica",
            "align": "left",
            "validation": "none",
            "required": 0,
            "default_value": "",
            "placeholder": null,
            "sort_order": 0,
            "box_config": null
        },
        {
            "id": 1,
            "template_id": 1,
            "field_key": "data",
            "label": "Data",
            "field_type": "text",
            "x_pct": 75,
            "y_pct": 22.5,
            "width_pct": 19,
            "height_pct": 3.5,
            "page_number": 1,
            "font_size": 9,
            "font_family": "Helvetica",
            "align": "left",
            "validation": "date_pl",
            "required": 0,
            "default_value": "",
            "placeholder": null,
            "sort_order": 1,
            "box_config": null
        },
        {
            "id": 2,
            "template_id": 1,
            "field_key": "imie_nazwisko",
            "label": "Imię i nazwisko",
            "field_type": "text",
            "x_pct": 19,
            "y_pct": 33.3,
            "width_pct": 74,
            "height_pct": 3.5,
            "page_number": 1,
            "font_size": 10,
            "font_family": "Helvetica",
            "align": "left",
            "validation": "none",
            "required": 0,
            "default_value": "",
            "placeholder": null,
            "sort_order": 2,
            "box_config": null
        },
        {
            "id": 6,
            "template_id": 1,
            "field_key": "iban",
            "label": "Numer rachunku (IBAN)",
            "field_type": "boxed_text",
            "x_pct": 16,
            "y_pct": 47.2,
            "width_pct": 70,
            "height_pct": 3.8,
            "page_number": 1,
            "font_size": 9,
            "font_family": "Helvetica",
            "align": "center",
            "validation": "iban",
            "required": 0,
            "default_value": "",
            "placeholder": null,
            "sort_order": 3,
            "box_config": "{\"boxes\":26,\"box_width_pct\":2.5,\"gap_pct\":0.1,\"char_font_size\":9}"
        },
        {
            "id": 7,
            "template_id": 1,
            "field_key": "wlasciciel_rachunku",
            "label": "Właściciel rachunku",
            "field_type": "text",
            "x_pct": 19,
            "y_pct": 54.3,
            "width_pct": 46,
            "height_pct": 3.5,
            "page_number": 1,
            "font_size": 10,
            "font_family": "Helvetica",
            "align": "left",
            "validation": "none",
            "required": 0,
            "default_value": "",
            "placeholder": null,
            "sort_order": 4,
            "box_config": null
        },
        {
            "id": 3,
            "template_id": 1,
            "field_key": "pesel",
            "label": "PESEL",
            "field_type": "boxed_text",
            "x_pct": 66.5,
            "y_pct": 54.3,
            "width_pct": 26.5,
            "height_pct": 3.5,
            "page_number": 1,
            "font_size": 9,
            "font_family": "Helvetica",
            "align": "center",
            "validation": "pesel",
            "required": 0,
            "default_value": "",
            "placeholder": null,
            "sort_order": 5,
            "box_config": "{\"boxes\":11,\"box_width_pct\":2.2,\"gap_pct\":0.12,\"char_font_size\":9}"
        },
        {
            "id": 4,
            "template_id": 1,
            "field_key": "adres",
            "label": "Adres zamieszkania",
            "field_type": "text",
            "x_pct": 13.5,
            "y_pct": 61.5,
            "width_pct": 79.5,
            "height_pct": 3.5,
            "page_number": 1,
            "font_size": 10,
            "font_family": "Helvetica",
            "align": "left",
            "validation": "none",
            "required": 0,
            "default_value": "",
            "placeholder": null,
            "sort_order": 6,
            "box_config": null
        },
        {
            "id": 5,
            "template_id": 1,
            "field_key": "miejscowosc",
            "label": "Miejscowość",
            "field_type": "text",
            "x_pct": 43,
            "y_pct": 69.5,
            "width_pct": 17,
            "height_pct": 3.5,
            "page_number": 1,
            "font_size": 10,
            "font_family": "Helvetica",
            "align": "left",
            "validation": "none",
            "required": 0,
            "default_value": "",
            "placeholder": null,
            "sort_order": 7,
            "box_config": null
        },
        {
            "id": 8,
            "template_id": 1,
            "field_key": "data_podpisu",
            "label": "Data podpisu",
            "field_type": "date_boxes",
            "x_pct": 42.5,
            "y_pct": 75,
            "width_pct": 18.5,
            "height_pct": 3.5,
            "page_number": 1,
            "font_size": 9,
            "font_family": "Helvetica",
            "align": "left",
            "validation": "date_pl",
            "required": 1,
            "default_value": "",
            "placeholder": null,
            "sort_order": 8,
            "box_config": "{\"boxes\":10,\"box_width_pct\":1.75,\"gap_pct\":0.1,\"char_font_size\":9}"
        }
    ]
}