{
  "$schema": "http://json-schema.org/schema",
  "id": "firebase-cloud-function-schema",
  "title": "Creates a simple schematic.",
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "$default": {
        "$source": "projectName"
      }
    },
    "path": {
      "type": "string",
      "format": "path",
      "description": "The path to create the simple schematic within.",
      "visible": false
    },
    "name": {
      "description": "Specifies the name of the generated Class.",
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "spec": {
      "type": "boolean",
      "description": "Specifies if a spec file is generated.",
      "default": true
    },
    "flat": {
      "type": "boolean",
      "description": "Flag to indicate if a directory is created.",
      "default": false
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}