Mapbox: including geojson sources and layers to a map

Hi, I need some help.
Could you give me an example of how to include a geojson in sources and create a layer from it including the layout and paint properties. I really couldn’t find any material on this.
Thank you very much.

SOLVED