aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/paginated_collection_schema.ts
blob: 2c29ef4e08a9c4a91bf5da0538e727fb9c47aa9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
export const paginatedCollectionSchema = {
    id: '/PaginatedCollection',
    type: 'object',
    properties: {
        total: { $ref: '/Number' },
        perPage: { $ref: '/Number' },
        page: { $ref: '/Number' },
    },
    required: ['total', 'perPage', 'page'],
};