{
  "$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-billing-fee-hierarchy-top-level-dto-schema.json",
  "title": "OAS.WebApi.DTO.Billing.FeeHierarchyTopLevelDto",
  "description": "A top-level view of the entities at each hierarchy level",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orion-advisor-solutions-billing-hierarchy-api-openapi.yml#/components/schemas/OAS.WebApi.DTO.Billing.FeeHierarchyTopLevelDto",
  "properties": {
    "entity": {
      "description": "Entity type",
      "type": "string",
      "enum": [
        "Undefined",
        "Payee",
        "BrokerDealer",
        "Wholesaler",
        "Representative",
        "Client",
        "Registration",
        "Account",
        "Asset",
        "Product",
        "Transaction",
        "Distribution",
        "FundFamily",
        "Personal",
        "PayoutSchedule",
        "FeeSchedule",
        "Platform",
        "RIA",
        "Custodian",
        "Journal",
        "SWP",
        "Other",
        "NASD",
        "CashFunding",
        "Bill",
        "BillInstance",
        "BillMasterPayout",
        "Model",
        "NewAccountClient",
        "NewAccountReg",
        "DownloadExclusion",
        "Price",
        "UserDefinedFields",
        "NewAcctUserDef",
        "ManagersMessage",
        "IndexEntry",
        "PerformanceFee",
        "PerformancePayout",
        "NewAccountAsset",
        "Owner",
        "Administrator",
        "OutsideClient",
        "SubAdvisor",
        "ModelRange",
        "FaxCover",
        "Fax",
        "OneTimeDistribution",
        "WebLogin",
        "Plan401k",
        "BillAccountItem",
        "ThirdPartyAdministrator",
        "CrmContact",
        "Participant",
        "PlanSponsor",
        "CRMEmailList",
        "ThirdParty",
        "WorkflowItem",
        "WorkflowAction",
        "ServiceAccount",
        "EntityOption",
        "HouseholdMember",
        "DownloadSymbol",
        "IndexBlend",
        "NABenefit",
        "AggregateModel",
        "CompositeRange",
        "RepAccountManager",
        "ScriptsScrubs",
        "ServiceAccountBrokerDealer",
        "BusinessLine",
        "Blob",
        "AssetClass",
        "ServiceAccountLite",
        "NewAcctUserDefDtl",
        "Branch",
        "AssetLevelStrategy",
        "Report",
        "DataQueries",
        "PriceUnUsed",
        "ModelItem",
        "AssetCategory",
        "RiskCategory",
        "PlatformRange",
        "Dividend",
        "RegistrationType",
        "CustodianCommon",
        "RepState",
        "QpeDashboard",
        "ReportBatch",
        "ModelGroup",
        "ShareClass",
        "DownloadFile",
        "User",
        "DynamicGrouping",
        "ProductType",
        "ProductSubType",
        "InvestmentObjective",
        "PortfolioGroup",
        "OrionRealizedLot",
        "OrionUnrealizedLot",
        "CustodianRealizedLot",
        "CustodianUnrealizedLot",
        "AssetCategoryParent",
        "TaxType",
        "AuditRequest",
        "AuditRequestLetter",
        "ManagedUnmanaged",
        "AuditRowAttachment",
        "InformPolicy",
        "InformAnswerAttachment",
        "UserDetail",
        "BillPayMethod",
        "ModelInclusion",
        "CommunityModel",
        "EclipseModel",
        "Global",
        "ClientCategory",
        "Taxability",
        "Qualified",
        "TaxID",
        "BondState",
        "ProductTaxability",
        "TargetAllocation",
        "RIATable",
        "ProductRegion",
        "ProductPropertyType",
        "ProductManagerAip",
        "MoodyRating",
        "SPRating",
        "BondMaturityYear",
        "InterestRate",
        "RegistrationTaxType",
        "MaturityPeriod",
        "NewHousehold",
        "BillPayoutDashboardPayment",
        "OptionLevel",
        "MarginAgreement",
        "PrimeBrokerage",
        "InformHistoricalDocument",
        "SleeveStrategyAggregate",
        "MorningstarSector",
        "BillEntity",
        "SleeveStrategy",
        "MorningstarGeography",
        "GenericProspect",
        "BillEntityType",
        "AdditionalRep",
        "BillPayoutReport",
        "ProductSubHolding",
        "DownloadSource",
        "ModelVsActual",
        "ProductVintageYear",
        "EclipsePortfolio",
        "Country",
        "Currency",
        "SecurityClassification1",
        "SecurityClassification2",
        "SecurityClassification3",
        "SecurityClassification4",
        "SecurityClassification5",
        "SecurityClassification6",
        "SecurityClassification7",
        "SecurityClassification8",
        "SecurityClassification9",
        "SecurityClassification10",
        "SecurityClassification11",
        "SecurityClassification12",
        "SecurityClassification13",
        "SecurityClassification14",
        "SecurityClassification15",
        "SecurityClassification16",
        "SecurityClassification17",
        "SecurityClassification18",
        "SecurityClassification19",
        "SecurityClassification20",
        "SecurityClassification21",
        "SecurityClassification22",
        "SecurityClassification23",
        "SecurityClassification24",
        "SecurityClassification25",
        "DownloadRecord",
        "CustomGrouping",
        "Cotenant",
        "AllocatedUnrealizedCostBasis",
        "AllocatedRealizedCostBasis"
      ]
    },
    "level": {
      "description": "Level within the hierarchy",
      "type": "string",
      "enum": [
        "BrokerDealer",
        "RIA",
        "Representative",
        "Plan401k",
        "Platform",
        "Client",
        "Registration",
        "SubAdvisor",
        "AggregateModel",
        "Account",
        "Global"
      ]
    },
    "memberCount": {
      "description": "Count of records for the entity and level",
      "type": "integer",
      "format": "int32"
    },
    "type": {
      "description": "Type of fee hierarchy (Regular, Asset, Sleeve, et al.)",
      "type": "string",
      "enum": [
        "Regular",
        "AssetLevel",
        "SleeveLevel"
      ]
    }
  },
  "type": "object"
}