{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-refresh-token-schema.json",
  "title": "RefreshToken",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snyk-oauth2-api-openapi.yml#/components/schemas/RefreshToken",
  "type": "object",
  "properties": {
    "grant_type": {
      "description": "The type of grant used in the request. Use `refresh_token` to exchange a refresh token for a new access token and refresh token pair.",
      "type": "string",
      "enum": [
        "refresh_token"
      ]
    },
    "client_secret": {
      "description": "The client secret of the client application.",
      "type": "string"
    },
    "refresh_token": {
      "description": "A previously issued refresh token. This token will be consumed when it is used here so cannot be reused.",
      "type": "string"
    }
  },
  "required": [
    "grant_type",
    "client_secret",
    "refresh_token"
  ]
}