{
  "$schema": "http://json-schema.org/schema",
  "cli": "nx",
  "$id": "NxNextCustomServer",
  "title": "Add custom server",
  "description": "Add a custom server to existing Next.js application.",
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "alias": "p",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-dropdown": "project",
      "x-prompt": "What is the name of the project to set up a custom server for?",
      "x-priority": "important"
    },
    "compiler": {
      "type": "string",
      "enum": ["tsc", "swc"],
      "default": "tsc",
      "description": "The compiler used to build the custom server."
    }
  },
  "required": ["project"],
  "examplesFile": "../../../docs/custom-server-examples.md"
}
