{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/classquill-com/json-schema/classquill-com-offboard-result-schema.json",
  "title": "OffboardResult",
  "description": "Result of POST /v1/students/{id}/offboard — moves a student to the soft,\nread-only 'alumni' tier. The student keeps their account and their own past\nwork, loses org-provided premium/AI access, and can request to resume. Counts\nreflect what the bundling RPC changed; `reason` is set only on failure.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/classquill-com-students-parents-api-openapi.yml#/components/schemas/OffboardResult",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success",
      "default": true
    },
    "scope": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scope"
    },
    "archived_relationships": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Archived Relationships"
    },
    "classrooms_removed": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Classrooms Removed"
    },
    "coverage_revoked": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Coverage Revoked"
    },
    "reason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reason"
    }
  },
  "type": "object"
}