How to add CustomLayer in the MapApp?

In the SP2023R2 you can add a CustomLayer in the MapApp as a source. To do this, you can add a zip file.
Because I cannot find it in the documentation:

What are the specs for the zip file to use as a customlayer?