{
  "$schema": "http://json-schema.org/schema",
  "cli": "nx",
  "$id": "BotApp",
  "title": "Create a Botonic bot application",
  "description": "Create a Botonic bot application with webchat, webviews, and lambda support.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the bot application.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the bot application?",
      "pattern": "^[a-zA-Z].*$"
    },
    "directory": {
      "type": "string",
      "description": "The directory of the new application.",
      "alias": "dir"
    },
    "packageManager": {
      "type": "string",
      "description": "The package manager to use.",
      "enum": ["npm", "pnpm"],
      "default": "pnpm"
    },
    "botonicVersion": {
      "type": "string",
      "description": "Botonic packages version. Leave empty to use the same version as the installed @botonic/nx-plugin."
    },
    "lilaraVersion": {
      "type": "string",
      "description": "Lilara packages version. Leave empty to use the version pinned by the installed generator."
    }
  },
  "required": ["name"]
}
