{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "additionalProperties": true,
  "id": "https://json.schemastore.org/bowerrc.json",
  "properties": {
    "analytics": {
      "type": "boolean",
      "default": true
    },
    "cwd": {
      "type": "string",
      "description": "The directory from which bower should run. All relative paths will be calculated according to this setting."
    },
    "directory": {
      "type": "string",
      "description": "The directory from which bower should run. All relative paths will be calculated according to this setting.",
      "default": "bower_components"
    },
    "json": {
      "type": "string",
      "description": "A file path to the Bower configuration file",
      "default": "bower.json"
    },
    "registry": {
      "type": ["string", "object"],
      "description": "The registry config",
      "format": "uri",
      "properties": {
        "search": {
          "type": ["array", "string"],
          "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.",
          "format": "uri"
        },
        "register": {
          "type": "string",
          "description": "The URL to use when registering packages.",
          "format": "uri"
        },
        "publish": {
          "type": "string",
          "description": "The URL to use when publishing packages.",
          "format": "uri"
        }
      }
    },
    "proxy": {
      "type": "string",
      "description": "The proxy to use for http requests.",
      "format": "uri"
    },
    "https-proxy": {
      "type": "string",
      "description": "The proxy to use for https requests.",
      "format": "uri"
    },
    "user-agent": {
      "type": "string",
      "description": "Sets the User-Agent for each request made."
    },
    "timeout": {
      "type": "number",
      "description": "The timeout to be used when making requests in milliseconds.",
      "default": 60000
    },
    "strict-ssl": {
      "type": "boolean",
      "description": "Whether or not to do SSL key validation when making requests via https."
    },
    "ca": {
      "type": ["object", "string"],
      "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."
    },
    "color": {
      "type": "boolean",
      "description": "Enable or disable use of colors in the CLI output.",
      "default": true
    },
    "storage": {
      "type": "object",
      "description": "Where to store persistent data, such as cache, needed by bower.",
      "properties": {
        "packages": {
          "type": "string"
        },
        "registry": {
          "type": "string"
        },
        "links": {
          "type": "string"
        }
      }
    },
    "tmp": {
      "type": "string",
      "description": "Where to store temporary files and folders"
    },
    "interactive": {
      "type": "boolean",
      "description": "Makes bower interactive, prompting whenever necessary"
    },
    "resolvers": {
      "type": "array",
      "description": "Identifies pluggable resolvers to be used for locating and fetching packages",
      "items": {
        "type": "string"
      }
    },
    "shallowCloneHosts": {
      "type": "array",
      "description": "Whitelists hosts which are known to support shallow cloning",
      "items": {
        "type": "string"
      }
    },
    "scripts": {
      "description": "Contains custom hooks used to trigger other automated tools",
      "type": "object",
      "properties": {
        "preinstall": {
          "type": "string",
          "description": "A script to run before install"
        },
        "postinstall": {
          "type": "string",
          "description": "A script to run after install"
        },
        "preuninstall": {
          "type": "string",
          "description": "A script to run before uninstall"
        }
      }
    },
    "ignoredDependencies": {
      "type": "array",
      "description": "Bower will ignore these dependencies when resolving packages",
      "items": {
        "type": "string"
      }
    }
  },
  "title": "JSON schema for .bowerrc files",
  "type": "object"
}