{
  "$schema": "http://json-schema.org/schema",
  "$id": "NxDowngradeModuleGenerator",
  "title": "Generates downgradeModule setup.",
  "description": "Sets up a Downgrade Module for using AngularJS and Angular.",
  "cli": "nx",
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "x-priority": "important"
    },
    "name": {
      "type": "string",
      "description": "The name of the main AngularJS module.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-priority": "important"
    },
    "angularJsImport": {
      "type": "string",
      "description": "Import expression of the AngularJS application (e.g., `--angularJsImport=some_node_module/my_app`)."
    },
    "skipFormat": {
      "type": "boolean",
      "description": "Skip formatting files.",
      "default": false,
      "x-priority": "internal"
    },
    "skipPackageJson": {
      "type": "boolean",
      "description": "Do not add `@angular/upgrade` to `package.json` (e.g., `--skipPackageJson`).",
      "default": false,
      "x-priority": "internal"
    }
  },
  "additionalProperties": false,
  "required": ["name", "project"],
  "examplesFile": "../../../docs/downgrade-module-examples.md"
}
