Hämtat från: https://wiki.geant.org/display/SM/European+Student+Identifier
urn:schac:personalUniqueCode:int:esi:<country-code>:<code>
urn:schac:personalUniqueCode:int:esi:<sHO>:<code>
Where:
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.Non-normative examples for both forms:
urn:schac:personalUniqueCode:int:esi:hr:xxxxxxxxxx
urn:schac:personalUniqueCode:int:esi:example.edu:xxxxxxxxxx
urn:schac:personalUniqueCode:int:esi:math.example.edu:xxxxxxxxxx
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.
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 (82 tecken). <sHO> måste eventuellt vara samma som attributet schacHomeOrganization (inte klart utläsbart ur specen av ESI, undersökning pågår) så vi kanske måste använda SE istället.
Notera att ESI-värdet bara ska släppas för de individer som lärosätet är aktiva studenter. Detta gör att lärosätet måste säkerställa att det är en aktivt studerande student innan ESI-värdet skapas för användarkontot.
Hämtat 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 )