{
  "$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
    }
  }
}
