{
  "$schema": "http://json-schema.org/schema",
  "id": "SchematicsAngularApp",
  "title": "Angular Application Options Schema",
  "type": "object",
  "description": "Generates a new basic app definition in the \"projects\" subfolder of the workspace.",
  "properties": {
    "projectRoot": {
      "description": "The root directory of the new app.",
      "type": "string",
      "visible": false
    },
    "name": {
      "description": "The name of the new app.",
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the application?"
    },
    "enableIvy": {
      "description": "**EXPERIMENTAL** True to create a new app that uses the Ivy rendering engine.",
      "type": "boolean",
      "default": false,
      "x-user-analytics": 8
    },
    "inlineStyle": {
      "description": "When true, includes styles inline in the root component.ts file. Only CSS styles can be included inline. Default is false, meaning that an external styles file is created and referenced in the root component.ts file.",
      "type": "boolean",
      "default": false,
      "alias": "s",
      "x-user-analytics": 9
    },
    "inlineTemplate": {
      "description": "When true, includes template inline in the root component.ts file. Default is false, meaning that an external template file is created and referenced in the root component.ts file. ",
      "type": "boolean",
      "default": false,
      "alias": "t",
      "x-user-analytics": 10
    },
    "viewEncapsulation": {
      "description": "The view encapsulation strategy to use in the new app.",
      "enum": ["Emulated", "Native", "None", "ShadowDom"],
      "type": "string",
      "x-user-analytics": 11
    },
    "routing": {
      "type": "boolean",
      "description": "When true, creates a routing NgModule.",
      "default": false
    },
    "prefix": {
      "type": "string",
      "format": "html-selector",
      "description": "A prefix to apply to generated selectors.",
      "default": "app",
      "alias": "p"
    },
    "style": {
      "description": "The file extension or preprocessor to use for style files.",
      "type": "string",
      "default": "css",
      "enum": [
        "css",
        "scss",
        "sass",
        "less",
        "styl"
      ],
      "x-user-analytics": 5
    },
    "skipTests": {
      "description": "When true, does not create \"spec.ts\" test files for the app.",
      "type": "boolean",
      "default": false,
      "alias": "S",
      "x-user-analytics": 12
    },
    "skipPackageJson": {
      "type": "boolean",
      "default": false,
      "description": "When true, does not add dependencies to the \"package.json\" file."
    },
    "minimal": {
      "description": "When true, creates a bare-bones project without any testing frameworks. (Use for learning purposes only.)",
      "type": "boolean",
      "default": false,
      "x-user-analytics": 14
    },
    "skipInstall": {
      "description": "Skip installing dependency packages.",
      "type": "boolean",
      "default": false
    },
    "lintFix": {
      "type": "boolean",
      "default": false,
      "description": "When true, applies lint fixes after generating the application.",
      "x-user-analytics": 15
    }
  },
  "required": [
    "name"
  ]
}
