{
  "parent": "minecraft:recipes/root",
  "rewards": {
    "recipes": [
      "minecraft:chest"
    ]
  },
  "criteria": {
    "has_the_recipe": {
      "trigger": "minecraft:recipe_unlocked",
      "conditions": {
        "recipe": "chest"
      }
    },
    "has_lots_of_items": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [],
        "slots": {
          "occupied": {
            "min": 10
          }
        }
      }
    }
  },
  "requirements": [
    [
      "has_the_recipe",
      "has_lots_of_items"
    ]
  ]
}