{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-consent-token-response-schema.json",
  "title": "ConsentTokenResponse",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-oauth-protocol-api-openapi.yml#/components/schemas/ConsentTokenResponse",
  "properties": {
    "data": {
      "properties": {
        "client_id": {
          "description": "Client ID",
          "type": "string"
        },
        "logo_uri": {
          "description": "URL of the client logo",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "description": "Client name",
          "type": "string"
        },
        "policy_uri": {
          "description": "URL of the client's privacy policy",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "redirect_uri": {
          "description": "The redirect URI for this authorization",
          "format": "uri",
          "type": "string"
        },
        "requested_scopes": {
          "items": {
            "properties": {
              "description": {
                "description": "Scope description",
                "type": "string"
              },
              "id": {
                "description": "Scope ID",
                "type": "string"
              },
              "name": {
                "description": "Scope name",
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "tos_uri": {
          "description": "URL of the client's terms of service",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "verified": {
          "description": "Whether the client is verified",
          "type": "boolean"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}