resme 0.5.1 → 1.0.1

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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.org +12 -0
  3. data/README.org +16 -15
  4. data/lib/resme/cli/command_semantics.rb +23 -26
  5. data/lib/resme/version.rb +4 -1
  6. metadata +3 -43
  7. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Achievement.xsd +0 -91
  8. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Certificate.xsd +0 -62
  9. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/CommonTypes.xsd +0 -139
  10. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ComputerSkill.xsd +0 -112
  11. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ContactInformation.xsd +0 -321
  12. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Demographics.xsd +0 -122
  13. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DigitalContent.xsd +0 -164
  14. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DocumentInformation.xsd +0 -119
  15. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Documentation.xsd +0 -122
  16. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DrivingSkill.xsd +0 -71
  17. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EducationalExperience.xsd +0 -137
  18. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EmploymentExperience.xsd +0 -65
  19. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassCoverLetter.xsd +0 -70
  20. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassLearnerInformation.xsd +0 -91
  21. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassPrintingPreferences.xsd +0 -247
  22. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassSchema.xsd +0 -133
  23. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Experience.xsd +0 -75
  24. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Headline.xsd +0 -97
  25. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Identification.xsd +0 -54
  26. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Language.xsd +0 -107
  27. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Letter.xsd +0 -129
  28. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/LinguisticSkill.xsd +0 -189
  29. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/OccupationalField.xsd +0 -68
  30. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Organisation.xsd +0 -129
  31. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/PersonName.xsd +0 -71
  32. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Skill.xsd +0 -71
  33. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EQF_08_V1.0.0.xsd +0 -115
  34. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EUDrivingLicence_V1.1.0.xsd +0 -28
  35. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/ISCED97_V1.0.0.xsd +0 -981
  36. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/NACE_COM_V1.0.0.xsd +0 -5630
  37. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassAddressFormats_V1.3.0.xsd +0 -117
  38. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISCO_88_COM_V1.4.0.xsd +0 -15116
  39. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOCountries_V1.6.0.xsd +0 -6180
  40. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOLanguages_V1.8.0.xsd +0 -7645
  41. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassNationalities_V1.6.0.xsd +0 -6179
  42. data/lib/resme/templates/europass/europass-xml-schema-doc-v3.3.0.pdf +0 -0
  43. data/lib/resme/templates/resume.xml.erb +0 -496
@@ -1,112 +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="CommonTypes.xsd"/>
34
- <xsd:include schemaLocation="Certificate.xsd"/>
35
- <xsd:include schemaLocation="Documentation.xsd"/>
36
- <xsd:include schemaLocation="Skill.xsd"/>
37
-
38
-
39
- <xsd:complexType name="ComputerSkillType">
40
- <xsd:annotation>
41
- <xsd:documentation xml:lang="en">
42
- Defines a computer skill, which is modelled with one unstructured (free text) Description element,
43
- and it may provide additional information about proficiency level, and verification organization.
44
- It may also accept Documentation information (reference document).
45
- </xsd:documentation>
46
- </xsd:annotation>
47
- <xsd:complexContent>
48
- <xsd:restriction base="SkillType">
49
- <xsd:sequence>
50
- <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
51
- <xsd:element name="ProficiencyLevel" type="ComputerLevelType" minOccurs="0"/>
52
- <xsd:element name="VerifiedBy" type="ComputerCertificateListType" minOccurs="0"/>
53
- <xsd:element name="Documentation" type="IntraDocumentDocumentationType" minOccurs="0"/>
54
- </xsd:sequence>
55
- </xsd:restriction>
56
- </xsd:complexContent>
57
- </xsd:complexType>
58
-
59
- <xsd:complexType name="ComputerLevelType">
60
- <xsd:complexContent>
61
- <xsd:restriction base="xsd:anyType">
62
- <xsd:sequence>
63
- <xsd:element name="Information" type="ICTLevelType" minOccurs="0"/>
64
- <xsd:element name="Communication" type="ICTLevelType" minOccurs="0"/>
65
- <xsd:element name="ContentCreation" type="ICTLevelType" minOccurs="0"/>
66
- <xsd:element name="Safety" type="ICTLevelType" minOccurs="0"/>
67
- <xsd:element name="ProblemSolving" type="ICTLevelType" minOccurs="0"/>
68
- </xsd:sequence>
69
- </xsd:restriction>
70
- </xsd:complexContent>
71
- </xsd:complexType>
72
-
73
- <xsd:simpleType name="ICTLevelType">
74
- <xsd:annotation>
75
- <xsd:documentation xml:lang="en">
76
- The ICT Skill level is comprised of Basic, Independent or Proficient User
77
- </xsd:documentation>
78
- </xsd:annotation>
79
- <xsd:restriction base="xsd:string">
80
- <!--<xsd:pattern value="([A-C][12])?"/> -->
81
- <xsd:enumeration value="A"/><!-- Basic User -->
82
- <xsd:enumeration value="B"/><!-- Independent User -->
83
- <xsd:enumeration value="C"/><!-- Proficient User -->
84
- </xsd:restriction>
85
- </xsd:simpleType>
86
-
87
- <xsd:complexType name="ComputerCertificateListType">
88
- <xsd:complexContent>
89
- <xsd:restriction base="CertificateListType">
90
- <xsd:sequence>
91
- <xsd:element name="Certificate" type="ComputerCertificateType" minOccurs="0" maxOccurs="unbounded"/>
92
- </xsd:sequence>
93
- </xsd:restriction>
94
- </xsd:complexContent>
95
- </xsd:complexType>
96
-
97
- <xsd:complexType name="ComputerCertificateType">
98
- <xsd:annotation>
99
- <xsd:documentation xml:lang="en">
100
- Defines a Computer Certificate by restricting elements allowing only title
101
- </xsd:documentation>
102
- </xsd:annotation>
103
- <xsd:complexContent>
104
- <xsd:restriction base="CertificateType">
105
- <xsd:sequence>
106
- <xsd:element name="Title" type="xsd:string" minOccurs="0"/>
107
- </xsd:sequence>
108
- </xsd:restriction>
109
- </xsd:complexContent>
110
- </xsd:complexType>
111
-
112
- </xsd:schema>
@@ -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>