{
  "type": "featherpanel.settings.category",
  "id": "pwa",
  "name": "PWA",
  "description": "Progressive Web App settings",
  "icon": "smartphone",
  "setting_keys": [
    "app_pwa_enabled",
    "app_pwa_short_name",
    "app_pwa_description",
    "app_pwa_theme_color",
    "app_pwa_bg_color"
  ],
  "settings_count": 5,
  "settings": [
    {
      "key": "app_pwa_enabled",
      "constant": "APP_PWA_ENABLED",
      "description": "Allow users to install the panel as an app on desktop, Android, and iOS",
      "type": "select",
      "required": true,
      "placeholder": "false",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "pwa",
      "sensitive": false
    },
    {
      "key": "app_pwa_short_name",
      "constant": "APP_PWA_SHORT_NAME",
      "description": "Short name under the home-screen icon (falls back to app name)",
      "type": "text",
      "required": false,
      "placeholder": "My Panel",
      "validation": "nullable|string|max:12",
      "options": [],
      "category": "pwa",
      "sensitive": false
    },
    {
      "key": "app_pwa_description",
      "constant": "APP_PWA_DESCRIPTION",
      "description": "PWA description (falls back to SEO description, then app name)",
      "type": "textarea",
      "required": false,
      "placeholder": "Manage your servers on the go.",
      "validation": "nullable|string|max:500",
      "options": [],
      "category": "pwa",
      "sensitive": false
    },
    {
      "key": "app_pwa_theme_color",
      "constant": "APP_PWA_THEME_COLOR",
      "description": "Theme color for the PWA browser bar",
      "type": "text",
      "required": true,
      "placeholder": "#000000",
      "validation": "required|string|max:7",
      "options": [],
      "category": "pwa",
      "sensitive": false
    },
    {
      "key": "app_pwa_bg_color",
      "constant": "APP_PWA_BG_COLOR",
      "description": "Background color for the PWA splash screen",
      "type": "text",
      "required": true,
      "placeholder": "#ffffff",
      "validation": "required|string|max:7",
      "options": [],
      "category": "pwa",
      "sensitive": false
    }
  ]
}
