{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/enterprise-wikimedia-com/json-schema/enterprise-wikimedia-com-new-password-required-schema.json",
  "title": "new_password_required",
  "description": "Tokens returned after completing the New Password Required flow",
  "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/new_password_required",
  "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"
    },
    "refresh_token": {
      "type": "string",
      "description": "JSON Web Token (JWT) used to obtain a new access token from the Token Refresh endpoint. Expires after 90 days"
    },
    "session": {
      "type": "string",
      "description": "Session token identifying this authentication session, used only in the New Password Required flow"
    },
    "expires_in": {
      "type": "integer",
      "description": "Number of seconds until the access token expires"
    }
  }
}