{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/enterprise-wikimedia-com/json-schema/enterprise-wikimedia-com-refresh-token-schema.json",
  "title": "refresh_token",
  "description": "Tokens returned after refreshing an access token",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/enterprise-wikimedia-com-authentication-api-openapi.yml#/components/schemas/refresh_token",
  "type": "object",
  "properties": {
    "id_token": {
      "type": "string",
      "description": "JSON Web Token (JWT) identifying the owner of the Wikimedia Enterprise account. Not used to authorize API requests"
    },
    "access_token": {
      "type": "string",
      "description": "JSON Web Token (JWT) that authorizes API requests. Send it as a Bearer token in the Authorization header. Expires after 24 hours"
    },
    "expires_in": {
      "type": "integer",
      "description": "Number of seconds until the access token expires"
    }
  }
}