{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "cypress-schematics-e2e-spec",
  "title": "Cypress E2E Spec Options Schema",
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "format": "path",
      "description": "The path to create the component.",
      "visible": false
    },
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "$default": {
        "$source": "projectName"
      }
    },
    "name": {
      "type": "string",
      "description": "The name of the e2e test.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What is the name of the e2e test?"
    }
  },
  "required": [
    "name"
  ]
}