{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/csiro/json-schema/csiro-download-collection-dto-schema.json",
  "title": "DownloadCollectionDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/csiro-collection-download-api-openapi.yml#/components/schemas/DownloadCollectionDTO",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DownloadFileDTO"
      }
    },
    "metadata": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DownloadFileDTO"
      }
    }
  },
  "$defs": {
    "DownloadFileDTO": {
      "type": "object",
      "properties": {
        "fileName": {
          "type": "string"
        },
        "filePath": {
          "type": "string"
        },
        "fileSize": {
          "type": "integer",
          "format": "int64"
        },
        "filePresignedUrl": {
          "type": "string",
          "format": "url"
        }
      }
    }
  }
}