You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Definitionen av ESI

https://wiki.geant.org/display/SM/European+Student+Identifier:

ESI with nation-wide (or region-wide) scope student code :

urn:schac:personalUniqueCode:int:esi:<country-code>:<code>

ESI with HEI-wide scope student code :

urn:schac:personalUniqueCode:int:esi:<sHO>:<code>

Where:

  • <country-code> is a valid ISO 3166 country code identifier to qualify the student code with so that it uniquely identifies the student within the Member State (officially assigned ISO 3166-1 alpha-2 country code) or administrative division (e.g. province or state; ISO 3166-2 code), where applicable.
  • <sHO> is the Higher Education Institution's schacHomeOrganization value (possibly further qualified with the organisational unit issuing the student code). Required if the student code is issued by the Home Organization of the student (or one of its org units) and there can be no guarantee that it uniquely identifies the student within the Member State or administrative division.
  • <code> is a string that uniquely identifies the student within the scope that it has been issued. It has to satisfy the requirements for strings to be used in URNs according to RFC 2141, sections 2.2 to 2.4.
  • The complete schacPersonalUniqueCode attribute value for the ESI does not exceed 255 characters in length.

Examples

Non-normative examples for both forms:

  • ESI with nation-wide scope student codes :
    urn:schac:personalUniqueCode:int:esi:hr:xxxxxxxxxx
  • ESI with HEI-wide scope student codes :
    urn:schac:personalUniqueCode:int:esi:example.edu:xxxxxxxxxx
    urn:schac:personalUniqueCode:int:esi:math.example.edu:xxxxxxxxxx

StudentUID från Ladok

I Ladok finns ett internt StudentUID för varje student. Värdet kommer ursprungligen från UHR:s studenttjänst och samordnas med NyA/Antagning.se.

Från https://wiki.refeds.org/display/STAN/SCHAC+Releases:

#
# schacPersonalUniqueCode
#
# Descrip: Specifies a "unique code" for the subject it is associated with.
# Its value does not necessarily correspond to any identifier
# outside the scope of the directories using this schema.
#
# This might be Student number, Employee number,...
#
# Format: urn:mace:terena.org:schac:personalUniqueCode:<country-code>:<iNSS>
#
# - The <country-code> must be a valid two-letter ISO 3166 country
# code identifier or the string "int", and assigned by the TERENA
# URN Registry for this attribute at
# http://www.terena.org/registry/terena.org/schac/personalUniqueCode/
#
# - <iNSS> is a Namespace Specific String as defined in RFC 2141
# but case insensitive.
#
# Example: Common Values:
#
# urn:mace:terena.org:schac:personalUniqueCode:int:studentID:<country-code>:<code>
#
# National extensions:
#
# urn:mace:terena.org:schac:personalUniqueCode:fi:tut.fi:hetu:010161-995A
# urn:mace:terena.org:schac:personalUniqueCode:es:uma:estudiante:a3b123c12
# urn:mace:terena.org:schac:personalUniqueCode:se:LIN:87654321
#
attributetype ( schacAttributeType:14
NAME 'schacPersonalUniqueCode'
DESC 'unique code for the subject'
EQUALITY caseIgnoreMatch
ORDERING caseIgnoreOrderingMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

StudentUID i Ladok är ett uuid, exempelvis 9e342e78-5b6c-4902-966e-50e28a21e601. StudentUID ska läggas

schacPersonalUniqueCode blir då: urn:schac:PersonalUniqueCode:int:esi:ladok.se:9e342e78-5b6c-4902-966e-50e28a21e601 (77 tecken).

Notera att ESI-värdet bara ska släppas för aktiva studenter. Det går alltså inte att plocka StudentUID direkt från Antagning.se då alla användare där inte är (eller har varit) aktiva studenter.

  • No labels