{
    "feature": "minecraft:swamp_oak",
    "placement": [
        {
            "type": "minecraft:rarity_filter",
            "chance": 2
        },
        {
            "type": "minecraft:count",
            "count": 1
        },
        {
            "type": "minecraft:in_square"
        },
        {
            "type": "minecraft:surface_water_depth_filter",
            "max_water_depth": 2
        },
        {
            "type": "minecraft:heightmap",
            "heightmap": "OCEAN_FLOOR"
        },
        {
            "type": "minecraft:biome"
        },
        {
            "type": "minecraft:block_predicate_filter",
            "predicate": {
                "type": "minecraft:would_survive",
                "state": {
                    "Name": "minecraft:oak_sapling",
                    "Properties": {
                        "stage": "0"
                    }
                }
            }
        }
    ]
}