{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-topic-download-list-dto-schema.json",
  "title": "TopicDownloadListDTO",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-topic-service-openapi.yml#/components/schemas/TopicDownloadListDTO",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TopicDownloadShortDTO"
      }
    },
    "_meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "Meta": {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer",
          "format": "int32"
        },
        "limit": {
          "type": "integer",
          "format": "int32"
        },
        "count": {
          "type": "integer",
          "format": "int64"
        }
      }
    },
    "TopicDownloadShortDTO": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the created task"
        },
        "status": {
          "type": "string",
          "description": "Current state of the download task",
          "enum": [
            "CREATED",
            "PROCESSING",
            "COMPLETED",
            "FAILED"
          ]
        },
        "time_created": {
          "type": "string",
          "description": "Time in which this task was initialized",
          "format": "date-time"
        }
      }
    }
  }
}