{
  "$id": "blockception.minecraft.behavior.loot_tables.enchant_with_levels",
  "additionalProperties": false,
  "description": "The function enchant_with_levels",
  "title": "Enchant With Levels",
  "type": "object",
  "properties": {
    "function": {
      "type": "string",
      "const": "enchant_with_levels",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "title": "Function"
    },
    "levels": {
      "title": "Levels",
      "description": "UNDOCUMENTED",
      "$comment": "UNDOCUMENTED",
      "oneOf": [
        { "type": "integer" },
        {
          "type": "object",
          "additionalProperties": false,
          "required": ["min", "max"],
          "properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } }
        }
      ]
    },
    "treasure": { "type": "boolean", "title": "Treasure", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
  }
}
