{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/envestnet/json-schema/envestnet-document-download-response-schema.json",
  "title": "DocumentDownloadResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/envestnet-documents-api-openapi.yml#/components/schemas/DocumentDownloadResponse",
  "type": "object",
  "properties": {
    "document": {
      "type": "array",
      "readOnly": true,
      "items": {
        "$ref": "#/$defs/DocumentDownload"
      }
    }
  },
  "$defs": {
    "DocumentDownload": {
      "title": "DocumentDownload",
      "type": "object",
      "properties": {
        "docContent": {
          "type": "string",
          "description": "Contents of the document in Base64 format.<br><br><b>Applicable containers</b>: bank, investment, creditCard, loan, insurance<br>",
          "readOnly": true
        },
        "id": {
          "type": "string",
          "description": "The document's primary key and unique identifier.<br><br><b>Applicable containers</b>: bank, investment, creditCard, loan, insurance<br>",
          "readOnly": true
        }
      }
    }
  }
}