{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "additionalProperties": true,
  "id": "https://json.schemastore.org/typingsrc.json",
  "properties": {
    "ca": {
      "type": ["array", "string"],
      "description": "A string or array of strings of trusted certificates in PEM format",
      "items": {
        "type": "string"
      }
    },
    "cert": {
      "type": "string",
      "description": "Public x509 certificate to use"
    },
    "defaultSource": {
      "type": "string",
      "description": "Override the default installation source (e.g., when doing 'typings install debug')",
      "default": "npm",
      "enum": ["file", "npm", "github", "bitbucket", "bower", "http", "https"]
    },
    "githubToken": {
      "type": "string",
      "description": "Set your GitHub for resolving 'github:' locations"
    },
    "httpProxy": {
      "type": "string",
      "description": "The proxy to use for HTTP requests"
    },
    "httpsProxy": {
      "type": "string",
      "description": "The proxy to use for HTTPS requests"
    },
    "key": {
      "type": "string",
      "description": "Private key to use for SSL"
    },
    "noProxy": {
      "type": "string",
      "description": "A string of space-separated hosts to not proxy"
    },
    "proxy": {
      "type": "string",
      "description": "A HTTP(s) proxy URI for outgoing requests"
    },
    "registryURL": {
      "type": "string",
      "description": "Override the registry URL"
    },
    "rejectUnauthorized": {
      "type": "boolean",
      "description": "Reject invalid SSL certificates",
      "default": true
    },
    "userAgent": {
      "type": "string",
      "description": "Set the User-Agent for HTTP requests"
    }
  },
  "title": "JSON schema for .typingsrc files",
  "type": "object"
}