{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/security-scorecard/json-schema/security-scorecard-report-recent-response-schema-schema.json",
  "title": "ReportRecentResponseSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/security-scorecard-reports-api-openapi.yml#/components/schemas/ReportRecentResponseSchema",
  "type": "object",
  "properties": {
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "format",
          "params",
          "created_at",
          "created_by",
          "completed_at",
          "download_url",
          "data_download_url"
        ],
        "properties": {
          "id": {
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$",
            "description": "Identifier",
            "type": "string"
          },
          "report_type": {
            "type": "string",
            "description": "type of report requested"
          },
          "title": {
            "type": "string",
            "description": "human-readable title for this report"
          },
          "format": {
            "type": "string",
            "description": "file content format"
          },
          "params": {
            "type": "object",
            "properties": {
              "domain": {
                "type": "string",
                "description": "primary domain of the company"
              },
              "branding": {
                "type": "string"
              }
            }
          },
          "created_at": {
            "format": "date-time",
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}\\.{0,1}[0-9]*Z$"
          },
          "created_by": {
            "type": "string",
            "description": "user who created the object"
          },
          "completed_at": {
            "type": "string",
            "description": "date when the report was completed, it is not always available"
          },
          "download_url": {
            "type": "string",
            "description": "\n              url that can be used to download the completed report (only when completed successfully).\n              that url might respond with a redirect (302) that you'll have to follow to download the file,\n              most http agents will do this automatically."
          },
          "data_download_url": {
            "type": "string",
            "description": "url that can be used to download the raw data for this report"
          }
        }
      }
    }
  },
  "additionalProperties": false
}