{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rivery/json-schema/rivery-connection-types-pagination-response-schema.json",
  "title": "ConnectionTypesPaginationResponse",
  "description": "Connection response properties to return as a paginated list\n    ",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rivery-connections-api-openapi.yml#/components/schemas/ConnectionTypesPaginationResponse",
  "properties": {
    "next_page": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Next Page",
      "description": "The next page URL"
    },
    "previous_page": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Previous Page",
      "description": "The previous page URL"
    },
    "page": {
      "type": "integer",
      "title": "Page",
      "description": "The page number",
      "default": 1
    },
    "current_page_size": {
      "type": "integer",
      "title": "Current Page Size",
      "description": "The current page size"
    },
    "total_items": {
      "type": "integer",
      "title": "Total Items",
      "description": "The total number of entities fetched",
      "default": 0
    },
    "items": {
      "items": {
        "$ref": "#/$defs/ConnectionTypeResponse"
      },
      "type": "array",
      "title": "Items"
    }
  },
  "type": "object",
  "required": [
    "current_page_size",
    "items"
  ],
  "$defs": {
    "ConnectionTypeResponse": {
      "properties": {
        "fields": {
          "type": "object",
          "title": "Fields",
          "description": "The fields of the connection type"
        }
      },
      "type": "object",
      "required": [
        "fields"
      ],
      "title": "ConnectionTypeResponse",
      "description": "Connection properties to return"
    }
  }
}