{
  "name": "Vendor Application Form",
  "description": "Collects vendor/supplier information for procurement and vendor onboarding.",
  "category": "Application",
  "tags": ["vendor", "supplier", "procurement", "application"],
  "version": 1,
  "form_data": {
    "name": "Vendor Application Form",
    "heading": "Supplier/Vendor Application",
    "description": "Provide your company details to apply as a vendor.",
    "formpages": [1],
    "pages": [
      {"id": 1, "name": "Vendor", "heading": "Company Information", "description": "Tell us about your company.", "folder": "0", "pagerows": [1,2,3,4,5],
        "rows": [
          {"id": 1, "name": "Org & Contact", "heading": "Organization & Contact", "description": "Primary contact details.", "folder": "0", "rowcolumns": [1,2],
           "columns": [
             {"id": 1, "name": "Column 1", "fields": [1], "width": 6, "field_data": [
               {"id": 1, "field_type": "inputtext", "name": "Organization Name", "heading": "Organization Name", "description": "Legal business name.", "is_required": 1, "placeholder": "Acme Supplies Pvt Ltd"}
             ]},
             {"id": 2, "name": "Column 2", "fields": [2], "width": 6, "field_data": [
               {"id": 2, "field_type": "inputemail", "name": "Contact Email", "heading": "Contact Email", "description": "Official contact email.", "is_required": 1, "placeholder": "procurement@acme.com"}
             ]}
           ]
          },
          {"id": 2, "name": "Website & Phone", "heading": "Website & Phone", "description": "Communication details.", "folder": "0", "rowcolumns": [3,4],
            "columns": [
              {"id": 3, "name": "Column 1", "fields": [3], "width": 6, "field_data": [
                {"id": 3, "field_type": "inputurl", "name": "Website", "heading": "Company Website", "description": "Public website URL (optional).", "is_required": 0, "placeholder": "https://acme.com"}
              ]},
              {"id": 4, "name": "Column 2", "fields": [4], "width": 6, "field_data": [
                {"id": 4, "field_type": "inputtext", "name": "Phone Number", "heading": "Phone Number", "description": "Best contact number.", "is_required": 1, "placeholder": "+1 (555) 222-3344"}
              ]}
            ]
          },
          {"id": 3, "name": "Services", "heading": "Services Offered", "description": "Select your service categories.", "folder": "0", "rowcolumns": [5],
            "columns": [
              {"id": 5, "name": "Column 1", "fields": [5], "width": 12, "field_data": [
                {"id": 5, "field_type": "inputcheckbox", "name": "Service Categories", "heading": "Service Categories", "description": "Select all that apply.", "is_required": 1, "field_options": "[{\"IT Hardware\": \"it_hardware\"}, {\"Software & Licensing\": \"software\"}, {\"Office Supplies\": \"office_supplies\"}, {\"Consulting\": \"consulting\"}, {\"Facilities/Maintenance\": \"facilities\"}, {\"Logistics\": \"logistics\"}]"}
              ]}
            ]
          },
          {"id": 4, "name": "Compliance", "heading": "Compliance & Certifications", "description": "Upload and declare compliance.", "folder": "0", "rowcolumns": [6,7],
            "columns": [
              {"id": 6, "name": "Column 1", "fields": [6], "width": 6, "field_data": [
                {"id": 6, "field_type": "fileupload", "name": "Certifications", "heading": "Upload Certifications (ZIP/PDF)", "description": "ISO, SOC 2, etc.", "is_required": 0}
              ]},
              {"id": 7, "name": "Column 2", "fields": [7], "width": 6, "field_data": [
                {"id": 7, "field_type": "inputcheckbox", "name": "Policy Acceptance", "heading": "I accept vendor terms and code of conduct", "description": "Required for onboarding.", "is_required": 1, "field_options": "[{\"I agree\": \"agree\"}]"}
              ]}
            ]
          },
          {"id": 5, "name": "References", "heading": "Client References", "description": "Share references or portfolio links.", "folder": "0", "rowcolumns": [8],
            "columns": [
              {"id": 8, "name": "Column 1", "fields": [8], "width": 12, "field_data": [
                {"id": 8, "field_type": "textarea", "name": "References", "heading": "References/Portfolio", "description": "List notable clients or links.", "is_required": 0, "placeholder": "Client A, Client B... or links"}
              ]}
            ]
          }
        ]
      }
    ],
    "user_action": {"type": "show_success_message", "message": "Thanks! Your vendor application has been submitted.", "url": ""}
  }
}
