{
    "description": "Creates a new generic web worker definition in the given or default project.",
    "properties": {
        "name": {
            "$default": {
                "$source": "argv",
                "index": 0
            },
            "description": "The name of the worker.",
            "type": "string",
            "x-prompt": "What name would you like to use for the worker?"
        },
        "path": {
            "description": "The path at which to create the worker file, relative to the current workspace.",
            "format": "path",
            "type": "string",
            "visible": false
        },
        "project": {
            "$default": {
                "$source": "projectName"
            },
            "description": "The name of the project.",
            "type": "string"
        },
        "snippet": {
            "default": true,
            "description": "Add a worker creation snippet in a sibling file of the same name.",
            "type": "boolean"
        },
        "target": {
            "default": "build",
            "description": "The target to apply web worker to.",
            "type": "string"
        }
    },
    "required": [
        "name",
        "project"
    ],
    "title": "Angular Web Worker Options Schema",
    "type": "object"
}