Select or create Categories for an Achievement, select Achievements that will depend on this Achievement, and add metadata.
DEPENDENT ON fields
EXAMPLES
» Category Array [String]
Optional
Enables you to filter the Achievement in the back office. Multiple categories can be created for the same Achievement. |
» Dependent On Array [Object]
Optional
You can specify a particular Achievement (by Name) as a requirement to be eligible for another / current Achievement. Dependency on another achievement can be a Must, Should or Must-not. ‘Dependent on’ Achievements cannot be seen by the player. This lets you build complex Achievement trees to meet your goals.
Example:
|
*» Minimum Should Match Integer
Mandatory
This field only appears when a Should dependency has been selected. The value indicates how many Should Achievements need to be achieved before getting the main one. |
» Metadata Array [Object]
Optional
Optional information section you can use to store reference information. |
APP Example:
Category | Returning |
Dependent On | N/A |
Metadata: Key | Login |
Metadata: Value | 1 |
API Example:
{ "jsonClass": "Achievement", ... "category": [ "Returning" ], "dependantOn": [], "metadata": [ { "jsonClass": "Metadata", "key": "Login", "value": "1" } ], ... }
APP Example 2:
Category | Returning |
Dependent On | MUST: Win 10 times SHOULD: BET 10 times SHOULD: SPIN 10 times MUST-NOT: VIP 1 |
Minimum Should Match | 1 |
Metadata: Key | Login |
Metadata: Value | 1 |
API Example 2:
{
"jsonClass": "Achievement",
...
"category": [
"Returning"
],
"dependantOn": [
{
"achievementId": "8YHbJG0Be43iAGUC7oFF",
"linkType": "Must"
},
{
"achievementId": "9oHcJG0Be43iAGUC2YEh",
"linkType": "Should"
},
{
"achievementId": "yANM6WYBieifaqlsWaYR",
"linkType": "Should"
},
{
"achievementId": "KOyUjGYBZ-qHKtWi5vx1",
"linkType": "Must-Not"
}
],
"minimumShouldMatch": 1,
"metadata": [
{
"jsonClass": "Metadata",
"key": "Login",
"value": "2"
}
],
...
}