{
    "$schema": "../../../../../node_modules/@nx/node/src/generators/application/schema.json",
    "cli": "nx",
    "$id": "CloudflareWorkerProject",
    "type": "object",
    "properties": {
        "directory": {
            "type": "string",
            "description": "Path to create the worker in"
        },
        "name": {
            "type": "string",
            "description": "Identifier for the worker",
            "$default": {
                "$source": "argv",
                "index": 0
            },
            "x-prompt": "What is the name of the worker?"
        },
        "zone_id": {
            "type": "string",
            "description": "Zone Id"
        },
        "account_id": {
            "type": "string",
            "description": "Account Id"
        },
        "route": {
            "type": "string",
            "description": "Route"
        },
        "workers_dev": {
            "type": "boolean",
            "description": "Workers Dev"
        }
    },
    "required": ["name", "directory"]
}
