{
    "definitions": {
        "CompletedSpartanRank": {
            "$schema": "http://json-schema.org/draft-04/schema#",
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "Id": {
                    "type": "string"
                },
                "PacksAwarded": {
                    "type": "integer"
                }
            },
            "required": [
                "Id",
                "PacksAwarded"
            ]
        }
    },
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": [
        "object",
        "null"
    ],
    "additionalProperties": false,
    "properties": {
        "PreviousTotalXP": {
            "type": "integer"
        },
        "GameplayXP": {
            "type": "integer"
        },
        "ChallengesXP": {
            "type": "integer"
        },
        "UpdatedTotalXP": {
            "type": "integer"
        },
        "CompletedSpartanRanks": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/CompletedSpartanRank"
            }
        }
    },
    "required": [
        "PreviousTotalXP",
        "GameplayXP",
        "ChallengesXP",
        "UpdatedTotalXP",
        "CompletedSpartanRanks"
    ]
}