{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/mediastack/json-schema/mediastack-pagination-schema.json",
  "title": "Pagination",
  "description": "Pagination envelope returned with every Mediastack list response.",
  "type": "object",
  "required": ["limit", "offset", "count", "total"],
  "properties": {
    "limit": { "type": "integer", "minimum": 1, "maximum": 100 },
    "offset": { "type": "integer", "minimum": 0 },
    "count": { "type": "integer", "minimum": 0 },
    "total": { "type": "integer", "minimum": 0 }
  },
  "additionalProperties": false
}
