(PDB-1043) Added validation for top-level extract fields.

* Added validation for top-level extract fields
* Covered it with tests