{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/envestnet/json-schema/envestnet-credit-accelerator-statement-response-schema.json",
  "title": "CreditAcceleratorStatementResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/envestnet-creditacceleratorfile-api-openapi.yml#/components/schemas/CreditAcceleratorStatementResponse",
  "type": "object",
  "properties": {
    "configName": {
      "type": "string",
      "description": "The config name using which the credit accelerator file generation was requested",
      "readOnly": true
    },
    "reportId": {
      "type": "integer",
      "description": "Unique identifier for the credit accelerator file",
      "format": "int64",
      "readOnly": true
    },
    "statements": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CreditAcceleratorStatement"
      }
    },
    "submissionDate": {
      "type": "string",
      "description": "Date on which the request to generate credit accelerator file was submitted",
      "readOnly": true
    },
    "status": {
      "type": "string",
      "description": "Generation status of the requested credit accelerator file requested",
      "readOnly": true,
      "enum": [
        "SUBMITTED",
        "IN_PROGRESS",
        "COMPLETED",
        "FAILED"
      ]
    }
  },
  "$defs": {
    "CreditAcceleratorDocument": {
      "title": "CreditAcceleratorDocument",
      "type": "object",
      "properties": {
        "accountID": {
          "type": "integer",
          "description": "The primary key of the account resource and the unique identifier for the account.<br><br><b>Aggregated / Manual</b>: Both <br><b>Applicable containers</b>: All containers<br><b>Endpoints</b>:<ul><li>GET accounts </li><li>GET accounts/{accountId}</li><li>GET investmentOptions</li><li>GET accounts/historicalBalances</li><li>POST accounts</ul>",
          "format": "int64",
          "readOnly": true
        },
        "lastUpdated": {
          "type": "string",
          "description": "Indicates the date and time the document was last updated.<br><br><b>Applicable containers</b>: bank and investment<br>",
          "readOnly": true
        },
        "formType": {
          "type": "string",
          "description": "Indicates the type of the tax form.",
          "readOnly": true
        },
        "docType": {
          "type": "string",
          "description": "Indicates the type of the document.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the document.<br><br><b>Applicable containers</b>: bank and investment<br>",
          "readOnly": true
        },
        "statementDate": {
          "type": "string",
          "description": "Indicates the date and time of the document.<br><br><b>Applicable containers</b>: bank and investment<br>",
          "readOnly": true
        },
        "id": {
          "type": "string",
          "description": "The document's primary key and unique identifier.<br><br><b>Applicable containers</b>: bank and investment<br>",
          "readOnly": true
        },
        "source": {
          "type": "string",
          "description": "Indicates the source of the document download.<br><br><b>Applicable containers</b>: bank and investment<br>",
          "readOnly": true
        },
        "uri": {
          "type": "string",
          "description": "Relative URI to fetch the actual document",
          "readOnly": true
        },
        "status": {
          "type": "string",
          "description": "Indicates the status of the document download.<br><br><b>Applicable containers</b>: bank and investment<br>",
          "readOnly": true
        }
      }
    },
    "CreditAcceleratorStatement": {
      "title": "CreditAcceleratorStatement",
      "type": "object",
      "properties": {
        "accountId": {
          "type": "integer",
          "description": "The primary key of the account resource and the unique identifier for the account.<br><br><b>Aggregated / Manual</b>: Both <br><b>Applicable containers</b>: All containers<br><b>Endpoints</b>:<ul><li>GET accounts </li><li>GET accounts/{accountId}</li><li>GET investmentOptions</li><li>GET accounts/historicalBalances</li><li>POST accounts</ul>",
          "format": "int64",
          "readOnly": true
        },
        "additionalStatus": {
          "type": "string"
        },
        "documents": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CreditAcceleratorDocument"
          }
        },
        "status": {
          "type": "string",
          "description": "Status of the doc download for given configName or reportId",
          "readOnly": true
        }
      }
    }
  }
}