{
  "$schema": "http://json-schema.org/schema",
  "id": "library",
  "title": "Create a library",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Library name"
    },
    "directory": {
      "type": "string",
      "description": "A directory where the app is placed"
    },
    "nomodule": {
      "type": "boolean",
      "default": false,
      "description": "Generate a simple TS library when set to true."
    },
    "routing": {
      "type": "boolean",
      "default": false,
      "description": "Add router configuration. See lazy for more information."
    },
    "skipFormat": {
      "description": "Skip formatting files",
      "type": "boolean",
      "default": false
    },
    "lazy": {
      "type": "boolean",
      "default": false,
      "description": "Add RouterModule.forChild when set to true, and a simple array of routes when set to false."
    },
    "parentModule": {
      "type": "string",
      "description": "Update the router configuration of the parent module using loadChildren or children, depending on what `lazy` is set to."
    }
  },
  "required": ["name"]
}
