move schema into recipe