@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
36 lines • 856 B
JSON
{
"type": "object",
"properties": {
"count": {
"type": "integer",
"format": "int32",
"description": "Number of elements on this page"
},
"hasNext": {
"type": "boolean",
"description": "Indicates if there is next page"
},
"hasPrevious": {
"type": "boolean",
"description": "Indicates if there is previous page"
},
"page": {
"type": "integer",
"format": "int32",
"description": "Current page number"
},
"totalCount": {
"type": "integer",
"format": "int64",
"description": "Total number of elements"
},
"totalPages": {
"type": "integer",
"format": "int32",
"description": "Total number of pages"
}
},
"title": "pagination",
"description": "Pagination info",
"$schema": "http://json-schema.org/schema#"
}