{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thomson-reuters/json-schema/thomson-reuters-export-schema.json",
  "title": "Export",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-reports-api-openapi.yml#/components/schemas/Export",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "createdDateTime": {
      "type": "string",
      "description": "The start time of the Export to file job.",
      "format": "date-time"
    },
    "expirationTime": {
      "type": "string",
      "description": "The expiration time of the URL. Empty when the result is not available.",
      "format": "date-time"
    },
    "exportState": {
      "$ref": "#/$defs/ExportState"
    },
    "id": {
      "type": "integer",
      "description": "The Export to file job ID.",
      "format": "int32"
    },
    "fileInfo": {
      "$ref": "#/$defs/FileInfoModel"
    }
  },
  "$defs": {
    "ExportState": {
      "type": "string",
      "description": "",
      "x-enumNames": [
        "Undefined",
        "InProgress",
        "Completed",
        "Error"
      ],
      "enum": [
        "Undefined",
        "InProgress",
        "Completed",
        "Error"
      ]
    },
    "FileInfoModel": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "fileName": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name of the original file."
        },
        "size": {
          "type": "integer",
          "description": "Size of the file (in bytes).",
          "format": "int32"
        },
        "uploadedDateTime": {
          "type": "string",
          "description": "The date and time at which the file was uploaded.",
          "format": "date-time"
        },
        "md5Hash": {
          "type": [
            "string",
            "null"
          ],
          "description": "The MD5 Hash string of the file."
        },
        "downloadLink": {
          "type": [
            "string",
            "null"
          ],
          "description": "The temporary link to download the file."
        }
      }
    }
  }
}