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