{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/citi/main/json-schema/citi-file-download-response-schema.json",
  "title": "FileDownloadResponse",
  "description": "Response for file download.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/citi-file-api-openapi.yml#/components/schemas/File-Download-Response",
  "type": "array",
  "items": {
    "$ref": "#/$defs/File-Download"
  },
  "$defs": {
    "File-Download": {
      "title": "FileDownload",
      "type": "object",
      "description": "File download details.",
      "properties": {
        "file_id": {
          "$ref": "#/$defs/File-Id"
        },
        "file_download_link": {
          "type": "string",
          "title": "file_download_link",
          "description": "File link for downloading the file. The link is valid for 15 minutes and can be used only once.",
          "minLength": 1,
          "maxLength": 256
        }
      }
    },
    "File-Id": {
      "type": "string",
      "description": "Unique identifier for the document uploaded.",
      "title": "file_id",
      "minLength": 1,
      "maxLength": 128
    }
  }
}