{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orion-advisor-solutions/json-schema/orion-advisor-solutions-oas-web-api-dto-confirm-account-restore-account-restore-batch-status-detail-dto-schema.json",
  "title": "OAS.WebApi.DTO.Confirm.AccountRestore.AccountRestoreBatchStatusDetailDto",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orion-advisor-solutions-confirm-accountrestorebatch-api-openapi.yml#/components/schemas/OAS.WebApi.DTO.Confirm.AccountRestore.AccountRestoreBatchStatusDetailDto",
  "properties": {
    "batchId": {
      "type": "integer",
      "format": "int32"
    },
    "batchStatus": {
      "type": "string",
      "enum": [
        "New",
        "CreateNameFile",
        "CreateTransactionPosition",
        "ApplyTransactionPosition",
        "CleanupPositions",
        "Notify",
        "Complete",
        "Error",
        "UndoCancelledAccounts"
      ]
    },
    "accountNumber": {
      "type": "string"
    },
    "accountId": {
      "type": "integer",
      "format": "int32"
    },
    "accountStatus": {
      "type": "string",
      "enum": [
        "Pending",
        "Processing",
        "Complete",
        "Error"
      ]
    },
    "startDate": {
      "type": "string",
      "format": "date-time"
    },
    "wasPlugged": {
      "type": "boolean"
    },
    "statusMessage": {
      "type": "string"
    },
    "statusMessageHtml": {
      "type": "string"
    },
    "registrationId": {
      "type": "integer",
      "format": "int32"
    },
    "registrationName": {
      "type": "string"
    },
    "householdId": {
      "type": "integer",
      "format": "int32"
    },
    "householdName": {
      "type": "string"
    },
    "isCancelled": {
      "type": "boolean"
    },
    "restoreData": {
      "type": "boolean"
    },
    "accountInBalance": {
      "type": "boolean"
    }
  },
  "type": "object"
}