Generate classes based on external schema to import as batch

Hi there

Where can I find API documentation that will explain how to create json class definitions to import? We are using schemas from an external system to define the Pimcore classes but I need something like and XSD or a schem that will explain what format the json should be in?

Thank you.