Format of "package-info.json"

Klangschmied's icon

I want to build a package and then put in the "packages"-folder (without the official package-manager. How is the format of the
"package-info.json" and is there a script to generate it out of the package-files?