{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/typingsrc-json/latest.json",
  "title": "JSON schema for .typingsrc files",
  "x-lintel": {
    "source": "https://www.schemastore.org/typingsrc.json",
    "sourceSha256": "947c11f406040ca4764405bc1fb873b187d7ee1a34e6bb4610e96437ee8a6e1a",
    "fileMatch": [
      ".typingsrc"
    ]
  },
  "type": "object",
  "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"
    }
  },
  "id": "https://json.schemastore.org/typingsrc.json",
  "additionalProperties": true
}
