{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zywave/json-schema/zywave-paged-result-of-commission-statement-schema.json",
  "title": "PagedResultOfCommissionStatement",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zywave-commissionstatements-api-openapi.yml#/components/schemas/PagedResultOfCommissionStatement",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "hasMoreResults": {
      "type": "boolean"
    },
    "pageIndex": {
      "type": "integer",
      "format": "int32"
    },
    "pageSize": {
      "type": "integer",
      "format": "int32"
    },
    "skip": {
      "type": "integer",
      "format": "int32"
    },
    "take": {
      "type": "integer",
      "format": "int32"
    },
    "totalCount": {
      "type": "integer",
      "format": "int32"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CommissionStatement"
      }
    }
  },
  "$defs": {
    "CommissionStatement": {
      "type": "object",
      "description": "Carrier CommissionStatement",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "integer",
          "description": "Gets or sets the unique ID for this statement.",
          "format": "int32"
        },
        "carrierId": {
          "type": "integer",
          "description": "Gets or sets the carrier ID associated with this statement.",
          "format": "int32"
        },
        "checkNumber": {
          "type": [
            "string",
            "null"
          ],
          "description": "Gets or sets the check number for the payment of the commission."
        },
        "depositDate": {
          "type": "string",
          "description": "Gets or sets the date on which the commission dollars were deposited.",
          "format": "date-time"
        },
        "isPosted": {
          "type": "boolean",
          "description": "Gets a value indicating whether this instance is posted."
        },
        "postedById": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Gets the ID of the user who posted the statement.",
          "format": "int32"
        },
        "postedDate": {
          "type": [
            "string",
            "null"
          ],
          "description": "Gets the date and time the statement was posted.",
          "format": "date-time"
        },
        "statementDate": {
          "type": "string",
          "description": "Gets or sets the statement date.",
          "format": "date-time"
        },
        "statementNumber": {
          "type": [
            "string",
            "null"
          ],
          "description": "Gets or sets the number from the statement."
        },
        "statementTotal": {
          "type": "number",
          "description": "Gets or sets the total commission paid out (amount of the check).",
          "format": "decimal"
        }
      }
    }
  }
}