{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coderpad/json-schema/coderpad-paginated-response-schema.json",
  "title": "PaginatedResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coderpad-organization-api-openapi.yml#/components/schemas/PaginatedResponse",
  "allOf": [
    {
      "$ref": "#/$defs/Ok"
    },
    {
      "type": "object",
      "required": [
        "total"
      ],
      "properties": {
        "next_page": {
          "type": "string",
          "format": "uri",
          "description": "URL of the next page. Absent on the last page."
        },
        "prev_page": {
          "type": "string",
          "format": "uri",
          "description": "URL of the previous page. Absent on the first page."
        },
        "total": {
          "type": "integer",
          "description": "Total number of items across all pages."
        }
      }
    }
  ],
  "$defs": {
    "Ok": {
      "type": "object",
      "required": [
        "status"
      ],
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "OK"
          ]
        }
      }
    }
  }
}