{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/security-scorecard/json-schema/security-scorecard-vendors-response-schema-schema.json",
  "title": "VendorsResponseSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/security-scorecard-vendor-detection-api-openapi.yml#/components/schemas/VendorsResponseSchema",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "entries": {
      "type": "array",
      "items": {
        "description": "A party in the supply chain that makes goods and services available to a company",
        "properties": {
          "company": {
            "type": "string"
          },
          "connection_detail": {
            "type": "string"
          },
          "domain": {
            "type": "string",
            "description": "primary domain of the company"
          },
          "industry": {
            "type": "string",
            "description": "industry (unique identifier). 'unknown' if this wasn't yet determined."
          },
          "observed": {
            "format": "date-time",
            "type": "string"
          },
          "score": {
            "type": "integer",
            "description": "security score from 0 to 100"
          },
          "source": {
            "enum": [
              "HTTP requests",
              "Detected libraries",
              "Mail exchange",
              "Enhanced illumination"
            ],
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "size": {
      "description": "The number of records to be returned per page",
      "type": "integer"
    },
    "page": {
      "description": "The page number to be returned",
      "type": "integer"
    },
    "total": {
      "description": "The total number of records matching the given query",
      "type": "integer"
    }
  },
  "required": [
    "entries",
    "size",
    "page",
    "total"
  ]
}