How would I turn this into a schema struct? There doesn't seem to be a callable/function schema type. Perhaps it's just not the right use case for a schema? I just want to enforce that a consumer passes in data in the correct shape, e.g classes that implement MyInterface or objects corresponding to the same shape.