{
  "id": "membership-card",
  "name": "Membership Card",
  "description": "A premium, CR80 credit-card sized horizontal membership card designed for gyms, clubs, libraries, and associations. Features a deep forest green and gold theme, custom circular or rounded photo frame, and a QR scan block.",
  "type": "id-card",
  "category": "card",
  "backgroundColor": "#064E3B",
  "accentColor": "#D4A843",
  "dimensions": {
    "width": 540,
    "height": 340,
    "label": "CR80 Landscape Card"
  },
  "frontLayers": [
    {
      "id": "background",
      "type": "shape",
      "x": 0,
      "y": 0,
      "width": 540,
      "height": 340,
      "color": "#064E3B",
      "borderRadius": 0,
      "opacity": 1,
      "rotation": 0,
      "locked": true,
      "visible": true
    },
    {
      "id": "top-bar",
      "type": "shape",
      "x": 0,
      "y": 0,
      "width": 540,
      "height": 6,
      "color": "#D4A843",
      "borderRadius": 0,
      "opacity": 1,
      "rotation": 0,
      "locked": true,
      "visible": true
    },
    {
      "id": "club-logo",
      "type": "shape",
      "x": 470,
      "y": 25,
      "width": 40,
      "height": 40,
      "color": "#D4A843",
      "content": "<svg viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'><circle cx='32' cy='32' r='28' stroke='currentColor' stroke-width='2'/><path d='M32 14l3.5 7.1 7.8 1.1-5.6 5.5 1.3 7.8-7-3.7-7 3.7 1.3-7.8-5.6-5.5 7.8-1.1z' fill='currentColor'/></svg>",
      "opacity": 0.9,
      "rotation": 0,
      "locked": true,
      "visible": true
    },
    {
      "id": "org-title",
      "type": "text",
      "x": 30,
      "y": 28,
      "width": 420,
      "height": 24,
      "content": "METROPOLIS CLUB & SUITES",
      "fontSize": 13,
      "fontWeight": "800",
      "color": "#FFFFFF",
      "fontFamily": "Montserrat",
      "textAlign": "left",
      "letterSpacing": 2,
      "opacity": 1,
      "rotation": 0,
      "locked": true,
      "visible": true
    },
    {
      "id": "photo-frame",
      "type": "shape",
      "x": 30,
      "y": 75,
      "width": 120,
      "height": 120,
      "color": "transparent",
      "borderWidth": 2,
      "borderColor": "#D4A843",
      "borderRadius": 8,
      "opacity": 1,
      "rotation": 0,
      "locked": true,
      "visible": true
    },
    {
      "id": "photo-member",
      "type": "image",
      "x": 34,
      "y": 79,
      "width": 112,
      "height": 112,
      "content": "{{photo}}",
      "borderRadius": 6,
      "opacity": 1,
      "rotation": 0,
      "locked": false,
      "visible": true
    },
    {
      "id": "name-member",
      "type": "text",
      "x": 170,
      "y": 80,
      "width": 340,
      "height": 28,
      "content": "{{member_name}}",
      "fontSize": 20,
      "fontWeight": "800",
      "color": "#FFFFFF",
      "fontFamily": "Montserrat",
      "textAlign": "left",
      "opacity": 1,
      "rotation": 0,
      "locked": false,
      "visible": true
    },
    {
      "id": "type-member",
      "type": "text",
      "x": 170,
      "y": 112,
      "width": 340,
      "height": 18,
      "content": "{{membership_type}}",
      "fontSize": 10,
      "fontWeight": "700",
      "color": "#D4A843",
      "fontFamily": "Montserrat",
      "textAlign": "left",
      "letterSpacing": 1.5,
      "opacity": 1,
      "rotation": 0,
      "locked": false,
      "visible": true
    },
    {
      "id": "label-id",
      "type": "text",
      "x": 170,
      "y": 146,
      "width": 160,
      "height": 12,
      "content": "MEMBER ID",
      "fontSize": 7,
      "fontWeight": "700",
      "color": "#A7F3D0",
      "fontFamily": "Montserrat",
      "textAlign": "left",
      "letterSpacing": 1,
      "opacity": 1,
      "rotation": 0,
      "locked": true,
      "visible": true
    },
    {
      "id": "value-id",
      "type": "text",
      "x": 170,
      "y": 160,
      "width": 160,
      "height": 18,
      "content": "{{member_id}}",
      "fontSize": 12,
      "fontWeight": "700",
      "color": "#FFFFFF",
      "fontFamily": "Inter",
      "textAlign": "left",
      "opacity": 1,
      "rotation": 0,
      "locked": false,
      "visible": true
    },
    {
      "id": "divider",
      "type": "shape",
      "x": 30,
      "y": 210,
      "width": 480,
      "height": 1,
      "color": "#047857",
      "borderRadius": 0,
      "opacity": 0.8,
      "rotation": 0,
      "locked": true,
      "visible": true
    },
    {
      "id": "label-issue",
      "type": "text",
      "x": 30,
      "y": 226,
      "width": 120,
      "height": 12,
      "content": "ISSUED",
      "fontSize": 7,
      "fontWeight": "700",
      "color": "#A7F3D0",
      "fontFamily": "Montserrat",
      "textAlign": "left",
      "letterSpacing": 1,
      "opacity": 1,
      "rotation": 0,
      "locked": true,
      "visible": true
    },
    {
      "id": "value-issue",
      "type": "text",
      "x": 30,
      "y": 240,
      "width": 120,
      "height": 18,
      "content": "{{issue_date}}",
      "fontSize": 11,
      "fontWeight": "600",
      "color": "#FFFFFF",
      "fontFamily": "Inter",
      "textAlign": "left",
      "opacity": 1,
      "rotation": 0,
      "locked": false,
      "visible": true
    },
    {
      "id": "label-expires",
      "type": "text",
      "x": 170,
      "y": 226,
      "width": 120,
      "height": 12,
      "content": "EXPIRES",
      "fontSize": 7,
      "fontWeight": "700",
      "color": "#A7F3D0",
      "fontFamily": "Montserrat",
      "textAlign": "left",
      "letterSpacing": 1,
      "opacity": 1,
      "rotation": 0,
      "locked": true,
      "visible": true
    },
    {
      "id": "value-expires",
      "type": "text",
      "x": 170,
      "y": 240,
      "width": 120,
      "height": 18,
      "content": "{{expiry_date}}",
      "fontSize": 11,
      "fontWeight": "600",
      "color": "#FFFFFF",
      "fontFamily": "Inter",
      "textAlign": "left",
      "opacity": 1,
      "rotation": 0,
      "locked": false,
      "visible": true
    },
    {
      "id": "qr-code",
      "type": "qr",
      "x": 410,
      "y": 226,
      "width": 80,
      "height": 80,
      "content": "{{qr_code}}",
      "color": "#064E3B",
      "backgroundColor": "#FAF8F5",
      "opacity": 1,
      "rotation": 0,
      "locked": false,
      "visible": true
    },
    {
      "id": "bottom-bar",
      "type": "shape",
      "x": 0,
      "y": 334,
      "width": 540,
      "height": 6,
      "color": "#D4A843",
      "borderRadius": 0,
      "opacity": 1,
      "rotation": 0,
      "locked": true,
      "visible": true
    }
  ],
  "backLayers": [],
  "sample_data": {
    "headers": [
      "photo",
      "member_name",
      "member_id",
      "membership_type",
      "issue_date",
      "expiry_date",
      "qr_code"
    ],
    "columnMetadata": {
      "photo": "image",
      "member_name": "text",
      "member_id": "text",
      "membership_type": "text",
      "issue_date": "text",
      "expiry_date": "text",
      "qr_code": "text"
    },
    "rows": [
      {
        "photo": "https://xhgnsubbtdxfrwzouzst.supabase.co/storage/v1/object/public/images/men_profilephoto.png",
        "member_name": "Victoria Stevens",
        "member_id": "MEM-99281-GOLD",
        "membership_type": "Premium Gold Member",
        "issue_date": "Jan 2026",
        "expiry_date": "Jan 2027",
        "qr_code": "VERIFY-MEM-99281"
      }
    ]
  }
}