{
  "$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-portfolio-account-dto-schema.json",
  "title": "OAS.WebApi.DTO.Portfolio.AccountDto",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orion-advisor-solutions-billing-clients-api-openapi.yml#/components/schemas/OAS.WebApi.DTO.Portfolio.AccountDto",
  "properties": {
    "isActive": {
      "type": "boolean"
    },
    "custodian": {
      "type": "string"
    },
    "custodianCode": {
      "type": "string"
    },
    "managementStyle": {
      "type": "string"
    },
    "currentValue": {
      "type": "number",
      "format": "double"
    },
    "fundFamily": {
      "type": "string"
    },
    "accountStartValue": {
      "type": "number",
      "format": "double"
    },
    "createdDate": {
      "type": "string",
      "format": "date-time"
    },
    "isManaged": {
      "type": "boolean"
    },
    "isSweepAccount": {
      "type": "boolean"
    },
    "isSleeveAccount": {
      "type": "boolean"
    },
    "sleeveType": {
      "type": "string",
      "enum": [
        "Normal sleeve",
        "Custodial account",
        "Contribution sleeve",
        "Distribution sleeve",
        "Unmanaged sleeve"
      ]
    },
    "isAdvReportable": {
      "type": "boolean"
    },
    "is13FReportable": {
      "type": "boolean"
    },
    "isAuaReportable": {
      "type": "boolean"
    },
    "advCustodyTypeId": {
      "type": "integer",
      "format": "int32"
    },
    "custodialRepCode": {
      "type": "string"
    },
    "brokerDealer": {
      "type": "string"
    },
    "importKey": {
      "type": "string"
    },
    "outsideId": {
      "type": "string"
    },
    "secondaryAccountNumber": {
      "type": "string"
    },
    "managementStyleId": {
      "type": "integer",
      "format": "int32"
    },
    "fundFamilyId": {
      "type": "integer",
      "format": "int32"
    },
    "accountHistoryId": {
      "type": "integer",
      "format": "int32"
    },
    "registrationId": {
      "type": "integer",
      "format": "int32"
    },
    "clientId": {
      "type": "integer",
      "format": "int32"
    },
    "custodianId": {
      "type": "integer",
      "format": "int32"
    },
    "shareClass": {
      "type": "string"
    },
    "shareClassId": {
      "type": "integer",
      "format": "int32"
    },
    "subAdvisorId": {
      "type": "integer",
      "format": "int32"
    },
    "provider": {
      "type": "string"
    },
    "plan": {
      "type": "integer",
      "format": "int32"
    },
    "planName": {
      "type": "string"
    },
    "modelGroupNumber": {
      "type": "string"
    },
    "isOriginalSMCAccount": {
      "type": "boolean"
    },
    "isTradingBlocked": {
      "type": "boolean"
    },
    "tradingInstructions": {
      "type": "string"
    },
    "downloadSource": {
      "type": "string"
    },
    "businessLine": {
      "type": "string"
    },
    "createdBy": {
      "type": "string"
    },
    "accountStartDate": {
      "type": "string",
      "format": "date-time"
    },
    "editedBy": {
      "type": "string"
    },
    "editedDate": {
      "type": "string",
      "format": "date-time"
    },
    "accountStatusId": {
      "type": "integer",
      "format": "int32"
    },
    "accountStatus": {
      "type": "string"
    },
    "accountStatusDescription": {
      "type": "string"
    },
    "feeScheduleId": {
      "type": "integer",
      "format": "int32"
    },
    "feeSchedule": {
      "type": "string"
    },
    "masterPayoutScheduleId": {
      "type": "integer",
      "format": "int32"
    },
    "masterPayoutSchedule": {
      "type": "string"
    },
    "billFrequency": {
      "type": "string",
      "enum": [
        "Undefined",
        "Monthly",
        "Quarterly",
        "Triannual",
        "Semiannually",
        "Annually",
        "AtMaturity"
      ]
    },
    "representative": {
      "type": "string"
    },
    "representativeNumber": {
      "type": "string"
    },
    "representativeId": {
      "type": "integer",
      "format": "int32"
    },
    "household": {
      "type": "string"
    },
    "cancelDate": {
      "type": "string",
      "format": "date-time"
    },
    "riskBudget": {
      "type": "integer",
      "format": "int32"
    },
    "modelAggId": {
      "type": "integer",
      "format": "int32"
    },
    "billPayMethod": {
      "type": "string"
    },
    "acceptsList": {
      "type": "boolean"
    },
    "billStartDate": {
      "type": "string",
      "format": "date-time"
    },
    "missingInfoFromView": {
      "type": "string"
    },
    "sweepAssetId": {
      "type": "integer",
      "format": "int32"
    },
    "includeInAggregate": {
      "type": "boolean"
    },
    "isDiscretionary": {
      "type": "boolean"
    },
    "cashBalance": {
      "type": "number",
      "format": "double"
    },
    "sleeveStrategy": {
      "type": "string"
    },
    "isQualified": {
      "type": "boolean"
    },
    "riskScore": {
      "type": "number",
      "format": "double"
    },
    "isWrapManaged": {
      "type": "boolean"
    },
    "isWrapSponsored": {
      "type": "boolean"
    },
    "lastName": {
      "type": "string"
    },
    "nickname": {
      "type": "string"
    },
    "isPositionOnlyRecon": {
      "type": "boolean"
    },
    "eclipseFirmId": {
      "type": "integer",
      "format": "int32"
    },
    "isUnfunded": {
      "type": "boolean"
    },
    "isBundled": {
      "type": "boolean"
    },
    "isExcludedFromFirmAssets": {
      "type": "boolean"
    },
    "annuityIncomeValue": {
      "type": "number",
      "format": "double"
    },
    "currentRiskScore": {
      "type": "integer",
      "format": "int32"
    },
    "targetRiskScore": {
      "type": "integer",
      "format": "int32"
    },
    "riskScoreAsOfDate": {
      "type": "string",
      "format": "date-time"
    },
    "riskScoreProvider": {
      "description": "The source of {OAS.WebApi.DTO.Portfolio.AccountDto.TargetRiskScore}{OAS.WebApi.DTO.Portfolio.AccountDto.CurrentRiskScore} and {OAS.WebApi.DTO.Portfolio.AccountDto.RiskScoreAsOfDate}",
      "type": "string"
    },
    "riskTol": {
      "type": "integer",
      "format": "int32"
    },
    "tieredFeePriority": {
      "type": "integer",
      "format": "int32"
    },
    "additionalColumns": {
      "items": {
        "$ref": "#/$defs/OAS.WebApi.DTO.Interface.AdditionalColumnDefinition"
      },
      "type": "array"
    },
    "isOps": {
      "type": "boolean"
    },
    "lastPositionDate": {
      "type": "string",
      "format": "date-time"
    },
    "inBalance": {
      "type": "boolean"
    },
    "lastReconciledEffectiveDate": {
      "type": "string",
      "format": "date-time"
    },
    "clientGlobalId": {
      "type": "string",
      "format": "uuid"
    },
    "registrationGlobalId": {
      "type": "string",
      "format": "uuid"
    },
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "name": {
      "type": "string"
    },
    "number": {
      "type": "string"
    },
    "modelName": {
      "type": "string"
    },
    "subAdvisor": {
      "type": "string"
    },
    "accountType": {
      "type": "string"
    },
    "isDataSharingEntity": {
      "type": "boolean"
    }
  },
  "type": "object",
  "$defs": {
    "OAS.WebApi.DTO.Interface.AdditionalColumnDefinition": {
      "properties": {
        "key": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}