How do you generate JSON schemas for validation, from Typescript interfaces?

Hi there.

If you generate JSON schemas from Typescript interfaces, how do you do?

The purpose is to use the schemas for JSON validation.

/Thanks