Se è presente l'attributo 'ref', gli attributi 'type' e gli elementi 'complexType', 'simpleType', 'key', 'keyref' e 'unique' ...