{
  "$schema": "http://json-schema.org/schema",
  "cli": "nx",
  "$id": "NxHardhatApp",
  "title": "Create a Hardhat Application for Nx",
  "description": "Create a Hardhat Application for Nx.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the application",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use?",
      "pattern": "^[a-zA-Z].*$"
    },
    "directory": {
      "type": "string",
      "description": "The directory of the new application.",
      "alias": "d"
    },
    "tags": {
      "type": "string",
      "description": "Add tags to the application (used for linting).",
      "alias": "t"
    },
    "skipFormat": {
      "description": "Skip formatting files.",
      "type": "boolean",
      "default": false
    },
    "withDeploy": {
      "description": "Install Hardhat Deploy plugin",
      "type": "boolean",
      "default": true
    }
  },
  "required": ["name"]
}
