{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/MetaPagination", "title": "MetaPagination", "type": "object", "properties": { "pagination": { "type": "object", "properties": { "total": { "type": "integer", "example": 246, "minimum": 0 }, "count": { "type": "integer", "example": 5, "minimum": 0 }, "per_page": { "type": "integer", "example": 5, "minimum": 0 }, "current_page": { "type": "integer", "example": 1, "minimum": 1 }, "total_pages": { "type": "integer", "example": 50, "minimum": 0 }, "links": { "type": "object", "properties": { "previous": { "type": "string", "example": "?limit=5&page=1" }, "current": { "type": "string", "example": "?limit=5&page=2" }, "next": { "type": "string", "example": "?limit=5&page=3" } } } } } }, "x-tags": [ "Models" ] }