Cat Facts (catfact.ninja) · JSON Structure

Cat Facts Catfact Pagination Link Structure

A single navigation link in a Laravel-style paginator response.

Type: object Properties: 3
AnimalsCatsTriviaPublic APIsCommunityNo AuthenticationREST

PaginationLink is a JSON Structure definition published by Cat Facts (catfact.ninja), describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

url label active

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cat-facts-catfact/refs/heads/main/json-structure/cat-facts-catfact-pagination-link-structure.json",
  "name": "PaginationLink",
  "description": "A single navigation link in a Laravel-style paginator response.",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Target URL of the link, or null for disabled controls.",
      "example": "https://catfact.ninja/facts?page=2"
    },
    "label": {
      "type": "string",
      "description": "Display label (page number, Previous, Next, or ...).",
      "example": "2"
    },
    "active": {
      "type": "boolean",
      "description": "Whether this link represents the current page.",
      "example": false
    }
  }
}