Creating a schema struct for an interface with a function property in Effect Typescript - Effect Community