{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-google-code-auth-dto-schema.json",
  "title": "GoogleCodeAuthDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ditto-audio-auth-api-openapi.yml#/components/schemas/GoogleCodeAuthDto",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Authorization code from the redirect"
    },
    "codeVerifier": {
      "type": "string",
      "description": "PKCE code_verifier (RFC 7636: 43-128 unreserved characters)"
    },
    "redirectUri": {
      "type": "string",
      "description": "The redirect_uri the authorization request used"
    },
    "nonce": {
      "type": "string",
      "description": "The nonce the authorization request carried; must come back in the ID token"
    }
  },
  "required": [
    "code",
    "codeVerifier",
    "redirectUri",
    "nonce"
  ]
}