{
  "$schema": "https://json-schema.org/schema",
  "$id": "Configuration",
  "title": "",
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "description": "The name of the project to add the Container setup to.",
      "x-prompt": "What project would you like to add the Container setup to?",
      "x-dropdown": "projects"
    },
    "engine": {
      "type": "string",
      "description": "Provide the container engine to be used.",
      "default": "docker",
      "enum": ["docker", "podman"],
      "x-prompt": {
        "message": "Which type of engine would you like to use?",
        "type": "list",
        "items": [
          {
            "value": "docker",
            "label": "Docker"
          },
          {
            "value": "podman",
            "label": "Podman"
          }
        ]
      },
      "alias": "e"
    },
    "template": {
      "type": "string",
      "description": "Which type of app you are building?.",
      "default": "empty",
      "enum": ["empty", "nest", "next", "nginx"],
      "x-prompt": {
        "message": "Which type of app you are building?",
        "type": "list",
        "items": [
          {
            "value": "empty",
            "label": "Empty Dockerfile"
          },
          {
            "value": "nest",
            "label": "Nest Application"
          },
          {
            "value": "next",
            "label": "Next Application"
          },
          {
            "value": "nginx",
            "label": "Single Page Application"
          }
        ]
      },
      "alias": "t"
    },
    "skipFormat": {
      "type": "boolean",
      "description": "Skips formatting the workspace after the generator completes.",
      "default": false
    }
  },
  "required": ["project"]
}
