Currently in my typescript code (nestjs) I use the DTO in my controller to validate the data that goes into my API, the schemas are used as type in the rest of the files and