{
  "$schema": "http://json-schema.org/schema",
  "$id": "omega-angular-feature-remove",
  "title": "Remove one Omega feature",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Feature folder name (e.g. cliente, order-item).",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "project": {
      "type": "string",
      "description": "Angular application project name (default: first application in angular.json)."
    },
    "path": {
      "type": "string",
      "description": "Route path to remove from app.routes.ts (default: pluralized name)."
    },
    "parentPath": {
      "type": "string",
      "description": "Parent route path where the child route should be removed from `children` (e.g. admin)."
    },
    "skipRoute": {
      "type": "boolean",
      "description": "Do not change app.routes.ts.",
      "default": false
    },
    "skipOmegaSetup": {
      "type": "boolean",
      "description": "Do not change omega-setup.ts.",
      "default": false
    }
  },
  "required": ["name"],
  "additionalProperties": false
}
