How to create a function using the functions API in databricks?

chinmay0924
New Contributor III

https://docs.databricks.com/api/workspace/functions/create

This documentation gives the sample request payload, and one of the fields is type_json, and there is very little explanation of what is expected in this field. What am I supposed to pass here?