{
  "$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-cls-billing-wizard-dto-schema.json",
  "title": "OAS.WebApi.DTO.Billing.ClsBillingWizardDto",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orion-advisor-solutions-billing-schedules-api-openapi.yml#/components/schemas/OAS.WebApi.DTO.Billing.ClsBillingWizardDto",
  "required": [
    "payoutName",
    "feeName",
    "minimumFee",
    "accountId",
    "managementStyleId",
    "details"
  ],
  "properties": {
    "payoutName": {
      "type": "string"
    },
    "feeName": {
      "type": "string"
    },
    "minimumFee": {
      "type": "number",
      "format": "double",
      "maximum": 2147483647,
      "minimum": 0
    },
    "accountId": {
      "type": "integer",
      "format": "int32",
      "maximum": 2147483647,
      "minimum": 1
    },
    "managementStyleId": {
      "type": "integer",
      "format": "int32",
      "maximum": 2147483647,
      "minimum": 1
    },
    "subAdvisorId": {
      "type": "integer",
      "format": "int32"
    },
    "details": {
      "items": {
        "$ref": "#/$defs/OAS.WebApi.DTO.Billing.ClsBillingWizardDetailDto"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "OAS.WebApi.DTO.Billing.ClsBillingWizardDetailDto": {
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "cMinAmount": {
          "type": "number",
          "format": "double",
          "maximum": 7.922816251426434e+28,
          "minimum": 0.0
        },
        "cMaxAmount": {
          "type": "number",
          "format": "double",
          "maximum": 7.922816251426434e+28,
          "minimum": 0.0
        },
        "cls": {
          "type": "number",
          "format": "double",
          "maximum": 7.922816251426434e+28,
          "minimum": 0.0
        },
        "rep": {
          "type": "number",
          "format": "double",
          "maximum": 2147483647,
          "minimum": 0
        },
        "total": {
          "type": "integer",
          "format": "int32",
          "maximum": 2147483647,
          "minimum": 0
        }
      },
      "type": "object"
    }
  }
}