Spring Data · Schema

Spring Data Paged Resource

Represents a paginated HAL+JSON collection response from Spring Data REST

Data AccessDatabaseFrameworkJavaJPAMongoDBORMRedisRESTSpring

Properties

Name Type Description
_embedded object Embedded resources keyed by relation type
_links object
page object
View JSON Schema on GitHub

JSON Schema

spring-data-paged-resource-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://spring.io/projects/spring-data/schemas/paged-resource",
  "title": "Spring Data Paged Resource",
  "description": "Represents a paginated HAL+JSON collection response from Spring Data REST",
  "type": "object",
  "properties": {
    "_embedded": {
      "type": "object",
      "description": "Embedded resources keyed by relation type",
      "additionalProperties": {
        "type": "array",
        "items": {
          "$ref": "#/definitions/HalResource"
        }
      }
    },
    "_links": {
      "$ref": "#/definitions/HalLinks"
    },
    "page": {
      "$ref": "#/definitions/PageMetadata"
    }
  },
  "definitions": {
    "HalLink": {
      "type": "object",
      "required": ["href"],
      "properties": {
        "href": {
          "type": "string",
          "description": "The URI or URI template of the link"
        },
        "templated": {
          "type": "boolean",
          "description": "Whether href is a URI template"
        },
        "type": {
          "type": "string",
          "description": "Expected media type of target resource"
        },
        "deprecation": {
          "type": "string",
          "description": "URL indicating this link is deprecated"
        },
        "name": {
          "type": "string",
          "description": "Secondary key for link selection"
        },
        "profile": {
          "type": "string",
          "description": "URI that hints about the profile of the target resource"
        },
        "title": {
          "type": "string",
          "description": "Human-readable label for the link destination"
        }
      }
    },
    "HalLinks": {
      "type": "object",
      "properties": {
        "self": {
          "$ref": "#/definitions/HalLink"
        },
        "first": {
          "$ref": "#/definitions/HalLink"
        },
        "prev": {
          "$ref": "#/definitions/HalLink"
        },
        "next": {
          "$ref": "#/definitions/HalLink"
        },
        "last": {
          "$ref": "#/definitions/HalLink"
        }
      },
      "additionalProperties": {
        "oneOf": [
          { "$ref": "#/definitions/HalLink" },
          {
            "type": "array",
            "items": { "$ref": "#/definitions/HalLink" }
          }
        ]
      }
    },
    "HalResource": {
      "type": "object",
      "properties": {
        "_links": {
          "$ref": "#/definitions/HalLinks"
        }
      },
      "additionalProperties": true
    },
    "PageMetadata": {
      "type": "object",
      "properties": {
        "size": {
          "type": "integer",
          "minimum": 1,
          "description": "Number of items per page"
        },
        "totalElements": {
          "type": "integer",
          "minimum": 0,
          "description": "Total number of elements across all pages"
        },
        "totalPages": {
          "type": "integer",
          "minimum": 0,
          "description": "Total number of pages"
        },
        "number": {
          "type": "integer",
          "minimum": 0,
          "description": "Current page number (zero-based)"
        }
      },
      "required": ["size", "totalElements", "totalPages", "number"]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/spring-data-paged-resource"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.