+ "type": "object",
+ "required": [
+ "identifier",
+ "name",
+ "description",
+ "localPrice",
+ "originalPrice",
+ "currency"
+ ],
+ "additionalProperties": false,
+ "properties": {
+
+ "promoted": {
+ "description": "If this product is the currently promoted/visible one",
+ "type": "boolean"
+ },
+
+ "identifier": {
+ "description": "Internal key",
+ "type": "string",
+ "examples": [
+ "full_version"
+ ]
+ },
+
+ "name": {
+ "description": "Human readable name",
+ "type": "string",
+ "examples": [
+ "Unlock full game"
+ ]
+ },
+
+ "description": {
+ "description": "Explanation of the features you will buy",
+ "type": "string"
+ },
+
+ "localPrice": {
+ "description": "Current price (maybe discounted)",
+ "type": "number"
+ },
+
+ "originalPrice": {
+ "description": "Previous price",
+ "type": "number"
+ },
+
+ "currency": {
+ "description": "Three-letter currency code, depending on the player that was logged in",
+ "type": "string",
+ "enum": ["EUR", "USD"]
+ }
+ }