{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vmware-tanzu/json-schema/vmware-tanzu-token-response-schema.json",
  "title": "TokenResponse",
  "description": "OAuth access token response from CSP token exchange.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vmware-tanzu-authentication-api-openapi.yml#/components/schemas/TokenResponse",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "Short-lived Bearer access token. Use in csp-auth-token header."
    },
    "token_type": {
      "type": "string",
      "description": "Token type (always bearer)."
    },
    "expires_in": {
      "type": "integer",
      "description": "Token lifetime in seconds."
    },
    "scope": {
      "type": "string"
    }
  }
}