{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/classquill-com/json-schema/classquill-com-page-lesson-participant-schema.json",
  "title": "Page[LessonParticipant]",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/classquill-com-sessions-api-openapi.yml#/components/schemas/Page_LessonParticipant_",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/LessonParticipant"
      },
      "type": "array",
      "title": "Data"
    },
    "meta": {
      "$ref": "#/$defs/PageMeta"
    }
  },
  "type": "object",
  "required": [
    "data",
    "meta"
  ],
  "$defs": {
    "LessonParticipant": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "session_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Session Id"
        },
        "student_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Student Id"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status"
        },
        "attendance": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Attendance"
        },
        "cancelled_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cancelled At"
        },
        "invited_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Invited At"
        },
        "responded_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Responded At"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "id"
      ],
      "title": "LessonParticipant",
      "description": "A per-student attendance row on a (group/classroom) session. Billing-state\nfields (rate_snapshot_cents, settlement_state, stripe_payment_id,\nreported_payment_method) are deliberately NOT exposed."
    },
    "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)."
    }
  }
}