{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/softsync-ai/json-schema/softsync-ai-oauth-exchange-dto-schema.json",
  "title": "OAuthExchangeDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/softsync-ai-api-keys-api-openapi.yml#/components/schemas/OAuthExchangeDto",
  "type": "object",
  "properties": {
    "clientId": {
      "type": "string"
    },
    "clientSecret": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "codeVerifier": {
      "type": "string",
      "description": "PKCE code verifier"
    },
    "redirectUri": {
      "type": "string",
      "description": "Must match the redirect_uri used at authorization"
    },
    "resource": {
      "type": "string",
      "description": "RFC 8707 resource indicator"
    }
  },
  "required": [
    "clientId",
    "clientSecret",
    "code"
  ]
}