implemented schema headers parsing