{
  "$schema": "http://json-schema.org/schema",
  "$id": "NgxThemeStackNgAdd",
  "title": "ngx-theme-stack ng-add",
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "description": "The name of the Angular project to configure.",
      "$default": {
        "$source": "projectName"
      }
    },
    "mode": {
      "type": "string",
      "description": "Installation mode.",
      "default": "quick",
      "enum": ["quick", "custom"],
      "x-prompt": {
        "message": "How do you want to configure ngx-theme-stack?",
        "type": "list",
        "items": [
          {
            "value": "quick",
            "label": "Quick  – apply defaults instantly (theme: system, mode: class, strategy: critters)"
          },
          {
            "value": "custom",
            "label": "Custom – choose themes, default theme, storage key and strategy"
          }
        ]
      }
    },
    "strategy": {
      "type": "string",
      "description": "The strategy to use for flash prevention (critters or blocking).",
      "enum": ["blocking", "critters"]
    },
    "addSkill": {
      "type": "boolean",
      "description": "Generate an AI Agent Skill (SKILL.md) in the project root."
    }
  },
  "required": ["project"]
}
