Thank you @frodrigo for this PR. Tests are looking good.
Read the layer documentation at http://openmaptiles.org/schema#building