{"$schema":"http://json-schema.org/draft-07/schema#","title":"NTM 1.0.3 placement modifiers","type":"object","properties":{"placement":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","anyOf":[{"enum":["hbm:light_blocking_height","hbm:ore_host","hbm:world_config","hbmspace:descend_through_air"]},{"type":"string"}]}},"required":["type"],"allOf":[{"if":{"properties":{"type":{"const":"hbm:light_blocking_height"}},"required":["type"]},"then":{"type":"object"}},{"if":{"properties":{"type":{"const":"hbm:ore_host"}},"required":["type"]},"then":{"type":"object","properties":{"type":{"type":"string","description":"hbm:ore_host.","markdownDescription":"`hbm:ore_host`."},"host":{"type":"string","description":"Registered host block ID.","markdownDescription":"Registered host block ID."},"min_y":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Inclusive minimum ore-origin Y coordinate.\n\nRange: i32","markdownDescription":"Inclusive minimum ore-origin Y coordinate.\n\nRange: `i32`"},"max_y":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Inclusive maximum ore-origin Y coordinate.\n\nRange: i32","markdownDescription":"Inclusive maximum ore-origin Y coordinate.\n\nRange: `i32`"}},"required":["type","host","min_y","max_y"]}},{"if":{"properties":{"type":{"const":"hbm:world_config"}},"required":["type"]},"then":{"type":"object","properties":{"type":{"type":"string","description":"hbm:world_config.","markdownDescription":"`hbm:world_config`."},"switches":{"type":"array","items":{"type":"string","enum":["overworld_ores","nether_ores","end_ores","coltan_spawn","nether_plutonium"]},"description":"World-generation switches that must all be enabled.","markdownDescription":"World-generation switches that must all be enabled."}},"required":["type","switches"]}},{"if":{"properties":{"type":{"const":"hbmspace:descend_through_air"}},"required":["type"]},"then":{"type":"object","properties":{"type":{"type":"string","description":"hbmspace:descend_through_air.","markdownDescription":"`hbmspace:descend_through_air`."},"floor":{"type":"integer","minimum":-2147483648,"maximum":2147483647,"description":"Lowest Y.\n\nRange: i32","markdownDescription":"Lowest Y.\n\nRange: `i32`"}},"required":["type","floor"]}},{"if":{"properties":{"type":{"const":"leafia:oily_coal_overworld"}},"required":["type"]},"then":{"not":{},"errorMessage":"`leafia:oily_coal_overworld` requires Cursed, which has no release for NTM 1.0.3.","doNotSuggest":true}}]}}}}