Skip to content

Player Report Data Type (application json)

detsam edited this page Nov 30, 2012 · 6 revisions

Player Report Data Type Refernce

Type Refernce

Simple JSON object. Root statistic type.

{
  'reportId'       : [UUID, report id same as player id],
  'playerName'     : [String, player name],
  'gamesStatistic' : [{ list of  Match Reports }];
}

See also

  • [Match Report Data](./Match-Report-Data-Type-(application-json))
  • [Match Result Object](./Match-Result-Data-Type-(application-json))

Example

{
  'reportId'       : 'aabc15-ff0011-bb24eda-aab1024',
  'playerName'     : 'R2D2',
  'gamesStatistic' : [
    {
      'reportId' : 'aaff156f-bb24eda-abcdef-ff0011-aaff156f',
      'result'   : {
          'winner'       : 'R2D2',
          'ricoshets'    : 24,
          'maxBallSpeed' : 54
      }
    },
    {
      'reportId' : 'abcdef-121123-afggddee-203456-aaff156f',
      'result'   : {
          'winner'       : 'Nikro',
          'ricoshets'    : 32,
          'maxBallSpeed' : 78
      }
    }
   ];
}