@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
36 lines • 845 B
JSON
{
"type": "object",
"properties": {
"currentPage": {
"type": "integer",
"format": "int32",
"description": "Current page"
},
"numberOfPages": {
"type": "integer",
"format": "int32",
"description": "Number of pages"
},
"pageSize": {
"type": "integer",
"format": "int32",
"description": "Page size"
},
"totalNumber": {
"type": "integer",
"format": "int32",
"description": "Total number"
},
"userGroups": {
"type": "array",
"description": "List of user groups",
"items": {
"$ref": "_definitions.json#/definitions/UserGroup",
"originalRef": "UserGroup"
}
}
},
"title": "UserGroupList",
"description": "Representation of an User Group List",
"$schema": "http://json-schema.org/schema#"
}