This is a python script to convert protobuf to json schema.
First you need to compile proto to python modules, then use this script to convert messages in the python modules to json schema.
The script file is Protos/Proto2JsonSchema.py and is written in Python3. Other files are examples.
To run this script, make sure the path of google protobuf python modules is included in your PYTHONPATH. And you can see all command line arguments with argument -h.