{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://api-evangelist.com/schemas/kinde/permission", "title": "Permission", "description": "A Kinde permission — a string key representing a single authorization grant. Permissions are attached to roles; roles are assigned to users per organization.", "type": "object", "required": ["id", "key"], "properties": { "id": { "type": "string" }, "key": { "type": "string", "pattern": "^[a-z0-9][a-z0-9:_-]*$", "description": "Stable permission key (e.g. `posts:read`, `billing:write`)." }, "name": { "type": "string" }, "description": { "type": ["string", "null"] } } }