Reward (JSON)

The reward associated with the achievement.

Reward

The Reward object has the following specification.

Member Type Description
name string The user-facing name of the Reward.
description string The user-facing description of the Reward.
value string The Reward's value.
type RewardType enumeration The Reward type:
  • invalid (0): An unknown and unsupported reward type was configured.
  • Gamerscore (1): The reward adds points to the player's Gamerscore.
  • inApp (2): The reward is defined and delivered by the title.
  • Art (3): The reward is a digital asset.
valueType ProgressValueDataType enumeration The type of value. See Requirement (JSON) for more information.

Sample JSON syntax

{
  "name":null,
  "description":null,
  "value":"10",
  "type":"Gamerscore",
  "valueType":"Int"
}

See also

Parent

JavaScript Object Notation (JSON) Object Reference