From 7d9009bb96fa576c98abd82200cd0fc2b4d27e40 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 17 Oct 2018 13:28:26 +0100 Subject: Convert all schemas to json files, so it's easier for devs in other languages to use it --- packages/json-schemas/schemas/paginated_collection_schema.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 packages/json-schemas/schemas/paginated_collection_schema.json (limited to 'packages/json-schemas/schemas/paginated_collection_schema.json') 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"] +} -- cgit v1.2.3