The file catalog metadata schema is defined by the user at runtime by calling createMetaDataSpec.

One catalog can associated with only one metadata schema. And for XML catalog, metadata schema can only be defined for a new catalog.