{
  "id": "avery-labels-excel-template",
  "name": "Avery Labels",
  "description": "Avery Labels layout with mapped Label Text, Line 2, Line 3, Reference fields, XLSX sample data, and print-ready sizing.",
  "category": "Office & Small Business",
  "thumbnail": "/templates/thumbnails/avery-labels-excel-template.svg",
  "settings": {
    "width": 210,
    "height": 297,
    "unit": "mm",
    "dpi": 203,
    "name": "Avery Labels",
    "type": "avery_labels"
  },
  "elements": [
    {
      "id": "border",
      "type": "RECTANGLE",
      "x": 1,
      "y": 1,
      "width": 208,
      "height": 295,
      "fill": "#ffffff",
      "stroke": "#111827",
      "strokeWidth": 0.4,
      "borderRadius": 1
    },
    {
      "id": "title",
      "type": "TEXT",
      "x": 3,
      "y": 3,
      "width": 204,
      "height": 8,
      "content": "Avery Labels",
      "fontSize": 9,
      "fontWeight": "bold",
      "textAlign": "center",
      "textFitMode": "shrink",
      "color": "#111827"
    },
    {
      "id": "main",
      "type": "TEXT",
      "x": 4,
      "y": 13,
      "width": 202,
      "height": 65.34,
      "content": "{{Label Text}}",
      "fontSize": 12,
      "fontWeight": "bold",
      "textAlign": "center",
      "textFitMode": "shrink",
      "color": "#111827"
    },
    {
      "id": "secondary",
      "type": "TEXT",
      "x": 4,
      "y": 25,
      "width": 202,
      "height": 47.52,
      "content": "{{Line 2}}",
      "fontSize": 7,
      "textAlign": "center",
      "textFitMode": "shrink",
      "color": "#111827"
    },
    {
      "id": "detail",
      "type": "TEXT",
      "x": 4,
      "y": 285,
      "width": 202,
      "height": 6,
      "content": "{{Line 3}}",
      "fontSize": 5,
      "textAlign": "center",
      "textFitMode": "shrink",
      "color": "#111827"
    },
    {
      "id": "mapped-details",
      "type": "TEXT",
      "x": 3,
      "y": 291,
      "width": 204,
      "height": 4,
      "content": "Reference: {{Reference}} | Sheet Position: {{Sheet Position}}",
      "fontSize": 4,
      "textFitMode": "shrink",
      "textAlign": "center",
      "color": "#374151"
    }
  ],
  "columns": [
    {
      "key": "label_text",
      "label": "Label Text",
      "required": true
    },
    {
      "key": "line_2",
      "label": "Line 2",
      "required": true
    },
    {
      "key": "line_3",
      "label": "Line 3",
      "required": true
    },
    {
      "key": "reference",
      "label": "Reference",
      "required": false
    },
    {
      "key": "sheet_position",
      "label": "Sheet Position",
      "required": false
    }
  ],
  "files": {
    "xlsx": "/label-templates/avery-labels-excel-template.xlsx",
    "json": "/templates/avery-labels-excel-template.json",
    "svg": "/templates/thumbnails/avery-labels-excel-template.svg"
  }
}
