diff --git a/server/src/external/mongo/schemas.ts b/server/src/external/mongo/schemas.ts index 263df8bfe..dfbf27036 100644 --- a/server/src/external/mongo/schemas.ts +++ b/server/src/external/mongo/schemas.ts @@ -397,7 +397,10 @@ export const DatabaseSchemas: Record = { return prSchemaify( Object.assign(PR_GameStats(game, playtype, gptConfig), { rankings: Object.fromEntries( - gptConfig.profileRatingAlgs.map((e) => [e, p.isPositiveNonZeroInteger]) + gptConfig.profileRatingAlgs.map((e) => [ + e, + { outOf: p.isPositiveNonZeroInteger, ranking: p.isPositiveNonZeroInteger }, + ]) ), playcount: p.isPositiveInteger, timestamp: p.isPositive,