It’s easy to generate a schema and a class for a JSON instance file.
- You need a JSON schema if you create a Logic App starting with a Request. The Request action needs an input schema. Go to website https://jsonschema.net/.
- You need a class when you create a Web App or an API App and you need to define the model. Go to website https://jsonutils.com/.
The process is self-explaining in both cases.