{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "SchematicsAngularEnum",
  "title": "Angular Enum Schema",
  "cli": "nx",
  "type": "object",
  "description": "Creates a new, generic Angular enum definition in the given or default project.",
  "additionalProperties": false,
  "properties": {
    "path": {
      "type": "string",
      "format": "path",
      "description": "The path at which to create the enum file, relative to the selected project (/src/(lib|app)/<relative_path>) or relative to workspace (<root_workspace>/<relative_path>).",
      "visible": false
    },
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "x-dropdown": "projects"
    },
    "name": {
      "type": "string",
      "description": "The name of the enum.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the enum?"
    },
    "type": {
      "type": "string",
      "description": "Adds a developer-defined type to the filename, in the format \"name.<type>.ts\"."
    }
  },
  "required": ["name", "project"]
}
