{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/youtube/json-schema/youtube-list-reports-response-schema.json",
  "title": "ListReportsResponse",
  "description": "Response message for ReportingService.ListReports.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/youtube-youtubereporting-jobs-api-openapi.yml#/components/schemas/ListReportsResponse",
  "properties": {
    "reports": {
      "description": "The list of report types.",
      "items": {
        "$ref": "#/$defs/Report"
      },
      "type": "array"
    },
    "nextPageToken": {
      "type": "string",
      "description": "A token to retrieve next page of results. Pass this value in the ListReportsRequest.page_token field in the subsequent call to `ListReports` method to retrieve the next page of results."
    }
  },
  "type": "object",
  "$defs": {
    "Report": {
      "properties": {
        "id": {
          "description": "The server-generated ID of the report.",
          "type": "string"
        },
        "downloadUrl": {
          "type": "string",
          "description": "The URL from which the report can be downloaded (max. 1000 characters)."
        },
        "startTime": {
          "description": "The start of the time period that the report instance covers. The value is inclusive.",
          "format": "google-datetime",
          "type": "string"
        },
        "endTime": {
          "type": "string",
          "description": "The end of the time period that the report instance covers. The value is exclusive.",
          "format": "google-datetime"
        },
        "createTime": {
          "format": "google-datetime",
          "description": "The date/time when this report was created.",
          "type": "string"
        },
        "jobId": {
          "type": "string",
          "description": "The ID of the job that created this report."
        },
        "jobExpireTime": {
          "description": "The date/time when the job this report belongs to will expire/expired.",
          "type": "string",
          "format": "google-datetime"
        }
      },
      "type": "object",
      "description": "A report's metadata including the URL from which the report itself can be downloaded."
    }
  }
}