Schema upload is not working. Any suggestion?

I am not able to upload my schema files. Initially I thought that my json was incorrect and I created one with simple a simple json {“a”:“b”} and it does not work.

Any help?

The schema json format is very specific. You can see an example if you create a schema in your browser and export it as json. Uploading schema JSON is primarily used to create and restore offline backups of your schemas, not to create new ones.

How can we upload a Schema via. API?