{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deadsimple-email/json-schema/deadsimple-email-identity-client-registration-schema.json",
  "title": "IdentityClientRegistration",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deadsimple-email-openapi.json#/components/schemas/IdentityClientRegistration",
  "type": "object",
  "required": [
    "redirect_uris"
  ],
  "properties": {
    "client_name": {
      "type": "string"
    },
    "client_uri": {
      "type": "string"
    },
    "logo_uri": {
      "type": "string"
    },
    "policy_uri": {
      "type": "string"
    },
    "tos_uri": {
      "type": "string"
    },
    "redirect_uris": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string"
      },
      "description": "https, loopback http, or app-scheme URLs."
    },
    "scope": {
      "type": "string",
      "default": "openid email profile owner_email org",
      "description": "Any of openid, email, profile, owner_email, org, offline_access. openid is always included."
    },
    "token_endpoint_auth_method": {
      "type": "string",
      "enum": [
        "none",
        "client_secret_basic",
        "client_secret_post"
      ],
      "default": "client_secret_basic"
    }
  }
}