In both cases only a relatively small part of all defined attributes is of practical use in (inter-)federated scenarios.
"eduPerson is a Lightweight Directory Access Protocol (LDAP) schema designed to include widely-used person and organizational attributes in higher education. The eduPerson object class provides a common list of attributes and definitions, drawing on the existing standards in higher education." (via Internet2)
SCHAC, the SCHema for ACademia, has defined attributes for all kinds of use-cases, with all kinds of syntaxes, controlled vocabularies, name and value registries, country naming authorities, etc.pp. Current releases of the specfication (as well as past ones) are available on the REFEDS wiki.