I have manually checked if the exported metadata is compatible with the schema in this online validator
We need to test it automatically.
We also need to test broken one, i.e. missing required field.
It's because if required keyword is not present, it validates with any object.