I have a project where we are consuming a REST api from another company. They have provided an XSD that defines the various objects/elements, along with their attributes, etc.