{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/security-scorecard/json-schema/security-scorecard-companies-in-scorecard-tag-schema.json",
  "title": "CompaniesInScorecardTag",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/security-scorecard-scorecard-tags-api-openapi.yml#/components/schemas/CompaniesInScorecardTag",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "domain": {
            "type": "string",
            "description": "primary domain of the company"
          },
          "grade": {
            "type": "string",
            "description": "a security scorecard grade (A to F), or '?' if it's calculating.",
            "enum": [
              "A",
              "B",
              "C",
              "D",
              "F",
              "?"
            ]
          },
          "grade_url": {
            "type": "string",
            "description": "url to an image depicting the grade"
          },
          "score": {
            "type": "integer",
            "description": "security score from 0 to 100"
          },
          "industry": {
            "type": "string",
            "description": "industry (unique identifier). 'unknown' if this wasn't yet determined."
          },
          "size": {
            "type": "string",
            "description": "a company described based on number of employees",
            "enum": [
              "unknown",
              "size_1_to_10",
              "size_11_to_50",
              "size_51_to_200",
              "size_201_to_500",
              "size_501_to_1000",
              "size_1001_to_5000",
              "size_5001_to_10000",
              "size_more_than_10000"
            ]
          },
          "last30days_score_change": {
            "type": "number",
            "description": "delta score change in the last 30 days"
          }
        }
      }
    },
    "total": {
      "description": "The total number of records matching the given query",
      "type": "integer"
    }
  },
  "required": [
    "entries",
    "total"
  ]
}