University of Zurich · JSON Structure

University Of Zurich Userinfo Structure

JSON Structure for the SWITCH edu-ID OpenID Connect UserInfo object used by UZH.

Type: object Properties: 22 Required: 1
EducationHigher EducationUniversitySwitzerlandOpen AccessResearch RepositoryOpen DataIdentity

EduIdUserInfo is a JSON Structure definition published by University of Zurich, describing 22 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

sub name given_name family_name gender birthdate locale email email_verified swissEduID swissEduIDUniqueID swissEduIDAssuranceLevel swissEduPersonUniqueID swissEduPersonMatriculationNumber swissEduPersonHomeOrganization swissEduPersonHomeOrganizationType eduPersonAffiliation eduPersonScopedAffiliation eduPersonPrincipalName eduPersonOrcid schacHomeOrganization schacHomeOrganizationType

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/university-of-zurich/main/json-structure/university-of-zurich-userinfo-structure.json",
  "name": "EduIdUserInfo",
  "type": "object",
  "description": "JSON Structure for the SWITCH edu-ID OpenID Connect UserInfo object used by UZH.",
  "properties": {
    "sub": { "type": "string" },
    "name": { "type": "string" },
    "given_name": { "type": "string" },
    "family_name": { "type": "string" },
    "gender": { "type": "string" },
    "birthdate": { "type": "string" },
    "locale": { "type": "string" },
    "email": { "type": "string" },
    "email_verified": { "type": "boolean" },
    "swissEduID": { "type": "string" },
    "swissEduIDUniqueID": { "type": "string" },
    "swissEduIDAssuranceLevel": { "type": "string" },
    "swissEduPersonUniqueID": { "type": "string" },
    "swissEduPersonMatriculationNumber": { "type": "string" },
    "swissEduPersonHomeOrganization": { "type": "string" },
    "swissEduPersonHomeOrganizationType": { "type": "string" },
    "eduPersonAffiliation": { "type": "array", "items": { "type": "string" } },
    "eduPersonScopedAffiliation": { "type": "array", "items": { "type": "string" } },
    "eduPersonPrincipalName": { "type": "string" },
    "eduPersonOrcid": { "type": "string" },
    "schacHomeOrganization": { "type": "string" },
    "schacHomeOrganizationType": { "type": "string" }
  },
  "required": ["sub"]
}