Använda StudentUID från Ladok som ESI
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.
Defintioner
Definition av ESI
Hämtat från: 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
Definition av attributet schacPersonalUniqueCode
Hämtat från: https://wiki.refeds.org/display/STAN/SCHAC+Releases
Name | schacPersonalUniqueCode |
---|---|
Description | 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,... |
OID | 1.3.6.1.4.1.25178.1.2.14 |
Format | urn:schac:personalUniqueCode:<country-code>:<iNSS> The must be a valid two-letter ISO 3166 country code identifier or the string “int”, and assigned by the SCHAC URN Registry for this attribute at https://wiki.refeds.org/display/STAN/SCHAC+URN+Registry is a Namespace Specific String as defined in RFC 2141 but case insensitive, from a nationally controlled vocabulary, published through the URI identified at the above mentioned SCHAC URN registry. |
RFC 4517 definition | ( 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 ) |
Examples | Common values: urn:schac:personalUniqueCode:int:studentID:<country-code>:<code> National extensions: urn:schac:personalUniqueCode:fi:tut.fi:hetu:010161-995A urn:schac:personalUniqueCode:es:uma:estudiante:a3b123c12 urn:schac:personalUniqueCode:se:LIN:87654321 |