You're seeing just the function encode, go back to Forage.Codec.Encoder module for more information.

Encodes a forage plan into a params map.

This function doesn't need to take the schema as an argument because it will never have to convert a string into an atom (the params map contains only strings and never atoms)