{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "additionalProperties": false,
  "description": "An object hash containing an `items` array and optionally a `config` object",
  "id": "https://json.schemastore.org/npm-badges.json",
  "properties": {
    "list": {
      "type": "array",
      "description": "Array of badges. Use \"---\" to denote a separation.",
      "items": {
        "enum": [
          "---",
          "npmversion",
          "npmdownloads",
          "daviddm",
          "daviddmdev",
          "nodeico",
          "saucelabsbm",
          "saucelabs",
          "travisci",
          "githubworkflow",
          "codeship",
          "coveralls",
          "codeclimate",
          "bithound",
          "waffle",
          "sixtydevstips",
          "patreon",
          "opencollective",
          "gratipay",
          "flattr",
          "paypal",
          "bitcoin",
          "wishlist",
          "slackinscript",
          "slackin",
          "gabeacon",
          "googleplusone",
          "redditsubmit",
          "hackernewssubmit",
          "facebooklike",
          "facebookfollow",
          "twittertweet",
          "twitterfollow",
          "githubfollow",
          "githubstar",
          "quorafollow"
        ]
      }
    },
    "config": {
      "type": "object",
      "additionalProperties": false,
      "description": "Configuration object",
      "properties": {
        "npmPackageName": {
          "description": "The npm package name",
          "type": "string"
        },
        "saucelabsUsername": {
          "description": "The username of the SauceLabs account",
          "type": "string"
        },
        "saucelabsAuthToken": {
          "description": "SauceLabs auth token, should probably not be used.\nUse `SAUCELABS_AUTH_TOKEN` env var instead.",
          "type": "string"
        },
        "travisTLD": {
          "description": "The TLD to use for Travis CI. Use \"com\" if you have moved to travis-ci.com",
          "type": "string"
        },
        "codeshipProjectUUID": {
          "description": "The UUID for the project, available in the General tab of your project setting.",
          "type": "string"
        },
        "codeshipProjectID": {
          "description": "The ID for the project, available in the URL for the codeship project.",
          "type": "string"
        },
        "githubSlug": {
          "description": "The Github slug of the project (e.g., SchemaStore/schemastore)",
          "type": "string"
        },
        "githubWorkflow": {
          "description": "The name or location of the workflow file to show the badge for.",
          "type": "string"
        },
        "githubBranch": {
          "description": "The branch to constrain the badge to.",
          "type": "string"
        },
        "githubEvent": {
          "description": "The event to constrain the badge to.",
          "type": "string"
        },
        "nodeicoQueryString": {
          "description": "Either a query string as a string, or an object containing the options.\n\nSee https://nodei.co for details",
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "compact": {
                  "enum": [true]
                },
                "mini": {
                  "enum": [true]
                },
                "downloads": {
                  "enum": [true]
                },
                "downloadRank": {
                  "enum": [true]
                },
                "stars": {
                  "enum": [true]
                },
                "months": {
                  "type": "integer"
                },
                "height": {
                  "enum": [1, 2, 3]
                }
              }
            }
          ]
        },
        "sixtydevstipsID": {
          "description": "The 60devs username to donate to.",
          "type": "string"
        },
        "sixtydevstipsURL": {
          "description": "The URL to the 60devs donate page.",
          "type": "string"
        },
        "patreonUsername": {
          "description": "The Patreon username to donate to.",
          "type": "string"
        },
        "patreonURL": {
          "description": "The URL to the Patreon donate page.",
          "type": "string"
        },
        "opencollectiveUsername": {
          "description": "The Open Collective username to donate to.",
          "type": "string"
        },
        "opencollectiveURL": {
          "description": "The URL to the Open Collective donate page.",
          "type": "string"
        },
        "gratipayUsername": {
          "type": "string"
        },
        "flattrUsername": {
          "type": "string"
        },
        "paypalURL": {
          "type": "string"
        },
        "paypalButtonID": {
          "type": "string"
        },
        "paypalUsername": {
          "type": "string"
        },
        "bitcoinURL": {
          "type": "string"
        },
        "wishlistURL": {
          "type": "string"
        },
        "slackinURL": {
          "type": "string"
        },
        "gaTrackingID": {
          "type": "string"
        },
        "homepage": {
          "description": "The home page URL",
          "type": "string"
        },
        "facebookApplicationID": {
          "type": "string"
        },
        "facebookUsername": {
          "type": "string"
        },
        "twitterUsername": {
          "description": "The twitter username to tweet at",
          "type": "string"
        },
        "githubUsername": {
          "description": "The Github username to use",
          "type": "string"
        },
        "quoraUsername": {
          "type": "string"
        },
        "quoraRealname": {
          "type": "string"
        }
      }
    }
  },
  "title": "Configuration for the NPM package badges.",
  "type": "object"
}
