> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Reward (JSON)

> Reward (JSON)

# Reward (JSON)

與成就相關聯的獎勵。

<a id="ID4EN" />

## Reward

Reward 物件具有下列規格。

| 成員 | 類型 | 描述 |
| - | - | - |
| name | string | 顯示給使用者的獎勵名稱。 |
| description | string | 顯示給使用者的獎勵描述。 |
| value | string | 獎勵的值。 |
| type | RewardType 列舉 | 獎勵類型：<ul><li>invalid (0)：設定了未知且不支援的獎勵類型。</li><li>Gamerscore (1)：此獎勵會為玩家的玩家分數增加點數。</li><li>inApp (2)：此獎勵由遊戲定義並提供。</li><li>Art (3)：此獎勵是數位資產。</li></ul> |
| valueType | ProgressValueDataType 列舉 | 值的類型。如需詳細資訊，請參閱 [Requirement (JSON)](/zh-TW/reference/live/rest/json/json-requirement)。 |

<a id="ID4EBD" />

## 範例 JSON 語法

```json theme={null}
{
  "name":null,
  "description":null,
  "value":"10",
  "type":"Gamerscore",
  "valueType":"Int"
}

```

<a id="ID4EKD" />

## 另請參閱

<a id="ID4EMD" />

##### 上層

[JavaScript Object Notation (JSON) 物件參考](/zh-TW/reference/live/rest/json/atoc-xboxlivews-reference-json)


## Related topics

- [Reward Ad Activity](/api-reference/advertising/reward-ad-activity.md)
- [XblAchievementReward](/reference/live/xsapi-c/achievements_c/structs/xblachievementreward.md)
- [Configure XBOX achievement rewards](/services/xbox-services/player-data/achievements/title-managed/concepts/live-achievement-rewards.md)
- [獎勵廣告活動](/zh-TW/services/playfab/api-references/rest/client/advertising/reward-ad-activity.md)
- [광고 활동 보상](/ko/services/playfab/api-references/rest/client/advertising/reward-ad-activity.md)
