{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-list-role-grants-response-schema.json", "title": "ListRoleGrantsResponse", "description": "Paginated list of role grants in the organization.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cockroach-labs-role-management-api-openapi.yml#/components/schemas/ListRoleGrantsResponse", "type": "object", "properties": { "grants": { "type": "array", "description": "Array of role grant objects.", "items": { "type": "object" } }, "pagination": { "$ref": "#/$defs/PaginationResponse" } }, "$defs": { "PaginationResponse": { "type": "object", "description": "Pagination metadata included in list responses.", "properties": { "next": { "type": "string", "description": "Token or cursor for retrieving the next page of results." }, "last": { "type": "string", "description": "Token or cursor for the last page of results." }, "time": { "type": "string", "format": "date-time", "description": "Server time at which the paginated query was executed." } } } } }