diff options
Diffstat (limited to 'packages/json-schemas/schemas/paginated_collection_schema.json')
-rw-r--r-- | packages/json-schemas/schemas/paginated_collection_schema.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/json-schemas/schemas/paginated_collection_schema.json b/packages/json-schemas/schemas/paginated_collection_schema.json new file mode 100644 index 000000000..9dcedf5b4 --- /dev/null +++ b/packages/json-schemas/schemas/paginated_collection_schema.json @@ -0,0 +1,10 @@ +{ + "id": "/paginatedCollectionSchema", + "type": "object", + "properties": { + "total": { "type": "number" }, + "perPage": { "type": "number" }, + "page": { "type": "number" } + }, + "required": ["total", "perPage", "page"] +} |