Kinde · Schema

Permission

A Kinde permission — a string key representing a single authorization grant. Permissions are attached to roles; roles are assigned to users per organization.

AuthenticationAuthorizationCustomer IdentityIdentity ManagementOAuthOpenID ConnectSingle Sign-OnMulti-Factor AuthenticationRole-Based Access ControlFeature FlagsBillingB2BSaaSDeveloper Platform

Properties

Name Type Description
id string
key string Stable permission key (e.g. `posts:read`, `billing:write`).
name string
description stringnull
View JSON Schema on GitHub

JSON Schema

kinde-permission-schema.json Raw ↑
{
  "$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"]
    }
  }
}