{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/gloat/main/json-schema/gloat-paginated-apiresponse-access-rule-response-schema.json", "title": "PaginatedAPIResponse[AccessRuleResponse]", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/gloat-authorization-openapi.yml#/components/schemas/PaginatedAPIResponse_AccessRuleResponse_", "properties": { "items": { "anyOf": [ { "items": { "$ref": "#/$defs/AccessRuleResponse" }, "type": "array" }, { "type": "null" } ], "title": "Items" }, "page": { "type": "integer", "title": "Page" }, "has_next": { "type": "boolean", "title": "Has Next" }, "total_count": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Total Count" } }, "type": "object", "required": [ "page", "has_next" ], "$defs": { "AccessRuleResponse": { "properties": { "id": { "type": "string", "title": "Id" }, "role_id": { "type": "string", "title": "Role Id" }, "granted_group_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Granted Group Id" }, "target_group_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Target Group Id" }, "date_created": { "type": "string", "title": "Date Created" } }, "type": "object", "required": [ "id", "role_id", "date_created" ], "title": "AccessRuleResponse" } } }