Added sessionID and userID to session schema

This commit is contained in:
Michael Schmatz 2014-02-17 12:43:54 -08:00
parent 8c217ab621
commit 2be3286e06

View file

@ -167,10 +167,14 @@ _.extend LevelSessionSchema.properties,
items:
type: 'object'
properties:
id:
sessionID:
title: 'Opponent Session ID'
description: 'The session ID of an opponent.'
type: ['object', 'string']
userID:
title: 'Opponent User ID'
description: 'The user ID of an opponent'
type: ['object','string']
codeSubmitDate: c.date
title: 'Submitted'
description: 'The date which the opponent submitted their session (used to check if the match can be replayed)'