{
    "description": "Creates a new, generic service definition in the given or default project.",
    "properties": {
        "flat": {
            "default": true,
            "description": "When true (the default), creates files at the top level of the project.",
            "type": "boolean"
        },
        "lintFix": {
            "default": false,
            "description": "When true, applies lint fixes after generating the service.",
            "type": "boolean",
            "x-user-analytics": 15
        },
        "name": {
            "$default": {
                "$source": "argv",
                "index": 0
            },
            "description": "The name of the service.",
            "type": "string",
            "x-prompt": "What name would you like to use for the service?"
        },
        "path": {
            "description": "The path at which to create the service, relative to the workspace root.",
            "format": "path",
            "type": "string",
            "visible": false
        },
        "project": {
            "$default": {
                "$source": "projectName"
            },
            "description": "The name of the project.",
            "type": "string"
        },
        "skipTests": {
            "default": false,
            "description": "When true, does not create \"spec.ts\" test files for the new service.",
            "type": "boolean",
            "x-user-analytics": 12
        },
        "spec": {
            "default": true,
            "description": "When true (the default), generates a  \"spec.ts\" test file for the new service.",
            "type": "boolean",
            "x-deprecated": "Use \"skipTests\" instead."
        }
    },
    "required": [
        "name"
    ],
    "title": "Angular Service Options Schema",
    "type": "object"
}