> ## 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)

La recompensa asociada al logro.

## Reward

El objeto Reward tiene la siguiente especificación.

| Miembro | Tipo | Descripción |
| - | - | - |
| name | string | Nombre de la recompensa visible para el usuario. |
| description | string | Descripción de la recompensa visible para el usuario. |
| value | string | El valor de la recompensa. |
| type | Enumeración RewardType | El tipo de recompensa: <ul><li>invalid (0): se configuró un tipo de recompensa desconocido y no admitido.</li><li>Gamerscore (1): la recompensa agrega puntos al gamerscore del jugador.</li><li>inApp (2): la recompensa la define y entrega el título.</li><li>Art (3): la recompensa es un recurso digital.</li></ul> |
| valueType | Enumeración ProgressValueDataType | El tipo de valor. Consulte [Requirement (JSON)](https://devdocs.xbox.com/es/reference/live/rest/json/json-requirement) para obtener más información. |

## Ejemplo de sintaxis JSON

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

```

## Consulte también

##### Elemento primario

[Referencia de objetos de notación de objetos JavaScript (JSON)](https://devdocs.xbox.com/es/reference/live/rest/json/atoc-xboxlivews-reference-json)


## Related topics

- [Reward Ad Activity](https://devdocs.xbox.com/services/playfab/api-references/rest/client/advertising/reward-ad-activity.md)
- [XblAchievementReward](https://devdocs.xbox.com/reference/live/xsapi-c/achievements_c/structs/xblachievementreward.md)
- [Configure Xbox achievement rewards](https://devdocs.xbox.com/services/xbox-services/player-data/achievements/title-managed/concepts/live-achievement-rewards.md)
- [Recompensar atividade de anúncios](https://devdocs.xbox.com/pt-BR/services/playfab/api-references/rest/client/advertising/reward-ad-activity.md)
- [Recompensar actividad de anuncios](https://devdocs.xbox.com/es/services/playfab/api-references/rest/client/advertising/reward-ad-activity.md)
