Skip to content

Instantly share code, notes, and snippets.

@geszes
Last active February 9, 2017 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save geszes/a889d023a3a26a763c6f to your computer and use it in GitHub Desktop.
Save geszes/a889d023a3a26a763c6f to your computer and use it in GitHub Desktop.
schemas that describe data for people or users
Comparison of schemas representing persons.
----
See also:
[1] https://spaces.internet2.edu/display/cifer/SOR-Registry+Core+Schema+Strawman
----
MACE eduPerson
http://macedir.org/specs/eduperson/
eduPersonAffiliation
eduPersonEntitlement
eduPersonNickname
eduPersonOrgDN
eduPersonOrgUnitDN
eduPersonPrimaryAffiliation
eduPersonPrimaryOrgUnitDN
eduPersonPrincipalName
eduPersonPrincipalNamePrior
eduPersonScopedAffiliation
eduPersonTargetedID
eduPersonAssurance
eduPersonUniqueId
Other ldap schemas referenced in eduPerson document
person:cn
inetOrgPerson:displayName
orgPerson:facsimileTelephoneNumber
inetOrgPerson:givenName
inetOrgPerson:homePhone
inetOrgPerson:homePostalAddress
inetOrgPerson:initials
inetOrgPerson:jpegPhoto
orgPerson:l
inetOrgPerson:labeledURI
inetOrgPerson:mail
inetOrgPerson:mobile
inetOrgPerson:o
orgPerson:ou
orgPerson:postalAddress
orgPerson:postalCode
orgPerson:postOfficeBox
inetOrgPerson:preferredLanguage
person:sn
orgPerson:st
orgPerson:street
person:telephoneNumber
orgPerson:title
inetOrgPerson:uid
RFC4524:uniqueIdentifier
----
OpenID Connect
http://openid.net/specs/openid-connect-basic-1_0.html#StandardClaims
name - display name ordered according to locale and preferences
given_name
family_name
middle_name
nickname
preferred_username
email
gender
birthdate
zoneinfo
locale
phone_number
address {
formatted - full "mailing label" address
street_address
locality
region
postal_code
country
}
----
vCard (RFC 6350)
http://tools.ietf.org/html/rfc6350#section-6.2
FN - formatted name
N - elements of name in sub-fields
NICKNAME
----
W3C Contact Manager
http://www.w3.org/TR/contacts-manager-api/
displayName (== vCard:FN)
familyNames (== vCard:N[0])
givenNames (== vCard:N[1])
additionalNames (== vCard:N[2])
honorificPrefixes (== vCard:N[3])
honorificSuffix (== vCard:N[4])
nicknames (== vCard:NICKNAME)
id
emails
photos
urls
addresses
phoneNumbers
organizations
jobTitles
birthday
gender
----
Facebook Graph API - User
https://developers.facebook.com/docs/graph-api/reference/user
id - targeted id
birthday
first_name
last_name
middle_name
name
name_format (formatted to chinese, japenese, korean locale if needed)
locale
timezone (offset from UTC)
gender
hometown
website
----
Google+ Platform - Person
https://developers.google.com/+/web/api/rest/latest/people
id
displayName
name {
name.formatted
name.familyName
name.givenName
name.middleName
name.honorificPrefix
name.honorificSuffix
}
nickname
birthday
gender
url
image {
image.url
}
----
CIFER SOR-to-Registry Core Schema Specification
https://spaces.internet2.edu/display/cifer/SOR-Registry+Core+Schema+Specification
address {
address/country
address/formatted - full "mailing label" address
address/language
address/locality
address/postalCode
address/region
address/room
address/streetAddress (formerly address/street)
address/type (one of: campus, home, office, parent, postal, summer)
address/verified (boolean)
}
citizenship
dateOfBirth
emailAddress {
emailAddress/address
emailAddress/type (one of: delivery, department, forwarding, official, personal, preferred)
emailAddress/verified (boolean)
}
ethnicity
gender
identifier {
identifier/identifier - string value
identifier/type (one of: badge, badge-barcode, badge-chip, badge-magstripe, enterprise, national, network,
referenceId, role, role-affiliate, role-alumni, role-employee, role-guest, role-student,
sor, sor-affiliate, sor-alumni, sor-employee, sor-guest, sor-student)
}
identityProof {
identityProof/dateOfBirth
identityProof/documentIssuer
identityProof/documentType (one of: driversLicense, national, passport, regional, tribal)
identityProof/fullName
identityProof/status (one of: expired, invalid, valid)
identityProof/timeVerified
identityProof/verifiedAddress
}
name {
name/family
name/formatted
name/given
name/language
name/middle
name/prefix
name/suffix
name/type (one of: author, fka, official, preferred)
}
photo {
photo/binary
photo/encoding - file type, mimetype
}
primaryAffiliation
primaryCampus
telephoneNumber {
telephoneNumber/number
telephoneNumber/type (one of: campus, fax, home, mobile, office, summer)
telephoneNumber/verified
}
test (boolean) - if entry is test entry
url {
url/type (one of: official, personal)
url/url
}
visa - visa classification
----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment