{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rivery/json-schema/rivery-dataframe-pagination-response-schema.json",
  "title": "DataframePaginationResponse",
  "description": "Dataframe 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-dataframes-api-openapi.yml#/components/schemas/DataframePaginationResponse",
  "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
    },
    "account_id": {
      "type": "string",
      "title": "Account Id",
      "description": "The account id"
    },
    "environment_id": {
      "type": "string",
      "title": "Environment Id",
      "description": "The environment id"
    },
    "items": {
      "items": {
        "$ref": "#/$defs/DataframeResponse"
      },
      "type": "array",
      "title": "Items"
    }
  },
  "type": "object",
  "required": [
    "current_page_size",
    "account_id",
    "environment_id",
    "items"
  ],
  "$defs": {
    "DataframeResponse": {
      "properties": {
        "account_id": {
          "type": "string",
          "title": "Account Id",
          "description": "The account id of the user"
        },
        "environment_id": {
          "type": "string",
          "title": "Environment Id",
          "description": "The environment id of the user"
        },
        "connection_settings": {
          "type": "object",
          "title": "Connection Settings",
          "description": "The connection settings of the dataframe",
          "default": {}
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "The name of the dataframe - must be unique"
        }
      },
      "type": "object",
      "required": [
        "account_id",
        "environment_id",
        "name"
      ],
      "title": "DataframeResponse",
      "description": "Dataframe response properties to return\n    "
    }
  }
}