{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shepherd-vet/json-schema/shepherd-vet-restcollection-model-base-open-api-client-balance-controller-client-clinic-credit-balance-aging-schema.json",
  "title": "RESTCollectionModelBase_OpenApiClientBalanceController.ClientClinicCreditBalanceAging",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shepherd-vet-clientbalance-api-openapi.yml#/components/schemas/RESTCollectionModelBase_OpenApiClientBalanceController.ClientClinicCreditBalanceAging",
  "type": "object",
  "properties": {
    "embed": {
      "type": "string"
    },
    "item": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OpenApiClientBalanceController.ClientClinicCreditBalanceAging"
      }
    },
    "page": {
      "format": "int32",
      "type": "integer"
    },
    "recordsPerPage": {
      "format": "int32",
      "type": "integer"
    },
    "searchQuery": {
      "type": "string"
    },
    "sort": {
      "type": "string"
    },
    "totalRecords": {
      "format": "int32",
      "type": "integer"
    }
  },
  "$defs": {
    "OpenApiClientBalanceController.ClientClinicCreditBalanceAging": {
      "description": "ClientCreditBalance REST Model.",
      "type": "object",
      "properties": {
        "clientId": {
          "format": "uuid",
          "description": "The client's unique identifier associated with the credit balance.",
          "type": "string"
        },
        "creditBalance": {
          "format": "double",
          "description": "Amount representing the client's credit balance",
          "type": "number"
        },
        "current": {
          "format": "double",
          "description": "The Credit balance changes in the last 30 days from the ToDate. If a ToDate is not set a default will be\nused which is The current timestamp in UTC.",
          "type": "number"
        },
        "open120": {
          "format": "double",
          "description": "The Credit balance changes made more than 120 days ago from the ToDate. If a ToDate is not set a default\nwill be used which is The current timestamp in UTC.",
          "type": "number"
        },
        "open30": {
          "format": "double",
          "description": "The Credit balance changes made more than 30 and less than 60 days ago from the ToDate. If a ToDate is\nnot set a default will be used which is The current timestamp in UTC.",
          "type": "number"
        },
        "open60": {
          "format": "double",
          "description": "The Credit balance changes made more than 60 and less than 90 days ago from the ToDate. If a ToDate is\nnot set a default will be used which is The current timestamp in UTC.",
          "type": "number"
        },
        "open90": {
          "format": "double",
          "description": "The Credit balance changes made more than 90 and less than 120 days ago from the ToDate. If a ToDate is\nnot set a default will be used which is The current timestamp in UTC.",
          "type": "number"
        }
      }
    }
  }
}