{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "JSON schema for .bowerrc files",
    "type": "object",
    "properties": {
        "analytics": {
            "type": "boolean",
            "default": true
        },
        "cwd": {
            "description": "The directory from which bower should run. All relative paths will be calculated according to this setting.",
            "type": "string"
        },
        "directory": {
            "description": "The directory from which bower should run. All relative paths will be calculated according to this setting.",
            "type": "string",
            "default": "bower_components"
        },
        "json": {
            "description": "A file path to the Bower configuration file",
            "type": "string",
            "default": "bower.json"
        },
        "registry": {
            "description": "The registry config",
            "type": [
                "string",
                "object"
            ],
            "properties": {
                "search": {
                    "description": "An array of URLs pointing to read-only Bower registries. A string means only one. When looking into the registry for an endpoint, Bower will query these registries by the specified order.",
                    "type": [
                        "array",
                        "string"
                    ]
                },
                "register": {
                    "description": "The URL to use when registering packages.",
                    "type": "string"
                },
                "publish": {
                    "description": "The URL to use when publishing packages.",
                    "type": "string"
                }
            }
        },
        "proxy": {
            "description": "The proxy to use for http requests.",
            "type": "string"
        },
        "https-proxy": {
            "description": "The proxy to use for https requests.",
            "type": "string"
        },
        "user-agent": {
            "description": "Sets the User-Agent for each request made.",
            "type": "string"
        },
        "timeout": {
            "description": "he timeout to be used when making requests in milliseconds.",
            "type": "number",
            "default": 60000
        },
        "strict-ssl": {
            "description": "Whether or not to do SSL key validation when making requests via https.",
            "type": "boolean"
        },
        "ca": {
            "description": "The CA certificates to be used, defaults to null. This is similar to the registry key, specifying each CA to use for each registry endpoint.",
            "type": [
                "object",
                "string"
            ]
        },
        "color": {
            "description": "Enable or disable use of colors in the CLI output.",
            "type": "boolean",
            "default": true
        },
        "storage": {
            "description": "Where to store persistent data, such as cache, needed by bower.",
            "type": "object",
            "properties": {
                "cache": {
                    "type": "string"
                },
                "registry": {
                    "type": "string"
                },
                "links": {
                    "type": "string"
                },
                "completion": {
                    "type": "string"
                }
            }
        },
        "tmp": {
            "description": "Where to store temporary files and folders",
            "type": "string"
        },
        "interactive": {
            "description": "Makes bower interactive, prompting whenever necessary",
            "type": "boolean"
        }
    },
    "additionalProperties": true
}