{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aftership/main/json-schema/aftership-pagination-v2-schema.json",
  "title": "Pagination",
  "description": "The `Pagination` holds the information for the pagination when the response contains multiple objects.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aftership-locations-api-openapi.yml#/components/schemas/Pagination.v2",
  "x-stoplight": {
    "id": "6twr4wc3wp9lu"
  },
  "type": "object",
  "x-tags": [
    "Envelope"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "x-stoplight": {
        "id": "5ld3b35057z8s"
      },
      "description": "Page number."
    },
    "limit": {
      "type": "integer",
      "x-stoplight": {
        "id": "qmvbmlfjchyh5"
      },
      "description": "Maximum object count per page."
    },
    "has_next_page": {
      "type": "boolean",
      "x-stoplight": {
        "id": "qtm2ifhlv0r4i"
      },
      "description": "To indicate if next page is available."
    }
  }
}