Yeah, just like that! To be complete, here is an example:
{
type = "recipe",
name = "check-valve",
energy_required = 2,
enabled = false,
ingredients = {
{type = "item", name = "iron-plate", amount = 1},
{type = "item", name = "iron-gear-wheel", amount = 1},
{type = "item", name = "pipe", amount = 1}
},
results = {
{type = "item", name = "check-valve", amount = 1}
}
}
Unless I made some typo. 😉