{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/gloat/main/json-schema/gloat-api-key-read-schema.json", "title": "ApiKeyRead", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/gloat-company-service-openapi.yml#/components/schemas/ApiKeyRead", "properties": { "secretName": { "type": "string", "title": "Secretname" }, "createdAt": { "type": "string", "title": "Createdat" }, "createdBy": { "type": "string", "title": "Createdby" }, "expiresAt": { "type": "string", "title": "Expiresat" }, "companySlug": { "type": "string", "title": "Companyslug" }, "permissions": { "items": { "$ref": "#/$defs/ApiKeyPermission" }, "type": "array", "title": "Permissions" }, "clientId": { "type": "string", "title": "Clientid" } }, "type": "object", "required": [ "secretName", "createdAt", "createdBy", "expiresAt", "companySlug", "clientId" ], "$defs": { "ApiKeyPermission": { "properties": { "name": { "type": "string", "title": "Name" }, "access": { "type": "string", "enum": [ "R", "W", "A" ], "title": "Access" } }, "type": "object", "required": [ "name", "access" ], "title": "ApiKeyPermission" } } }