{ "name": "VIP Coordinator User Registration", "languages": { "default": "en", "primary": "en" }, "pages": [ { "name": "user-registration", "components": [ { "type": "header", "config": { "text": "Welcome to VIP Coordinator", "level": 1 } }, { "type": "description", "config": { "text": "Please provide your information to request access. The first user will be automatically approved as Administrator. Subsequent users require admin approval." } }, { "type": "text-input", "config": { "label": "Full Name", "name": "name", "placeholder": "Enter your full name", "required": true, "validation": { "min": 2, "max": 100 } } }, { "type": "email-input", "config": { "label": "Email Address", "name": "email", "placeholder": "your.email@example.com", "required": true, "validation": { "email": true } } }, { "type": "password-input", "config": { "label": "Password", "name": "password", "placeholder": "Create a secure password", "required": true, "validation": { "min": 8, "passwordStrength": "fair" } } }, { "type": "text-input", "config": { "label": "Department (Optional)", "name": "user_metadata.department", "placeholder": "e.g., Transportation, Events, Security", "required": false } }, { "type": "text-input", "config": { "label": "Organization (Optional)", "name": "user_metadata.organization", "placeholder": "Your organization name", "required": false } }, { "type": "checkbox", "config": { "label": "I agree to the terms and conditions", "name": "terms_accepted", "required": true } }, { "type": "submit-button", "config": { "label": "Request Access" } } ] } ], "ending": { "after_signup": { "type": "redirect", "url": "http://localhost:5173/callback" } }, "style": { "primaryColor": "#3B82F6", "backgroundColor": "#F9FAFB", "buttonRadius": "8px" } }