{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/envestnet/json-schema/envestnet-credit-accelerator-status-response-schema.json",
  "title": "CreditAcceleratorStatusResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/envestnet-creditacceleratorfile-api-openapi.yml#/components/schemas/CreditAcceleratorStatusResponse",
  "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
    },
    "selectedAccounts": {
      "type": "array",
      "description": "Accounts which were selected for credit accelerator file generation.",
      "readOnly": true,
      "items": {
        "$ref": "#/$defs/CreditAcceleratorSelectedAccount"
      }
    },
    "submissionDate": {
      "type": "string",
      "description": "Date on which the request to generate credit accelerator file was submitted",
      "readOnly": true
    },
    "originalReportId": {
      "type": "integer",
      "description": "Report id of original report on which refresh is performed. This is not available when report is generated for the first time.",
      "format": "int64",
      "readOnly": true
    },
    "status": {
      "type": "string",
      "description": "Generation status of the requested credit accelerator file requested",
      "readOnly": true,
      "enum": [
        "SUBMITTED",
        "IN_PROGRESS",
        "COMPLETED",
        "FAILED"
      ]
    }
  },
  "$defs": {
    "CreditAcceleratorSelectedAccount": {
      "title": "CreditAcceleratorSelectedAccount",
      "type": "object",
      "properties": {
        "providerAccountId": {
          "type": "integer",
          "description": "Unique identifier for the provider account resource. This is created during account addition.",
          "format": "int64",
          "readOnly": true
        },
        "id": {
          "type": "integer",
          "description": "The primary key of the account resource and the unique identifier for the account.",
          "format": "int64",
          "readOnly": true
        }
      }
    }
  }
}