resme 0.5.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/lib/resme/cli/command_semantics.rb +23 -26
  3. data/lib/resme/version.rb +4 -1
  4. metadata +3 -43
  5. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Achievement.xsd +0 -91
  6. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Certificate.xsd +0 -62
  7. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/CommonTypes.xsd +0 -139
  8. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ComputerSkill.xsd +0 -112
  9. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ContactInformation.xsd +0 -321
  10. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Demographics.xsd +0 -122
  11. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DigitalContent.xsd +0 -164
  12. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DocumentInformation.xsd +0 -119
  13. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Documentation.xsd +0 -122
  14. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DrivingSkill.xsd +0 -71
  15. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EducationalExperience.xsd +0 -137
  16. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EmploymentExperience.xsd +0 -65
  17. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassCoverLetter.xsd +0 -70
  18. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassLearnerInformation.xsd +0 -91
  19. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassPrintingPreferences.xsd +0 -247
  20. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassSchema.xsd +0 -133
  21. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Experience.xsd +0 -75
  22. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Headline.xsd +0 -97
  23. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Identification.xsd +0 -54
  24. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Language.xsd +0 -107
  25. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Letter.xsd +0 -129
  26. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/LinguisticSkill.xsd +0 -189
  27. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/OccupationalField.xsd +0 -68
  28. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Organisation.xsd +0 -129
  29. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/PersonName.xsd +0 -71
  30. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Skill.xsd +0 -71
  31. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EQF_08_V1.0.0.xsd +0 -115
  32. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EUDrivingLicence_V1.1.0.xsd +0 -28
  33. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/ISCED97_V1.0.0.xsd +0 -981
  34. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/NACE_COM_V1.0.0.xsd +0 -5630
  35. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassAddressFormats_V1.3.0.xsd +0 -117
  36. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISCO_88_COM_V1.4.0.xsd +0 -15116
  37. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOCountries_V1.6.0.xsd +0 -6180
  38. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOLanguages_V1.8.0.xsd +0 -7645
  39. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassNationalities_V1.6.0.xsd +0 -6179
  40. data/lib/resme/templates/europass/europass-xml-schema-doc-v3.3.0.pdf +0 -0
  41. data/lib/resme/templates/resume.xml.erb +0 -496
@@ -1,321 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3
- xmlns="http://europass.cedefop.europa.eu/Europass"
4
- targetNamespace="http://europass.cedefop.europa.eu/Europass" elementFormDefault="qualified">
5
-
6
- <!--
7
- /*
8
- * Copyright European Union 2002-2010
9
- *
10
- *
11
- * Licensed under the EUPL, Version 1.1 or – as soon they
12
- * will be approved by the European Commission - subsequent
13
- * versions of the EUPL (the "Licence");
14
- * You may not use this work except in compliance with the
15
- * Licence.
16
- * You may obtain a copy of the Licence at:
17
- *
18
- * http://ec.europa.eu/idabc/eupl.html
19
- *
20
- *
21
- * Unless required by applicable law or agreed to in
22
- * writing, software distributed under the Licence is
23
- * distributed on an "AS IS" basis,
24
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
25
- * express or implied.
26
- * See the Licence for the specific language governing
27
- * permissions and limitations under the Licence.
28
- *
29
- */
30
- -->
31
- <xsd:include
32
- schemaLocation="http://europass.cedefop.europa.eu/xml/included/EuropassISOCountries_V1.6.0.xsd">
33
- <xsd:annotation>
34
- <xsd:documentation xml:lang="en">
35
- The included "ISOCountries" schema defines the list of country codes that may appear in the Europass XML documents.
36
- </xsd:documentation>
37
- </xsd:annotation>
38
- </xsd:include>
39
-
40
- <xsd:include schemaLocation="CommonTypes.xsd"/>
41
-
42
- <!-- Contact Information -->
43
- <xsd:complexType name="ContactInfoType">
44
- <xsd:annotation>
45
- <xsd:documentation xml:lang="en">
46
- Contains all the available methods of contacting individual.
47
- </xsd:documentation>
48
- </xsd:annotation>
49
- <xsd:sequence>
50
- <xsd:element name="Address" type="ContactAddressType" minOccurs="0" maxOccurs="1"/>
51
- <xsd:element name="Email" type="ContactEmailType" minOccurs="0" maxOccurs="1"/>
52
- <xsd:element name="TelephoneList" type="TelephoneListType" minOccurs="0" maxOccurs="1"/>
53
- <xsd:element name="WebsiteList" type="WebsiteListType" minOccurs="0" maxOccurs="1"/>
54
- <xsd:element name="InstantMessagingList" type="InstantMessagingListType" minOccurs="0"
55
- maxOccurs="1"/>
56
- <xsd:element name="ContactMethodList" type="ContactMethodListType" minOccurs="0"
57
- maxOccurs="1"/>
58
- </xsd:sequence>
59
- </xsd:complexType>
60
-
61
- <xsd:complexType name="ContactMethodListType">
62
- <xsd:annotation>
63
- <xsd:documentation xml:lang="en">
64
- Lists any other method of contacting an individual - extension point.
65
- </xsd:documentation>
66
- </xsd:annotation>
67
- <xsd:sequence>
68
- <xsd:element name="ContactMethod" type="ContactMethodType" minOccurs="0"
69
- maxOccurs="unbounded"/>
70
- </xsd:sequence>
71
- </xsd:complexType>
72
-
73
- <xsd:complexType name="ContactMethodType" abstract="true">
74
- <xsd:annotation>
75
- <xsd:documentation xml:lang="en">
76
- Contains information about the available contact methods for the individual.
77
- </xsd:documentation>
78
- </xsd:annotation>
79
- <xsd:sequence>
80
- <xsd:element name="Contact" minOccurs="0" maxOccurs="1" type="xsd:anyType"/>
81
- <xsd:element name="Use" minOccurs="0" maxOccurs="1" type="LabelType">
82
- <xsd:annotation>
83
- <xsd:documentation xml:lang="en">Defines the use of the contact method. This might be different depending on the contact method chosen. Also it might be absent, as for example is the case for the Contact Addess Type</xsd:documentation>
84
- </xsd:annotation>
85
- </xsd:element>
86
- </xsd:sequence>
87
- </xsd:complexType>
88
-
89
-
90
- <xsd:complexType name="TelephoneListType">
91
- <xsd:annotation>
92
- <xsd:documentation xml:lang="en">
93
- Lists the telephone numbers owned by the individual.
94
- </xsd:documentation>
95
- </xsd:annotation>
96
- <xsd:sequence>
97
- <xsd:element name="Telephone" type="TelephoneType" minOccurs="0" maxOccurs="unbounded"/>
98
- </xsd:sequence>
99
- </xsd:complexType>
100
-
101
- <xsd:complexType name="TelephoneType">
102
- <xsd:complexContent>
103
- <xsd:restriction base="ContactMethodType">
104
- <xsd:sequence>
105
- <xsd:element name="Contact" minOccurs="0" maxOccurs="1" type="xsd:string"/>
106
- <xsd:element name="Use" minOccurs="0" maxOccurs="1" type="TelephoneUseLabelType"
107
- />
108
- </xsd:sequence>
109
- </xsd:restriction>
110
- </xsd:complexContent>
111
- </xsd:complexType>
112
-
113
- <xsd:complexType name="WebsiteListType">
114
- <xsd:annotation>
115
- <xsd:documentation xml:lang="en">
116
- Lists the websites that are owned, built by or refer to the individual.
117
- </xsd:documentation>
118
- </xsd:annotation>
119
- <xsd:sequence>
120
- <xsd:element name="Website" type="WebsiteType" minOccurs="0" maxOccurs="unbounded"/>
121
- </xsd:sequence>
122
- </xsd:complexType>
123
-
124
- <xsd:complexType name="WebsiteType">
125
- <xsd:complexContent>
126
- <xsd:restriction base="ContactMethodType">
127
- <xsd:sequence>
128
- <xsd:element name="Contact" minOccurs="0" maxOccurs="1" type="xsd:anyURI"/>
129
- <xsd:element name="Use" minOccurs="0" maxOccurs="1" type="WebsiteUseLabelType"/>
130
- </xsd:sequence>
131
- </xsd:restriction>
132
- </xsd:complexContent>
133
- </xsd:complexType>
134
-
135
- <xsd:complexType name="InstantMessagingListType">
136
- <xsd:annotation>
137
- <xsd:documentation xml:lang="en">
138
- Lists the instant messaging accounts numbers owned by the individual.
139
- </xsd:documentation>
140
- </xsd:annotation>
141
- <xsd:sequence>
142
- <xsd:element name="InstantMessaging" type="InstantMessagingType" minOccurs="0"
143
- maxOccurs="unbounded"/>
144
- </xsd:sequence>
145
- </xsd:complexType>
146
-
147
- <xsd:complexType name="InstantMessagingType">
148
- <xsd:complexContent>
149
- <xsd:restriction base="ContactMethodType">
150
- <xsd:sequence>
151
- <xsd:element name="Contact" minOccurs="0" maxOccurs="1" type="xsd:string"/>
152
- <xsd:element name="Use" minOccurs="0" maxOccurs="1"
153
- type="InstantMessagingUseLabelType"/>
154
- </xsd:sequence>
155
- </xsd:restriction>
156
- </xsd:complexContent>
157
- </xsd:complexType>
158
-
159
-
160
- <xsd:complexType name="ContactEmailType">
161
- <xsd:annotation>
162
- <xsd:documentation xml:lang="en">
163
- Defines the email address of an individual.
164
- </xsd:documentation>
165
- </xsd:annotation>
166
- <xsd:complexContent>
167
- <xsd:restriction base="ContactMethodType">
168
- <xsd:sequence>
169
- <xsd:element name="Contact" minOccurs="0" maxOccurs="1"
170
- type="ContactEmailContactType"/>
171
- <xsd:element name="Use" minOccurs="0" maxOccurs="0" type="LabelType"/>
172
- </xsd:sequence>
173
- </xsd:restriction>
174
- </xsd:complexContent>
175
- </xsd:complexType>
176
-
177
- <xsd:simpleType name="ContactEmailContactType">
178
- <xsd:annotation>
179
- <xsd:documentation xml:lang="en">
180
- Pattern to accept text formatted as email address.
181
- </xsd:documentation>
182
- </xsd:annotation>
183
- <xsd:restriction base="xsd:string">
184
- <xsd:pattern value="[^@]+@[^\.]+\..+">
185
- <xsd:annotation>
186
- <xsd:documentation xml:lang="en">
187
- Pattern to accept text formatted as email address.
188
- </xsd:documentation>
189
- </xsd:annotation>
190
- </xsd:pattern>
191
- </xsd:restriction>
192
- </xsd:simpleType>
193
-
194
-
195
- <xsd:complexType name="ContactAddressType">
196
- <xsd:annotation>
197
- <xsd:documentation xml:lang="en">
198
- Defines the contact address of an individual.
199
- </xsd:documentation>
200
- </xsd:annotation>
201
- <xsd:complexContent>
202
- <xsd:restriction base="ContactMethodType">
203
- <xsd:sequence>
204
- <xsd:element name="Contact" minOccurs="0" maxOccurs="1" type="AddressInfoType"/>
205
- <xsd:element name="Use" minOccurs="0" maxOccurs="0" type="LabelType"/>
206
- </xsd:sequence>
207
- </xsd:restriction>
208
- </xsd:complexContent>
209
- </xsd:complexType>
210
-
211
-
212
- <xsd:complexType name="AddressInfoType">
213
- <xsd:annotation>
214
- <xsd:documentation xml:lang="en">
215
- Defines an address which is described by the address line, usually referring to the residence's street and street number,
216
- a second address line, usually refering to the building or apartment number, the municipality, postal code and country.
217
- The minimum required information is the Country.
218
- </xsd:documentation>
219
- </xsd:annotation>
220
- <xsd:sequence>
221
- <xsd:element name="AddressLine" type="xsd:string" minOccurs="0" maxOccurs="1"/>
222
- <xsd:element name="AddressLine2" type="xsd:string" minOccurs="0" maxOccurs="1"/>
223
- <xsd:element name="PostalCode" type="xsd:string" minOccurs="0" maxOccurs="1"/>
224
- <xsd:element name="Municipality" type="xsd:string" minOccurs="0" maxOccurs="1"/>
225
- <xsd:element name="Country" type="CountryType" minOccurs="0" maxOccurs="1"/>
226
- </xsd:sequence>
227
- </xsd:complexType>
228
-
229
-
230
- <!-- Country -->
231
- <xsd:complexType name="CountryType">
232
- <xsd:annotation>
233
- <xsd:documentation xml:lang="en">
234
- Defines a country. The country is described by a code and a label. E.g. code: FR, label: France.
235
- </xsd:documentation>
236
- </xsd:annotation>
237
- <xsd:complexContent>
238
- <xsd:restriction base="LabelType">
239
- <xsd:sequence>
240
- <xsd:element name="Code" minOccurs="0" maxOccurs="1" type="countryCode">
241
- <xsd:annotation>
242
- <xsd:documentation xml:lang="en">
243
- Defines the country code type. The type is defined in the included schema "EuropassISOCountries".
244
- </xsd:documentation>
245
- </xsd:annotation>
246
- </xsd:element>
247
- <xsd:element name="Label" type="xsd:string" minOccurs="0" maxOccurs="1"/>
248
- </xsd:sequence>
249
- </xsd:restriction>
250
- </xsd:complexContent>
251
- </xsd:complexType>
252
-
253
-
254
- <!-- Telephone use -->
255
- <xsd:complexType name="TelephoneUseLabelType">
256
- <xsd:complexContent>
257
- <xsd:restriction base="LabelType">
258
- <xsd:sequence>
259
- <xsd:element name="Code" minOccurs="0" type="TelephoneUsesEnumeration"/>
260
- <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
261
- </xsd:sequence>
262
- </xsd:restriction>
263
- </xsd:complexContent>
264
- </xsd:complexType>
265
-
266
- <xsd:simpleType name="TelephoneUsesEnumeration">
267
- <xsd:restriction base="xsd:string">
268
- <xsd:enumeration value="home"/>
269
- <xsd:enumeration value="work"/>
270
- <xsd:enumeration value="mobile"/>
271
- </xsd:restriction>
272
- </xsd:simpleType>
273
-
274
-
275
- <!-- Website use -->
276
- <xsd:complexType name="WebsiteUseLabelType">
277
- <xsd:complexContent>
278
- <xsd:restriction base="LabelType">
279
- <xsd:sequence>
280
- <xsd:element name="Code" minOccurs="0" type="WebsiteUsesEnumeration"/>
281
- <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
282
- </xsd:sequence>
283
- </xsd:restriction>
284
- </xsd:complexContent>
285
- </xsd:complexType>
286
-
287
- <xsd:simpleType name="WebsiteUsesEnumeration">
288
- <xsd:restriction base="xsd:string">
289
- <xsd:enumeration value="personal"/>
290
- <xsd:enumeration value="business"/>
291
- <xsd:enumeration value="blog"/>
292
- <xsd:enumeration value="portfolio"/>
293
- </xsd:restriction>
294
- </xsd:simpleType>
295
-
296
-
297
- <!-- InstantMessaging use -->
298
- <xsd:complexType name="InstantMessagingUseLabelType">
299
- <xsd:complexContent>
300
- <xsd:restriction base="LabelType">
301
- <xsd:sequence>
302
- <xsd:element name="Code" minOccurs="0" type="InstantMessagingUsesEnumeration"/>
303
- <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
304
- </xsd:sequence>
305
- </xsd:restriction>
306
- </xsd:complexContent>
307
- </xsd:complexType>
308
-
309
- <xsd:simpleType name="InstantMessagingUsesEnumeration">
310
- <xsd:restriction base="xsd:string">
311
- <xsd:enumeration value="gtalk"/>
312
- <xsd:enumeration value="skype"/>
313
- <xsd:enumeration value="icq"/>
314
- <xsd:enumeration value="aim"/>
315
- <xsd:enumeration value="msn"/>
316
- <xsd:enumeration value="yahoo"/>
317
- </xsd:restriction>
318
- </xsd:simpleType>
319
-
320
-
321
- </xsd:schema>
@@ -1,122 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xsd:schema
3
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
- xmlns="http://europass.cedefop.europa.eu/Europass"
5
- targetNamespace="http://europass.cedefop.europa.eu/Europass"
6
- elementFormDefault="qualified">
7
-
8
- <!--
9
- /*
10
- * Copyright European Union 2002-2014
11
- *
12
- *
13
- * Licensed under the EUPL, Version 1.1 or – as soon they
14
- * will be approved by the European Commission - subsequent
15
- * versions of the EUPL (the "Licence");
16
- * You may not use this work except in compliance with the
17
- * Licence.
18
- * You may obtain a copy of the Licence at:
19
- *
20
- * http://ec.europa.eu/idabc/eupl.html
21
- *
22
- *
23
- * Unless required by applicable law or agreed to in
24
- * writing, software distributed under the Licence is
25
- * distributed on an "AS IS" basis,
26
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
27
- * express or implied.
28
- * See the Licence for the specific language governing
29
- * permissions and limitations under the Licence.
30
- *
31
- */
32
- -->
33
- <xsd:include schemaLocation="http://europass.cedefop.europa.eu/xml/included/EuropassNationalities_V1.6.0.xsd">
34
- <xsd:annotation>
35
- <xsd:documentation xml:lang="en">
36
- The included "EuropassNationalities" schema defines the list of nationality codes that may appear in the Europass XML documents. The code of each nationality matches the coresponding coutnry's code.
37
- </xsd:documentation>
38
- </xsd:annotation>
39
- </xsd:include>
40
-
41
- <xsd:include schemaLocation="CommonTypes.xsd"/>
42
-
43
- <!-- Demographics Information -->
44
- <xsd:complexType name="DemographicsType">
45
- <xsd:annotation>
46
- <xsd:documentation xml:lang="en">
47
- Contains demographics-related information about the individual. It includes the birthdate, gender and list of nationalities.
48
- </xsd:documentation>
49
- </xsd:annotation>
50
- <xsd:sequence>
51
- <xsd:element name="Birthdate" type="DateType" minOccurs="0">
52
- <xsd:annotation>
53
- <xsd:documentation xml:lang="en">The date of birth of the individual. According to its type, the Birthdate element has no content and must have at least a year attribute.</xsd:documentation>
54
- </xsd:annotation>
55
- </xsd:element>
56
- <xsd:element name="Gender" type="GenderLabelType" minOccurs="0">
57
- <xsd:annotation>
58
- <xsd:documentation xml:lang="en">
59
- The gender is described by one of M or F, which correspond to male, female and non specified accordingly.
60
- </xsd:documentation>
61
- </xsd:annotation>
62
- </xsd:element>
63
- <xsd:element name="NationalityList" minOccurs="0">
64
- <xsd:complexType>
65
- <xsd:sequence>
66
- <xsd:element name="Nationality" type="NationalityType" maxOccurs="unbounded">
67
- <xsd:annotation>
68
- <xsd:documentation xml:lang="en">
69
- Defines a nationality. The nationality is described by a code and is a text only element. E.g. code: DE, label: German.
70
- </xsd:documentation>
71
- </xsd:annotation>
72
- </xsd:element>
73
- </xsd:sequence>
74
- </xsd:complexType>
75
- </xsd:element>
76
- </xsd:sequence>
77
- </xsd:complexType>
78
-
79
-
80
- <!-- Nationality -->
81
- <xsd:complexType name="NationalityType">
82
- <xsd:annotation>
83
- <xsd:documentation xml:lang="en">
84
- Defines a nationality. The nationality is described by a code and a label. E.g. code: FR, label: French.
85
- </xsd:documentation>
86
- </xsd:annotation>
87
- <xsd:complexContent>
88
- <xsd:restriction base="LabelType">
89
- <xsd:sequence>
90
- <xsd:element name="Code" minOccurs="0" type="nationalityCountryCode">
91
- <xsd:annotation>
92
- <xsd:documentation xml:lang="en">
93
- Defines the country code type to which the nationality corresponds. The type is defined in the included schema "EuropassISOCountries".
94
- </xsd:documentation>
95
- </xsd:annotation>
96
- </xsd:element>
97
- <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
98
- </xsd:sequence>
99
- </xsd:restriction>
100
- </xsd:complexContent>
101
- </xsd:complexType>
102
-
103
-
104
- <!-- Gender Types -->
105
- <xsd:complexType name="GenderLabelType">
106
- <xsd:complexContent>
107
- <xsd:restriction base="LabelType">
108
- <xsd:sequence>
109
- <xsd:element name="Code" minOccurs="0" type="GenderCodesEnumeration"/>
110
- <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
111
- </xsd:sequence>
112
- </xsd:restriction>
113
- </xsd:complexContent>
114
- </xsd:complexType>
115
-
116
- <xsd:simpleType name="GenderCodesEnumeration">
117
- <xsd:restriction base="xsd:string">
118
- <xsd:enumeration value="M"/>
119
- <xsd:enumeration value="F"/>
120
- </xsd:restriction>
121
- </xsd:simpleType>
122
- </xsd:schema>
@@ -1,164 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <xsd:schema
3
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
- xmlns="http://europass.cedefop.europa.eu/Europass"
5
- targetNamespace="http://europass.cedefop.europa.eu/Europass"
6
- elementFormDefault="qualified">
7
-
8
- <!--
9
- /*
10
- * Copyright European Union 2002-2014
11
- *
12
- *
13
- * Licensed under the EUPL, Version 1.1 or – as soon they
14
- * will be approved by the European Commission - subsequent
15
- * versions of the EUPL (the "Licence");
16
- * You may not use this work except in compliance with the
17
- * Licence.
18
- * You may obtain a copy of the Licence at:
19
- *
20
- * http://ec.europa.eu/idabc/eupl.html
21
- *
22
- *
23
- * Unless required by applicable law or agreed to in
24
- * writing, software distributed under the Licence is
25
- * distributed on an "AS IS" basis,
26
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
27
- * express or implied.
28
- * See the Licence for the specific language governing
29
- * permissions and limitations under the Licence.
30
- *
31
- */
32
- -->
33
-
34
- <xsd:complexType name="AttachmentListType">
35
- <xsd:annotation>
36
- <xsd:documentation xml:lang="en">
37
- List any digital document (PDF, JPEG or PNG format) that an individual has attached to her Europass document to support/evidence of her personal data, learning achievements, work experiences, skills, competences, diplomas, etc.
38
- </xsd:documentation>
39
- </xsd:annotation>
40
- <xsd:sequence>
41
- <xsd:element name="Attachment" type="AttachmentType" minOccurs="0" maxOccurs="unbounded"/>
42
- </xsd:sequence>
43
- </xsd:complexType>
44
-
45
- <xsd:complexType name="AttachmentType">
46
- <xsd:annotation>
47
- <xsd:documentation xml:lang="en">
48
- Extends the FileDataType by defining a Description sub-element and a required id attribute.
49
- </xsd:documentation>
50
- </xsd:annotation>
51
- <xsd:complexContent>
52
- <xsd:extension base="FileDataType">
53
- <xsd:sequence>
54
- <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
55
- </xsd:sequence>
56
- <xsd:attribute name="id" type="xsd:ID" use="required"/>
57
- </xsd:extension>
58
- </xsd:complexContent>
59
- </xsd:complexType>
60
-
61
- <!-- Attachments and Photo -->
62
- <xsd:complexType name="MetadataListType">
63
- <xsd:sequence>
64
- <xsd:element name="Metadata" maxOccurs="unbounded">
65
- <xsd:annotation>
66
- <xsd:documentation xml:lang="en">
67
- Offers extra information about this document.
68
- </xsd:documentation>
69
- </xsd:annotation>
70
- <xsd:complexType>
71
- <xsd:attribute name="key" type="xsd:string" use="required"/>
72
- <xsd:attribute name="value" type="xsd:string" use="required"/>
73
- </xsd:complexType>
74
- </xsd:element>
75
- </xsd:sequence>
76
- </xsd:complexType>
77
-
78
- <xsd:complexType name="FileDataType">
79
- <xsd:sequence>
80
- <xsd:element name="Name" type="xsd:string" minOccurs="0">
81
- <xsd:annotation>
82
- <xsd:documentation xml:lang="en">
83
- Defines the original file-name.
84
- </xsd:documentation>
85
- </xsd:annotation>
86
- </xsd:element>
87
- <xsd:element name="MimeType" type="MimeTypeEnumeration">
88
- <xsd:annotation>
89
- <xsd:documentation xml:lang="en">
90
- Defines the file type of the document and must follow the MimeTypeEnumeration data type.
91
- </xsd:documentation>
92
- </xsd:annotation>
93
- </xsd:element>
94
- <xsd:element name="Data" type="xsd:base64Binary">
95
- <xsd:annotation>
96
- <xsd:documentation xml:lang="en">
97
- Includes the raw base-64 encoded bytes of the document.
98
- </xsd:documentation>
99
- </xsd:annotation>
100
- </xsd:element>
101
- <xsd:element name="MetadataList" type="MetadataListType" minOccurs="0" maxOccurs="1">
102
- <xsd:annotation>
103
- <xsd:documentation xml:lang="en">
104
- Lists Metadata elements, each offering some extra information about this document.
105
- </xsd:documentation>
106
- </xsd:annotation>
107
- </xsd:element>
108
- </xsd:sequence>
109
- </xsd:complexType>
110
-
111
- <xsd:complexType name="PhotoDataType">
112
- <xsd:annotation>
113
- <xsd:documentation xml:lang="en">
114
- Contains the base-64 encoded bytes of a JPEG or PNG image file that represents the personal photo of an individual.
115
- Restricts the FileDataType by excluding the Name sub-element and specifying that the MimeType accepts values from the ImageMimeTypeEnumeration.
116
- </xsd:documentation>
117
- </xsd:annotation>
118
- <xsd:complexContent>
119
- <xsd:restriction base="FileDataType">
120
- <xsd:sequence>
121
- <xsd:element name="MimeType" type="ImageMimeTypeEnumeration"/>
122
- <xsd:element name="Data" type="xsd:base64Binary"/>
123
- <xsd:element name="MetadataList" type="MetadataListType" minOccurs="0" maxOccurs="1"/>
124
- </xsd:sequence>
125
- </xsd:restriction>
126
- </xsd:complexContent>
127
- </xsd:complexType>
128
-
129
- <xsd:complexType name="SignatureDataType">
130
- <xsd:annotation>
131
- <xsd:documentation xml:lang="en">
132
- Contains the base-64 encoded bytes of a JPEG or PNG image file that represents the signature an individual.
133
- Restricts the FileDataType by excluding the Name sub-element and specifying that the MimeType accepts values from the ImageMimeTypeEnumeration.
134
- </xsd:documentation>
135
- </xsd:annotation>
136
- <xsd:complexContent>
137
- <xsd:extension base="PhotoDataType"/>
138
- </xsd:complexContent>
139
- </xsd:complexType>
140
-
141
- <xsd:simpleType name="MimeTypeEnumeration">
142
- <xsd:annotation>
143
- <xsd:documentation xml:lang="en">
144
- Restricts the string by defining an enumeration of allowed file mime types.
145
- </xsd:documentation>
146
- </xsd:annotation>
147
- <xsd:restriction base="xsd:string">
148
- <xsd:enumeration value="image/jpeg"/>
149
- <xsd:enumeration value="image/pjpeg"/>
150
- <xsd:enumeration value="image/png"/>
151
- <xsd:enumeration value="image/x-png"/>
152
- <xsd:enumeration value="application/pdf"/>
153
- </xsd:restriction>
154
- </xsd:simpleType>
155
-
156
- <xsd:simpleType name="ImageMimeTypeEnumeration">
157
- <xsd:restriction base="MimeTypeEnumeration">
158
- <xsd:enumeration value="image/jpeg"/>
159
- <xsd:enumeration value="image/pjpeg"/>
160
- <xsd:enumeration value="image/png"/>
161
- <xsd:enumeration value="image/x-png"/>
162
- </xsd:restriction>
163
- </xsd:simpleType>
164
- </xsd:schema>