{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/security-scorecard/json-schema/security-scorecard-portfolio-vendors-schema.json",
  "title": "PortfolioVendors",
  "description": "Vendors used by companies in a portfolio",
  "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/PortfolioVendors",
  "type": "object",
  "properties": {
    "entries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PortfolioVendor"
      }
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/CollectionResponse"
    }
  ],
  "$defs": {
    "CollectionResponse": {
      "properties": {
        "page": {
          "description": "The current page of results",
          "minimum": 1,
          "type": "integer"
        },
        "size": {
          "description": "The number of records to be returned per page",
          "type": "integer"
        },
        "total": {
          "description": "The total number of records matching the given query",
          "type": "integer"
        }
      }
    },
    "PortfolioVendor": {
      "type": "object",
      "description": "A party in the supply chain that makes goods and services available to a company in a portfolio",
      "properties": {
        "domain": {
          "type": "string"
        },
        "company": {
          "type": "string"
        },
        "score": {
          "type": "integer"
        },
        "thirty_day_change": {
          "type": "integer",
          "format": "float"
        },
        "products_used": {
          "type": "integer"
        },
        "connections_count": {
          "type": "integer"
        },
        "connections_percent": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      }
    }
  }
}