{
  "$schema": "http://json-schema.org/schema",
  "id": "Feature",
  "title": "Feature Schema",
  "type": "object",
  "properties": {
    "path": {
      "description": "The path to create the feature.",
      "type": "string",
      "format": "path",
      "visible": false
    },
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "$default": {
        "$source": "projectName"
      }
    },
    "name": {
      "description": "The name of the feature.",
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the feature?"
    },
    "prefix": {
      "description": "The prefix to apply to generated selectors.",
      "type": "string",
      "format": "html-selector",
      "alias": "p"
    }
  },
  "required": [
    "name", "path"
  ]
}