# SubmitLeaderboardScoreResponse

- [JSON representation](https://developer.android.com/games/services/web/api/rest/v1/SubmitLeaderboardScoreResponse#SCHEMA_REPRESENTATION)
- [PlayerScore](https://developer.android.com/games/services/web/api/rest/v1/SubmitLeaderboardScoreResponse#PlayerScore)
  - [JSON representation](https://developer.android.com/games/services/web/api/rest/v1/SubmitLeaderboardScoreResponse#PlayerScore.SCHEMA_REPRESENTATION)

A list of leaderboard entry resources.

|                                                                                                                                                                         JSON representation                                                                                                                                                                         |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ``` { "kind": string, "beatenScoreTimeSpans": [ enum (https://developer.android.com/games/services/web/api/rest/v1/scores#ScoreTimeSpan) ], "unbeatenScores": [ { object (https://developer.android.com/games/services/web/api/rest/v1/SubmitLeaderboardScoreResponse#PlayerScore) } ], "formattedScore": string, "leaderboardId": string, "scoreTag": string } ``` |

|                                                                                                                                                                                      Fields                                                                                                                                                                                      ||
|--------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `kind`                   | `string` Uniquely identifies the type of this resource. Value is always the fixed string`games#playerScoreResponse`.                                                                                                                                                                                                                                   |
| `beatenScoreTimeSpans[]` | `enum (`[ScoreTimeSpan](https://developer.android.com/games/services/web/api/rest/v1/scores#ScoreTimeSpan)`)` The time spans where the submitted score is better than the existing score for that time span.                                                                                                                                           |
| `unbeatenScores[]`       | `object (`[PlayerScore](https://developer.android.com/games/services/web/api/rest/v1/SubmitLeaderboardScoreResponse#PlayerScore)`)` The scores in time spans that have not been beaten. As an example, the submitted score may be better than the player's`DAILY`score, but not better than the player's scores for the`WEEKLY`or`ALL_TIME`time spans. |
| `formattedScore`         | `string` The formatted value of the submitted score.                                                                                                                                                                                                                                                                                                   |
| `leaderboardId`          | `string` The leaderboard ID that this score was submitted to.                                                                                                                                                                                                                                                                                          |
| `scoreTag`               | `string` Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.                                                                                                                                                                                                       |

## PlayerScore

A player score.

|                                                                                       JSON representation                                                                                       |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ``` { "kind": string, "timeSpan": enum (https://developer.android.com/games/services/web/api/rest/v1/scores#ScoreTimeSpan), "score": string, "formattedScore": string, "scoreTag": string } ``` |

|                                                                                Fields                                                                                ||
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
| `kind`           | `string` Uniquely identifies the type of this resource. Value is always the fixed string`games#playerScore`.                                       |
| `timeSpan`       | `enum (`[ScoreTimeSpan](https://developer.android.com/games/services/web/api/rest/v1/scores#ScoreTimeSpan)`)` The time span for this player score. |
| `score`          | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The numerical value for this player score.                     |
| `formattedScore` | `string` The formatted score for this player score.                                                                                                |
| `scoreTag`       | `string` Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.   |