forked from Gerstep/EDCI-Data-Model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
edci_presentation_alt1.xml
76 lines (73 loc) · 5.06 KB
/
edci_presentation_alt1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<!--
I this implementation a verifiableCredential-element contains a europassCredential element as defined in the credential xsd schema. The presentation xsd schema includes the credential xsd schema. The credential xsd schema makes part of the presentation xsd schema. Therefore the xml content of the included europassCredential elements will be validated against the credential xsd schema.
This makes the presentation xsd schema hardly dependant on the credential xsd schema. Credentials according an older or newer version of the credential xsd schema than the one used by this presentation xsd schema cannot be included.
Also the xml header from the original credential xml document cannot be included (i.e. <![CDATA[<?xml version="1.0" encoding="UTF-8"?>]]> ). Will the proof of the credential still validate if the xml header is removed? The original document is changed
-->
<verifiablePresentation xmlns="http://data.europa.eu/europass/model/credentials#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:eup="http://data.europa.eu/europass/model/credentials#" xsi:schemaLocation="http://data.europa.eu/europass/model/credentials# edci_presentation_alt1.xsd">
<verifiableCredentials>
<verifiableCredential>
<europassCredential xmlns="http://data.europa.eu/europass/model/credentials#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:eup="http://data.europa.eu/europass/model/credentials#" xsi:schemaLocation="http://data.europa.eu/europass/model/credentials# edci_credential.xsd" id="urn:example:credential:b576d4a4-c669-458b-ba17-23bd3237e177" xsdVersion="0.4.0">
<issuanceDate>2016-08-16T11:13:35</issuanceDate>
<issuer idref="urn:example:organization:0001"/>
<title lang="en">KULeuven Credential Master in Geology</title>
<credentialSubject id="">
<nationalId schemeID="" schemeAgencyName="" spatialID="http://publications.europa.eu/resource/authority/country/BEL">86.02.20-409.89</nationalId>
<givenNames lang="nl">Pieter Herman</givenNames>
<familyName lang="nl">Fannes</familyName>
<dateOfBirth>1986-02-20</dateOfBirth>
</credentialSubject>
<agentReferences>
<organization id="urn:example:organization:0001">
<registration schemeID="http://data.europa.eu/idTypes/KBO" schemeAgencyName="Kruispuntbank van Ondernemingen" issuedDate="2000-10-01T00:00:00" spatialID="http://publications.europa.eu/resource/authority/country/BEL">0419.052.173</registration>
<vatIdentifier schemeID="http://data.europa.eu/idTypes/VatId" schemeAgencyName="Kruispuntbank van Ondernemingen" issuedDate="1992-02-25T00:00:00" spatialID="http://publications.europa.eu/resource/authority/country/BEL">BE0419.052.173</vatIdentifier>
<!--taxIdentifier schemeID="" schemeAgencyName="" spatial=""></taxIdentifier-->
<prefLabel lang="en">KU Leuven</prefLabel>
<altLabel lang="en">Katholieke Universiteit Leuven</altLabel>
<homepage>
<uri>https://www.kuleuven.be</uri>
</homepage>
<spatial uri="http://publications.europa.eu/resource/authority/country/BEL"/>
<communication>
<mailBox>
<uri>mailto:info@kuleuven.be</uri>
</mailBox>
</communication>
<hasAccreditation idref="urn:example:accreditation:0001"/>
</organization>
<organization id="urn:example:organization:0003">
<registration schemeID="http://data.europa.eu/idTypes/KBO" schemeAgencyName="Kruispuntbank van Ondernemingen" issuedDate="2000-10-01T00:00:00" spatialID="http://publications.europa.eu/resource/authority/country/BEL">00101.052.173</registration>
<prefLabel lang="en">NVAO</prefLabel>
<prefLabel lang="en">The Accreditation Organisation of the Netherlands and Flanders</prefLabel>
<homepage>
<uri>https://www.nvao.net/en/about-us</uri>
</homepage>
</organization>
</agentReferences>
<accreditationReferences>
<accreditation id="urn:example:accreditation:0001">
<type uri="http://data.europa.eu/europass/accreditationType/institutionalLicense"/>
<title lang="en">ddd</title>
<organization idref="urn:example:organization:0001"/>
<accreditingAgent idref="urn:example:organization:0003"/>
</accreditation>
</accreditationReferences>
<proof/>
</europassCredential>
</verifiableCredential>
</verifiableCredentials>
<verification>
<subject idref="urn:example:credential:b576d4a4-c669-458b-ba17-23bd3237e177"/>
<verificationCheck>
<type uri="http://data.europa.eu/europass/verificationType/format"/>
<status uri="http://data.europa.eu/europass/verificationStatus/green"/>
<description><text lang="en" content-type="text/plain">Some free text about the check done and the result...</text></description>
</verificationCheck>
<verificationCheck>
<type uri="http://data.europa.eu/europass/verificationType/seal"/>
<status uri="http://data.europa.eu/europass/verificationStatus/gray"/>
<description><text lang="en" content-type="text/plain">Some free text about the check done and the result...</text></description>
</verificationCheck>
</verification>
<proof/>
</verifiablePresentation>