{
  "$schema": "http://json-schema.org/schema",
  "id": "SchematicsAngularApp",
  "title": "Angular Application Options Schema",
  "type": "object",
  "properties": {
    "directory": {
      "type": "string",
      "format": "path",
      "description": "The directory name to create the app in.",
      "alias": "dir"
    },
    "path": {
      "type": "string",
      "format": "path",
      "description": "The path of the application.",
      "default": "app",
      "visible": false
    },
    "sourceDir": {
      "type": "string",
      "format": "path",
      "description": "The path of the source directory.",
      "default": "src",
      "alias": "sd",
      "visible": false
    },
    "name": {
      "description": "The name of the application.",
      "type": "string",
      "format": "html-selector"
    },
    "inlineStyle": {
      "description": "Specifies if the style will be in the ts file.",
      "type": "boolean",
      "default": false,
      "alias": "is"
    },
    "inlineTemplate": {
      "description": "Specifies if the template will be in the ts file.",
      "type": "boolean",
      "default": false,
      "alias": "it"
    },
    "viewEncapsulation": {
      "description": "Specifies the view encapsulation strategy.",
      "enum": ["Emulated", "Native", "None"],
      "type": "string"
    },
    "version": {
      "type": "string",
      "description": "The version of the Angular CLI to use.",
      "visible": false
    },
    "routing": {
      "type": "boolean",
      "description": "Generates a routing module.",
      "default": false
    },
    "prefix": {
      "type": "string",
      "format": "html-selector",
      "description": "The prefix to apply to generated selectors.",
      "default": "app",
      "alias": "p"
    },
    "style": {
      "description": "The file extension to be used for style files.",
      "type": "string",
      "default": "css"
    },
    "skipTests": {
      "description": "Skip creating spec files.",
      "type": "boolean",
      "default": false,
      "alias": "st"
    },
    "skipGit": {
      "description": "Skip initializing a git repository.",
      "type": "boolean",
      "default": false,
      "alias": "sg"
    },
    "minimal": {
      "description": "Create a minimal app (no test structure, inline styles/templates).",
      "type": "boolean",
      "default": false
    },
    "serviceWorker": {
      "description": "Installs the @angular/service-worker.",
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "name",
    "directory"
  ]
}
