{
  "type": "array",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "",
  "minItems": 1,
  "uniqueItems": true,
  "items": {
    "type": "object",
    "required": [
      "type",
      "name",
      "description",
      "iconImageUrl",
      "levels",
      "requiredLevels",
      "category",
      "enabled",
      "id",
      "contentId"
    ],
    "properties": {
      "type": {
        "type": "string",
        "minLength": 1
      },
      "name": {
        "type": "string",
        "minLength": 1
      },
      "description": {
        "type": "string",
        "minLength": 1
      },
      "iconImageUrl": {
        "type": "string",
        "minLength": 1
      },
      "levels": {
        "type": "array",
        "uniqueItems": true,
        "minItems": 0,
        "items": {
          "required": [
            "threshold",
            "id",
            "contentId"
          ],
          "properties": {
            "reward": {
              "type": "object",
              "properties": {
                "xp": {
                  "type": "number"
                },
                "requisitionPacks": {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 0,
                  "items": {
                    "required": [
                      "name",
                      "description",
                      "largeImageUrl",
                      "isFeatured",
                      "isNew",
                      "creditPrice",
                      "isPurchasableWithCredits",
                      "isPurchasableFromMarketplace",
                      "merchandisingOrder",
                      "id",
                      "contentId"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1
                      },
                      "description": {
                        "type": "string",
                        "minLength": 1
                      },
                      "largeImageUrl": {
                        "type": "string",
                        "minLength": 1
                      },
                      "isFeatured": {
                        "type": "boolean"
                      },
                      "isNew": {
                        "type": "boolean"
                      },
                      "creditPrice": {
                        "type": "number"
                      },
                      "isPurchasableWithCredits": {
                        "type": "boolean"
                      },
                      "isPurchasableFromMarketplace": {
                        "type": "boolean"
                      },
                      "xboxMarketplaceProductId": {},
                      "xboxMarketplaceProductUrl": {},
                      "merchandisingOrder": {
                        "type": "number"
                      },
                      "flair": {},
                      "id": {
                        "type": "string",
                        "minLength": 1
                      },
                      "contentId": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                },
                "id": {
                  "type": "string",
                  "minLength": 1
                },
                "contentId": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "xp",
                "requisitionPacks",
                "id",
                "contentId"
              ]
            },
            "threshold": {
              "type": "number"
            },
            "id": {
              "type": "string",
              "minLength": 1
            },
            "contentId": {
              "type": "string",
              "minLength": 1
            }
          }
        }
      },
      "requiredLevels": {
        "type": "array",
        "items": {
          "required": [],
          "properties": {}
        }
      },
      "reward": {},
      "category": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1
          },
          "iconImageUrl": {
            "type": "string",
            "minLength": 1
          },
          "order": {
            "type": "number"
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "contentId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "name",
          "iconImageUrl",
          "order",
          "id",
          "contentId"
        ]
      },
      "enabled": {
        "type": "boolean"
      },
      "id": {
        "type": "string",
        "minLength": 1
      },
      "contentId": {
        "type": "string",
        "minLength": 1
      }
    }
  }
}
