{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/classquill-com/json-schema/classquill-com-page-adjustment-schema.json",
  "title": "Page[Adjustment]",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/classquill-com-operations-api-openapi.yml#/components/schemas/Page_Adjustment_",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/Adjustment"
      },
      "type": "array",
      "title": "Data"
    },
    "meta": {
      "$ref": "#/$defs/PageMeta"
    }
  },
  "type": "object",
  "required": [
    "data",
    "meta"
  ],
  "$defs": {
    "Adjustment": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "tutor_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tutor Id"
        },
        "period_start": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Period Start"
        },
        "period_end": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Period End"
        },
        "amount_cents": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Amount Cents"
        },
        "note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Note"
        },
        "voided": {
          "type": "boolean",
          "title": "Voided",
          "default": false
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "id"
      ],
      "title": "Adjustment"
    },
    "PageMeta": {
      "properties": {
        "limit": {
          "type": "integer",
          "title": "Limit"
        },
        "offset": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Offset"
        },
        "count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Count"
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Total"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Next Cursor",
          "description": "Cursor-mode only: pass as ?cursor= to fetch the next page; null when this is the last page."
        }
      },
      "type": "object",
      "required": [
        "limit"
      ],
      "title": "PageMeta",
      "description": "Pagination envelope metadata. `count` is the size of the returned page;\n`total` (when present) is the full result-set size for offset paging.\nIn cursor mode `offset`/`total` are absent and `next_cursor` carries the\nopaque token for the next page (null on the last page)."
    }
  }
}