resme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/Gemfile +6 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +170 -0
  6. data/Rakefile +2 -0
  7. data/bin/console +14 -0
  8. data/bin/setup +8 -0
  9. data/exe/resme +6 -0
  10. data/lib/resme.rb +4 -0
  11. data/lib/resme/cli/command_semantics.rb +155 -0
  12. data/lib/resme/cli/command_syntax.rb +192 -0
  13. data/lib/resme/renderer/renderer.rb +103 -0
  14. data/lib/resme/templates/europass/eu.xml.erb +405 -0
  15. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Achievement.xsd +91 -0
  16. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Certificate.xsd +62 -0
  17. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/CommonTypes.xsd +139 -0
  18. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ComputerSkill.xsd +112 -0
  19. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/ContactInformation.xsd +321 -0
  20. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Demographics.xsd +122 -0
  21. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DigitalContent.xsd +164 -0
  22. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DocumentInformation.xsd +119 -0
  23. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Documentation.xsd +122 -0
  24. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/DrivingSkill.xsd +71 -0
  25. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EducationalExperience.xsd +137 -0
  26. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EmploymentExperience.xsd +65 -0
  27. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassCoverLetter.xsd +70 -0
  28. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassLearnerInformation.xsd +91 -0
  29. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassPrintingPreferences.xsd +247 -0
  30. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/EuropassSchema.xsd +133 -0
  31. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Experience.xsd +75 -0
  32. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Headline.xsd +97 -0
  33. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Identification.xsd +54 -0
  34. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Language.xsd +107 -0
  35. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Letter.xsd +129 -0
  36. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/LinguisticSkill.xsd +189 -0
  37. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/OccupationalField.xsd +68 -0
  38. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Organisation.xsd +129 -0
  39. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/PersonName.xsd +71 -0
  40. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/Skill.xsd +71 -0
  41. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EQF_08_V1.0.0.xsd +115 -0
  42. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/EUDrivingLicence_V1.1.0.xsd +28 -0
  43. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/ISCED97_V1.0.0.xsd +981 -0
  44. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/imported/NACE_COM_V1.0.0.xsd +5630 -0
  45. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassAddressFormats_V1.3.0.xsd +117 -0
  46. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISCO_88_COM_V1.4.0.xsd +15116 -0
  47. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOCountries_V1.6.0.xsd +6180 -0
  48. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassISOLanguages_V1.8.0.xsd +7645 -0
  49. data/lib/resme/templates/europass/europass-xml-schema-definition-v3.3.0/included/EuropassNationalities_V1.6.0.xsd +6179 -0
  50. data/lib/resme/templates/europass/europass-xml-schema-doc-v3.3.0.pdf +0 -0
  51. data/lib/resme/templates/html/css/main.css +87 -0
  52. data/lib/resme/templates/html/css/normalize.css +424 -0
  53. data/lib/resme/templates/html/index.html.erb +22 -0
  54. data/lib/resme/templates/html/js/main.js +0 -0
  55. data/lib/resme/templates/html/js/plugins.js +24 -0
  56. data/lib/resme/templates/html/js/vendor/jquery-1.12.0.min.js +5 -0
  57. data/lib/resme/templates/html/js/vendor/modernizr-2.8.3.min.js +4 -0
  58. data/lib/resme/templates/resume.json.erb +137 -0
  59. data/lib/resme/templates/resume.md.erb +120 -0
  60. data/lib/resme/templates/resume.yml +240 -0
  61. data/lib/resme/version.rb +3 -0
  62. data/resme.gemspec +28 -0
  63. metadata +151 -0
@@ -0,0 +1,71 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema
3
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:driving="http://europass.cedefop.europa.eu/EUDriving"
5
+ xmlns="http://europass.cedefop.europa.eu/Europass"
6
+ targetNamespace="http://europass.cedefop.europa.eu/Europass"
7
+ elementFormDefault="qualified">
8
+
9
+ <!--
10
+ /*
11
+ * Copyright European Union 2002-2014
12
+ *
13
+ *
14
+ * Licensed under the EUPL, Version 1.1 or – as soon they
15
+ * will be approved by the European Commission - subsequent
16
+ * versions of the EUPL (the "Licence");
17
+ * You may not use this work except in compliance with the
18
+ * Licence.
19
+ * You may obtain a copy of the Licence at:
20
+ *
21
+ * http://ec.europa.eu/idabc/eupl.html
22
+ *
23
+ *
24
+ * Unless required by applicable law or agreed to in
25
+ * writing, software distributed under the Licence is
26
+ * distributed on an "AS IS" basis,
27
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
28
+ * express or implied.
29
+ * See the Licence for the specific language governing
30
+ * permissions and limitations under the Licence.
31
+ *
32
+ */
33
+ -->
34
+
35
+ <xsd:import namespace="http://europass.cedefop.europa.eu/EUDriving"
36
+ schemaLocation="http://europass.cedefop.europa.eu/xml/imported/EUDrivingLicence_V1.1.0.xsd">
37
+ <xsd:annotation>
38
+ <xsd:documentation xml:lang="en">
39
+ The EUDriving namespace defines a list of driving licence codes, which are used to describe the information of a driving licence.
40
+ </xsd:documentation>
41
+ </xsd:annotation>
42
+ </xsd:import>
43
+
44
+ <xsd:include schemaLocation="./CommonTypes.xsd"/>
45
+ <xsd:include schemaLocation="./Skill.xsd"/>
46
+
47
+ <xsd:complexType name="DrivingSkillType">
48
+ <xsd:annotation>
49
+ <xsd:documentation xml:lang="en">
50
+ Defines a skill, the description of which is a driving category.
51
+ Note that a reference to an attachment may also be added.
52
+ </xsd:documentation>
53
+ </xsd:annotation>
54
+ <xsd:complexContent>
55
+ <xsd:restriction base="SkillType">
56
+ <xsd:sequence>
57
+ <xsd:element name="Description" minOccurs="0" >
58
+ <xsd:complexType>
59
+ <xsd:sequence>
60
+ <xsd:element name="Licence" type="driving:drivinglicence" minOccurs="0" maxOccurs="unbounded"/>
61
+ </xsd:sequence>
62
+ </xsd:complexType>
63
+ </xsd:element>
64
+ <xsd:element name="Documentation" type="IntraDocumentDocumentationType" minOccurs="0"/>
65
+ </xsd:sequence>
66
+ </xsd:restriction>
67
+ </xsd:complexContent>
68
+ </xsd:complexType>
69
+
70
+
71
+ </xsd:schema>
@@ -0,0 +1,137 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema
3
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:isced="http://europass.cedefop.europa.eu/ISCED/97"
5
+ xmlns:eqf="http://europass.cedefop.europa.eu/EQF/08"
6
+ xmlns="http://europass.cedefop.europa.eu/Europass"
7
+ targetNamespace="http://europass.cedefop.europa.eu/Europass"
8
+ elementFormDefault="qualified">
9
+
10
+ <!--
11
+ /*
12
+ * Copyright European Union 2002-2014
13
+ *
14
+ *
15
+ * Licensed under the EUPL, Version 1.1 or – as soon they
16
+ * will be approved by the European Commission - subsequent
17
+ * versions of the EUPL (the "Licence");
18
+ * You may not use this work except in compliance with the
19
+ * Licence.
20
+ * You may obtain a copy of the Licence at:
21
+ *
22
+ * http://ec.europa.eu/idabc/eupl.html
23
+ *
24
+ *
25
+ * Unless required by applicable law or agreed to in
26
+ * writing, software distributed under the Licence is
27
+ * distributed on an "AS IS" basis,
28
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
29
+ * express or implied.
30
+ * See the Licence for the specific language governing
31
+ * permissions and limitations under the Licence.
32
+ *
33
+ */
34
+ -->
35
+ <xsd:import namespace="http://europass.cedefop.europa.eu/EQF/08"
36
+ schemaLocation="http://europass.cedefop.europa.eu/xml/imported/EQF_08_V1.0.0.xsd">
37
+ <xsd:annotation>
38
+ <xsd:documentation xml:lang="en">
39
+ The EQF namespace defines a list of educational level codes, which are used to describe the information of an educational experience.
40
+ </xsd:documentation>
41
+ </xsd:annotation>
42
+ </xsd:import>
43
+
44
+ <xsd:import namespace="http://europass.cedefop.europa.eu/ISCED/97"
45
+ schemaLocation="http://europass.cedefop.europa.eu/xml/imported/ISCED97_V1.0.0.xsd">
46
+ <xsd:annotation>
47
+ <xsd:documentation xml:lang="en">
48
+ The ISCED namespace defines a list of educational field and educational level codes, which are used to describe the information of an educational experience.
49
+ </xsd:documentation>
50
+ </xsd:annotation>
51
+ </xsd:import>
52
+
53
+ <xsd:include schemaLocation="./CommonTypes.xsd"/>
54
+ <xsd:include schemaLocation="./Organisation.xsd"/>
55
+ <xsd:include schemaLocation="./Experience.xsd"/>
56
+
57
+ <!-- Educational Experience -->
58
+ <xsd:complexType name="EducationalExperienceType">
59
+ <xsd:annotation>
60
+ <xsd:documentation xml:lang="en">
61
+ Extends the generic ExperienceType to include information about a learning achievement or a training period.
62
+ Contains information about the period the learning experience took place and the awarded title, as well as information about the skills acquired, the organisation providing the education, the educational field and level.
63
+ </xsd:documentation>
64
+ </xsd:annotation>
65
+ <xsd:complexContent>
66
+ <xsd:extension base="ExperienceType">
67
+ <xsd:sequence>
68
+ <xsd:element name="Title" type="xsd:string" minOccurs="0"/>
69
+ <xsd:element name="Activities" type="xsd:string" minOccurs="0"/>
70
+ <xsd:element name="Organisation" type="OrganisationType" minOccurs="0"/>
71
+ <xsd:element name="Level" type="EducationalLevelType" minOccurs="0"/>
72
+ <xsd:element name="Field" type="EducationalFieldType" minOccurs="0"/>
73
+ </xsd:sequence>
74
+ </xsd:extension>
75
+ </xsd:complexContent>
76
+ </xsd:complexType>
77
+
78
+ <xsd:complexType name="EducationalExperienceListType">
79
+ <xsd:annotation>
80
+ <xsd:documentation xml:lang="en">
81
+ Contains an list of learning achievements or a training periods (formal or not). The order of those experiences is defined by the related printing preferences.
82
+ </xsd:documentation>
83
+ </xsd:annotation>
84
+ <xsd:sequence>
85
+ <xsd:element name="Education" type="EducationalExperienceType" minOccurs="0" maxOccurs="unbounded"/>
86
+ </xsd:sequence>
87
+ </xsd:complexType>
88
+
89
+
90
+ <!-- Educational Level -->
91
+ <xsd:complexType name="EducationalLevelType">
92
+ <xsd:annotation>
93
+ <xsd:documentation xml:lang="en">
94
+ Defines an educational level. The educational level is described by a code and a label. E.g. code: 5, label: ISCED 5.
95
+ </xsd:documentation>
96
+ </xsd:annotation>
97
+ <xsd:complexContent>
98
+ <xsd:restriction base="LabelType">
99
+ <xsd:sequence>
100
+ <xsd:element name="Code" minOccurs="0" type="eqf:level">
101
+ <xsd:annotation>
102
+ <xsd:documentation xml:lang="en">
103
+ The educational level code type is defined in the imported schema of ISCED97.
104
+ </xsd:documentation>
105
+ </xsd:annotation>
106
+ </xsd:element>
107
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
108
+ </xsd:sequence>
109
+ </xsd:restriction>
110
+ </xsd:complexContent>
111
+ </xsd:complexType>
112
+
113
+ <!-- Educational Field -->
114
+ <xsd:complexType name="EducationalFieldType">
115
+ <xsd:annotation>
116
+ <xsd:documentation xml:lang="en">
117
+ Defines an educational field. The educational field is described by a code and a label. E.g. code: 21, label: Arts.
118
+ </xsd:documentation>
119
+ </xsd:annotation>
120
+ <xsd:complexContent>
121
+ <xsd:restriction base="LabelType">
122
+ <xsd:sequence>
123
+ <xsd:element name="Code" minOccurs="0" type="isced:field-level2">
124
+ <xsd:annotation>
125
+ <xsd:documentation xml:lang="en">
126
+ The educational field code type is defined in the imported schema of ISCED97.
127
+ </xsd:documentation>
128
+ </xsd:annotation>
129
+ </xsd:element>
130
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
131
+ </xsd:sequence>
132
+ </xsd:restriction>
133
+ </xsd:complexContent>
134
+ </xsd:complexType>
135
+
136
+
137
+ </xsd:schema>
@@ -0,0 +1,65 @@
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="Experience.xsd"/>
34
+ <xsd:include schemaLocation="OccupationalField.xsd"/>
35
+ <xsd:include schemaLocation="Organisation.xsd"/>
36
+
37
+ <xsd:complexType name="WorkExperienceType">
38
+ <xsd:annotation>
39
+ <xsd:documentation xml:lang="en">
40
+ Extends the generic ExperienceType to include information about a work experience.
41
+ Contains information about the period the experience took place and the title of the position, as well as the activities/ tasks and information of the employer.
42
+ </xsd:documentation>
43
+ </xsd:annotation>
44
+ <xsd:complexContent>
45
+ <xsd:extension base="ExperienceType">
46
+ <xsd:sequence>
47
+ <xsd:element name="Position" type="OccupationalFieldType" minOccurs="0"/>
48
+ <xsd:element name="Activities" type="xsd:string" minOccurs="0"/>
49
+ <xsd:element name="Employer" type="EmployerType" minOccurs="0"/>
50
+ </xsd:sequence>
51
+ </xsd:extension>
52
+ </xsd:complexContent>
53
+ </xsd:complexType>
54
+
55
+ <xsd:complexType name="WorkExperienceListType">
56
+ <xsd:annotation>
57
+ <xsd:documentation xml:lang="en">
58
+ Contains an list of work experiences. The order of those experiences is defined by the related printing preferences.
59
+ </xsd:documentation>
60
+ </xsd:annotation>
61
+ <xsd:sequence>
62
+ <xsd:element name="WorkExperience" type="WorkExperienceType" minOccurs="0" maxOccurs="unbounded"/>
63
+ </xsd:sequence>
64
+ </xsd:complexType>
65
+ </xsd:schema>
@@ -0,0 +1,70 @@
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:annotation>
35
+ <xsd:documentation xml:lang="en">
36
+ Describes a Europass Cover Letter. The Cover Letter includes information about:
37
+ - the person to whom it is addressed to (addressee);
38
+ - the subject, date and place;
39
+ - the main content of the letter;
40
+ - the suitable opening and closing letter salutations;
41
+ - the list of enclosed documents;
42
+ The details of the person who prepares the Cover Letter are available in the "LearnerInfo" section of an XML instance that follows the Europass XML Schema Definition.
43
+ </xsd:documentation>
44
+ </xsd:annotation>
45
+
46
+ <xsd:include schemaLocation="PersonName.xsd"/>
47
+ <xsd:include schemaLocation="Organisation.xsd"/>
48
+ <xsd:include schemaLocation="OccupationalField.xsd"/>
49
+ <xsd:include schemaLocation="Letter.xsd"/>
50
+ <xsd:include schemaLocation="DocumentInformation.xsd"/>
51
+ <xsd:include schemaLocation="Documentation.xsd"/>
52
+
53
+ <xsd:complexType name="CoverLetterType">
54
+ <xsd:sequence>
55
+ <xsd:element name="Addressee" type="AddresseeType" minOccurs="0" maxOccurs="1"/>
56
+ <xsd:element name="Letter" type="LetterType" minOccurs="0" maxOccurs="1"/>
57
+ <xsd:element name="Documentation" type="GenericDocumentationType" minOccurs="0" maxOccurs="1"/>
58
+ </xsd:sequence>
59
+ </xsd:complexType>
60
+
61
+ <xsd:complexType name="AddresseeType">
62
+ <xsd:sequence>
63
+ <xsd:element name="PersonName" type="PersonNameType" minOccurs="0" maxOccurs="1"/>
64
+ <xsd:element name="Position" type="OccupationalFieldType" minOccurs="0" maxOccurs="1"/>
65
+ <xsd:element name="Organisation" type="OrganisationType" minOccurs="0" maxOccurs="1"/>
66
+ </xsd:sequence>
67
+ </xsd:complexType>
68
+
69
+
70
+ </xsd:schema>
@@ -0,0 +1,91 @@
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:include schemaLocation="CommonTypes.xsd"/>
35
+ <xsd:include schemaLocation="Identification.xsd"/>
36
+ <xsd:include schemaLocation="Headline.xsd"/>
37
+ <xsd:include schemaLocation="EmploymentExperience.xsd"/>
38
+ <xsd:include schemaLocation="EducationalExperience.xsd"/>
39
+ <xsd:include schemaLocation="Skill.xsd"/>
40
+ <xsd:include schemaLocation="DrivingSkill.xsd"/>
41
+ <xsd:include schemaLocation="ComputerSkill.xsd"/>
42
+ <xsd:include schemaLocation="LinguisticSkill.xsd"/>
43
+ <xsd:include schemaLocation="Achievement.xsd"/>
44
+ <xsd:include schemaLocation="Documentation.xsd"/>
45
+
46
+ <xsd:complexType name="LearnerInfoType">
47
+ <xsd:annotation>
48
+ <xsd:documentation xml:lang="en">
49
+ Defines a sequence of elements that fully describe a Europass XML document.
50
+ </xsd:documentation>
51
+ </xsd:annotation>
52
+ <xsd:sequence>
53
+
54
+ <xsd:element name="Identification" type="IdentificationType" minOccurs="0"/>
55
+
56
+ <xsd:element name="Headline" type="HeadlineType" minOccurs="0"/>
57
+
58
+ <xsd:element name="WorkExperienceList" type="WorkExperienceListType" minOccurs="0"/>
59
+
60
+ <xsd:element name="EducationList" type="EducationalExperienceListType" minOccurs="0"/>
61
+
62
+ <xsd:element name="Skills" type="SkillSetType" minOccurs="0"/>
63
+
64
+ <xsd:element name="AchievementList" type="AchievementListType" minOccurs="0"/>
65
+
66
+ <xsd:element name="Documentation" type="IntraDocumentDocumentationType" minOccurs="0"/>
67
+
68
+ </xsd:sequence>
69
+
70
+ </xsd:complexType>
71
+
72
+
73
+
74
+ <xsd:complexType name="SkillSetType">
75
+ <xsd:annotation>
76
+ <xsd:documentation xml:lang="en">
77
+ Contains a sequence of skills and competences that the learner has acquired during any formal or informal experience.
78
+ </xsd:documentation>
79
+ </xsd:annotation>
80
+ <xsd:sequence>
81
+ <xsd:element name="Linguistic" type="LinguisticSkillType" minOccurs="0"/>
82
+ <xsd:element name="Communication" type="GenericSkillType" minOccurs="0"/>
83
+ <xsd:element name="Organisational" type="GenericSkillType" minOccurs="0"/>
84
+ <xsd:element name="JobRelated" type="GenericSkillType" minOccurs="0"/>
85
+ <xsd:element name="Computer" type="ComputerSkillType" minOccurs="0"/>
86
+ <xsd:element name="Driving" type="DrivingSkillType" minOccurs="0"/>
87
+ <xsd:element name="Other" type="GenericSkillType" minOccurs="0"/>
88
+ </xsd:sequence>
89
+ </xsd:complexType>
90
+
91
+ </xsd:schema>
@@ -0,0 +1,247 @@
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
+ <!-- -->
35
+ <xsd:include schemaLocation="http://europass.cedefop.europa.eu/xml/included/EuropassAddressFormats_V1.3.0.xsd">
36
+ <xsd:annotation>
37
+ <xsd:documentation xml:lang="en">
38
+ The included "EuropassAddressFormats" schema defines the alternatives in formatting the address information dependent on the country of address.
39
+ </xsd:documentation>
40
+ </xsd:annotation>
41
+ </xsd:include>
42
+
43
+ <xsd:complexType name="PrintingPreferencesType">
44
+ <xsd:annotation>
45
+ <xsd:documentation xml:lang="en">
46
+ Defines an element which describes the printing preferences for the XML elements which are shown in the printed versions of the Europass Documents.
47
+ The printing preferences include options for showing/hiding specific fields (e.g. date of birth), sections (Specific work experience item) or entire lists (List of Foreign languages)
48
+ </xsd:documentation>
49
+ </xsd:annotation>
50
+ <xsd:sequence>
51
+ <xsd:element name="Document" type="DocumentPreferencesType" minOccurs="1" maxOccurs="unbounded">
52
+ <xsd:annotation>
53
+ <xsd:documentation xml:lang="en">
54
+ The set of printing preferences are defined on a per-document basis. Initially the cardinality of this field is one.
55
+ However we could envision an expanded XML which will include multiple Document elements, each defining its own printing preferences and thus describing a different document export.
56
+ E.g. Document for a Europass CV and Document for a Europass LP.
57
+ </xsd:documentation>
58
+ </xsd:annotation>
59
+ </xsd:element>
60
+ </xsd:sequence>
61
+ </xsd:complexType>
62
+ <xsd:complexType name="DocumentPreferencesType">
63
+ <xsd:sequence>
64
+ <xsd:element name="Field" minOccurs="0" maxOccurs="unbounded">
65
+ <xsd:annotation>
66
+ <xsd:documentation xml:lang="en">
67
+ Contains four attributes: the name is mapped to a CV/LP XML element and is required. The rest attributes keep, format and before, define whether the element will be displayed, the formatting to be used and the order of its appearance respectively.
68
+ </xsd:documentation>
69
+ </xsd:annotation>
70
+ <xsd:complexType>
71
+ <xsd:attribute name="name" type="FieldNames" use="required"/>
72
+ <xsd:attribute name="show" type="xsd:boolean"/>
73
+ <xsd:attribute name="format" type="SimpleFieldFormats"/>
74
+ <xsd:attribute name="order" type="OrderNames"/>
75
+ <xsd:attribute name="position" type="PositionNames"/>
76
+ <xsd:attribute name="justify" type="xsd:boolean"/>
77
+ </xsd:complexType>
78
+ </xsd:element>
79
+ </xsd:sequence>
80
+ <xsd:attribute name="type" type="DocumentTypeEnumeration" use="required"/>
81
+ </xsd:complexType>
82
+ <xsd:simpleType name="DocumentTypeEnumeration">
83
+ <xsd:restriction base="xsd:string">
84
+ <xsd:enumeration value="ECV"/>
85
+ <xsd:enumeration value="ELP"/>
86
+ <xsd:enumeration value="ECL"/>
87
+ </xsd:restriction>
88
+ </xsd:simpleType>
89
+
90
+ <!-- Valid types for the "format" attribute -->
91
+ <xsd:simpleType name="SimpleFieldFormats">
92
+ <xsd:annotation>
93
+ <xsd:documentation xml:lang="en">
94
+ Defines the supported patterns for formatting various fields. Currently date and address formats are supported.
95
+ </xsd:documentation>
96
+ </xsd:annotation>
97
+ <xsd:union memberTypes="DateFieldFormatPattern AddressFieldFormatPattern"/>
98
+ </xsd:simpleType>
99
+ <xsd:simpleType name="DateFieldFormatPattern">
100
+ <xsd:annotation>
101
+ <xsd:documentation xml:lang="en">
102
+ Defines the supported pattern for formatting dates.
103
+ </xsd:documentation>
104
+ </xsd:annotation>
105
+ <xsd:restriction base="xsd:string">
106
+ <xsd:enumeration value="text/short"/>
107
+ <xsd:enumeration value="text/long"/>
108
+ <xsd:enumeration value="text/long/suffix"/>
109
+ <xsd:enumeration value="text/long/texts"/>
110
+ <xsd:enumeration value="numeric/long"/>
111
+ <xsd:enumeration value="numeric/medium"/>
112
+ <xsd:enumeration value="numeric/short"/>
113
+ </xsd:restriction>
114
+ </xsd:simpleType>
115
+
116
+ <xsd:simpleType name="OrderNames">
117
+ <xsd:annotation>
118
+ <xsd:documentation xml:lang="en">
119
+ Defines the allowed texts to be used for the "order" attribute of afield element.
120
+ </xsd:documentation>
121
+ </xsd:annotation>
122
+ <xsd:restriction base="xsd:string">
123
+ <xsd:enumeration value="FirstName Surname"/>
124
+ <xsd:enumeration value="Surname FirstName"/>
125
+ <xsd:enumeration value="Title FirstName Surname"/>
126
+ <xsd:enumeration value="Title Surname FirstName"/>
127
+ <xsd:enumeration value="FirstName Surname Title"/>
128
+ <xsd:enumeration value="Surname FirstName Title"/>
129
+ <xsd:enumeration value="Identification Headline WorkExperience Education Skills Achievement ReferenceTo"/>
130
+ <xsd:enumeration value="Identification Headline Education WorkExperience Skills Achievement ReferenceTo"/>
131
+ <xsd:enumeration value="Identification Skills ReferenceTo"/>
132
+ <xsd:enumeration value="Addressee Letter.SubjectLine Letter.OpeningSalutation Letter.Body Letter.Localisation Letter.ClosingSalutation"/>
133
+ <xsd:enumeration value="Letter.SubjectLine Addressee Letter.OpeningSalutation Letter.Body Letter.Localisation Letter.ClosingSalutation"/>
134
+ <xsd:enumeration value="Letter.Localisation Addressee Letter.SubjectLine Letter.OpeningSalutation Letter.Body Letter.ClosingSalutation"/>
135
+ <xsd:enumeration value="Letter.SubjectLine Addressee Letter.Localisation Letter.OpeningSalutation Letter.Body Letter.ClosingSalutation"/>
136
+ <xsd:enumeration value="Letter.Localisation Letter.SubjectLine Addressee Letter.OpeningSalutation Letter.Body Letter.ClosingSalutation"/>
137
+ <xsd:enumeration value="Addressee Letter.Localisation Letter.SubjectLine Letter.OpeningSalutation Letter.Body Letter.ClosingSalutation"/>
138
+ <xsd:enumeration value="Addressee Letter.SubjectLine Letter.Localisation Letter.OpeningSalutation Letter.Body Letter.ClosingSalutation"/>
139
+ <xsd:enumeration value="Date Place"/>
140
+ <xsd:enumeration value="Place Date"/>
141
+ </xsd:restriction>
142
+ </xsd:simpleType>
143
+
144
+ <xsd:simpleType name="PositionNames">
145
+ <xsd:restriction base="xsd:string">
146
+ <xsd:enumeration value="left-align"/>
147
+ <xsd:enumeration value="right-align"/>
148
+ <xsd:enumeration value="middle-align"/>
149
+ </xsd:restriction>
150
+ </xsd:simpleType>
151
+
152
+ <xsd:simpleType name="FieldNames">
153
+ <xsd:annotation>
154
+ <xsd:documentation xml:lang="en">
155
+ Defines the allowed texts to be used for the name attribute of the field element.
156
+ </xsd:documentation>
157
+ </xsd:annotation>
158
+ <xsd:union memberTypes="SimpleFieldNames
159
+ WorkExperienceDetailFieldNames
160
+ EducationDetailFieldNames
161
+ ForeignLanguageCertificateFieldNames
162
+ ForeignLanguageExperienceFieldNames
163
+ CoverLetterFieldNames"/>
164
+ </xsd:simpleType>
165
+ <xsd:simpleType name="SimpleFieldNames">
166
+ <xsd:annotation>
167
+ <xsd:documentation xml:lang="en">
168
+ Lists the allowed texts to be used for the name attribute of the field element, having them correspond to the XML element of the learnerinfo root element.
169
+ NOTE: The names correspond to the JSON paths of the corresponding JSON field.
170
+ </xsd:documentation>
171
+ </xsd:annotation>
172
+ <xsd:restriction base="xsd:string">
173
+ <xsd:enumeration value="LearnerInfo"/>
174
+ <xsd:enumeration value="LearnerInfo.Identification.PersonName"/>
175
+ <!-- xsd:enumeration value="LearnerInfo.Identification.ContactInfo.Address"/ -->
176
+ <xsd:enumeration value="LearnerInfo.Identification.Demographics.Birthdate"/>
177
+ <xsd:enumeration value="LearnerInfo.CEFLanguageLevelsGrid"/>
178
+ </xsd:restriction>
179
+ </xsd:simpleType>
180
+
181
+ <xsd:simpleType name="WorkExperienceDetailFieldNames">
182
+ <xsd:annotation>
183
+ <xsd:documentation xml:lang="en">
184
+ Defines the allowed texts to be used for the name attribute of the field elements that refer to a specific work experience.
185
+ Fields that may be hidden:
186
+ - Period,
187
+ - the contact address of the employer
188
+ </xsd:documentation>
189
+ </xsd:annotation>
190
+ <xsd:restriction base="xsd:string">
191
+ <xsd:pattern value="LearnerInfo\.WorkExperience\[\d+\]\.Period"/>
192
+ </xsd:restriction>
193
+ </xsd:simpleType>
194
+
195
+ <xsd:simpleType name="EducationDetailFieldNames">
196
+ <xsd:annotation>
197
+ <xsd:documentation xml:lang="en">
198
+ Defines the allowed texts to be used for the name attribute of the field elements that refer to a specific educational experirence.
199
+ Fields that may be hidden:
200
+ - Period,
201
+ - the contact address of the organisation
202
+ </xsd:documentation>
203
+ </xsd:annotation>
204
+ <xsd:restriction base="xsd:string">
205
+ <xsd:pattern value="LearnerInfo\.Education\[\d+\]\.Period"/>
206
+ </xsd:restriction>
207
+ </xsd:simpleType>
208
+
209
+ <xsd:simpleType name="ForeignLanguageCertificateFieldNames">
210
+ <xsd:annotation>
211
+ <xsd:documentation xml:lang="en">
212
+ Defines the allowed texts to be used for the name attribute of the field elements that refer to a specific foreign language.
213
+ </xsd:documentation>
214
+ </xsd:annotation>
215
+ <xsd:restriction base="xsd:string">
216
+ <xsd:pattern value="LearnerInfo\.Skills\.Linguistic\.ForeignLanguage\[\d+\]\.Certificate\[\d+\]\.Date"/>
217
+ </xsd:restriction>
218
+ </xsd:simpleType>
219
+ <xsd:simpleType name="ForeignLanguageExperienceFieldNames">
220
+ <xsd:annotation>
221
+ <xsd:documentation xml:lang="en">
222
+ Defines the allowed texts to be used for the name attribute of the field elements that refer to a specific foreign language.
223
+ </xsd:documentation>
224
+ </xsd:annotation>
225
+ <xsd:restriction base="xsd:string">
226
+ <xsd:pattern value="LearnerInfo\.Skills\.Linguistic\.ForeignLanguage\[\d+\]\.Experience\[\d+\]\.Period"/>
227
+ </xsd:restriction>
228
+ </xsd:simpleType>
229
+
230
+ <xsd:simpleType name="CoverLetterFieldNames">
231
+ <xsd:annotation>
232
+ <xsd:documentation xml:lang="en">
233
+ Defines the allowed text to be used for the name attribute of the field elements that refer to the layout and printing preferences of the Cover Letter.
234
+ </xsd:documentation>
235
+ </xsd:annotation>
236
+ <xsd:restriction base="xsd:string">
237
+ <xsd:enumeration value="CoverLetter"/>
238
+ <xsd:enumeration value="CoverLetter.Addressee"/>
239
+ <xsd:enumeration value="CoverLetter.Addressee.PersonName"/>
240
+ <!-- xsd:enumeration value="CoverLetter.Addressee.Organisation.ContactInfo.Address"/-->
241
+ <xsd:enumeration value="CoverLetter.Letter.Localisation"/>
242
+ <xsd:enumeration value="CoverLetter.Letter.Localisation.Date"/>
243
+ <xsd:enumeration value="CoverLetter.Letter.ClosingSalutation"/>
244
+ <xsd:enumeration value="CoverLetter.Justification"/>
245
+ </xsd:restriction>
246
+ </xsd:simpleType>
247
+ </xsd:schema>