{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-oauth-client-create-request-schema.json", "title": "OAuthClientCreateRequest", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/telnyx-oauth-clients-api-openapi.yml#/components/schemas/OAuthClientCreateRequest", "additionalProperties": false, "properties": { "allowed_grant_types": { "description": "List of allowed OAuth grant types", "items": { "enum": [ "client_credentials", "authorization_code", "refresh_token" ], "type": "string" }, "type": "array" }, "allowed_scopes": { "description": "List of allowed OAuth scopes", "items": { "type": "string" }, "type": "array" }, "client_type": { "description": "OAuth client type", "enum": [ "public", "confidential" ], "type": "string" }, "logo_uri": { "description": "URL of the client logo", "format": "uri", "type": "string" }, "name": { "description": "The name of the OAuth client", "type": "string" }, "policy_uri": { "description": "URL of the client's privacy policy", "format": "uri", "type": "string" }, "redirect_uris": { "default": [], "description": "List of redirect URIs (required for authorization_code flow)", "items": { "format": "uri", "type": "string" }, "type": "array" }, "require_pkce": { "default": false, "description": "Whether PKCE (Proof Key for Code Exchange) is required for this client", "type": "boolean" }, "tos_uri": { "description": "URL of the client's terms of service", "format": "uri", "type": "string" } }, "required": [ "name", "allowed_scopes", "client_type", "allowed_grant_types" ], "type": "object" }