{
  "id": "code128-labels-excel-template",
  "name": "Code128 Barcode Labels",
  "description": "Code128 Barcode Labels layout with mapped Code128 Value, Item ID, Description, Human Text fields, XLSX sample data, and print-ready sizing.",
  "category": "Barcode & Identification",
  "thumbnail": "/templates/thumbnails/code128-labels-excel-template.svg",
  "settings": {
    "width": 70,
    "height": 30,
    "unit": "mm",
    "dpi": 203,
    "name": "Code128 Barcode Labels",
    "type": "code128_barcode_labels"
  },
  "elements": [
    {
      "id": "border",
      "type": "RECTANGLE",
      "x": 1,
      "y": 1,
      "width": 68,
      "height": 28,
      "fill": "#ffffff",
      "stroke": "#111827",
      "strokeWidth": 0.4,
      "borderRadius": 1
    },
    {
      "id": "title",
      "type": "TEXT",
      "x": 3,
      "y": 3,
      "width": 64,
      "height": 5.3999999999999995,
      "content": "Code128 Barcode Labels",
      "fontSize": 5,
      "fontWeight": "bold",
      "textAlign": "center",
      "textFitMode": "shrink",
      "color": "#111827"
    },
    {
      "id": "main",
      "type": "TEXT",
      "x": 4,
      "y": 12,
      "width": 62,
      "height": 7,
      "content": "{{Code128 Value}}",
      "fontSize": 6,
      "fontWeight": "bold",
      "textFitMode": "shrink",
      "color": "#111827"
    },
    {
      "id": "secondary",
      "type": "TEXT",
      "x": 4,
      "y": 22,
      "width": 62,
      "height": 5,
      "content": "{{Item ID}} | {{Description}}",
      "fontSize": 6,
      "textFitMode": "shrink",
      "color": "#111827"
    },
    {
      "id": "barcode",
      "type": "BARCODE",
      "x": 4,
      "y": 28,
      "width": 62,
      "height": 7.5,
      "content": "{{Code128 Value}}",
      "barcodeFormat": "CODE128",
      "barcodeShowText": true
    },
    {
      "id": "mapped-details",
      "type": "TEXT",
      "x": 3,
      "y": 24,
      "width": 64,
      "height": 4,
      "content": "Human Text: {{Human Text}}",
      "fontSize": 4,
      "textFitMode": "shrink",
      "textAlign": "center",
      "color": "#374151"
    }
  ],
  "columns": [
    {
      "key": "code128_value",
      "label": "Code128 Value",
      "required": true
    },
    {
      "key": "item_id",
      "label": "Item ID",
      "required": true
    },
    {
      "key": "description",
      "label": "Description",
      "required": true
    },
    {
      "key": "human_text",
      "label": "Human Text",
      "required": false
    }
  ],
  "files": {
    "xlsx": "/label-templates/code128-labels-excel-template.xlsx",
    "json": "/templates/code128-labels-excel-template.json",
    "svg": "/templates/thumbnails/code128-labels-excel-template.svg"
  }
}
