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,129 @@
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="ContactInformation.xsd"/>
35
+ <xsd:include schemaLocation="PersonName.xsd"/>
36
+
37
+ <xsd:complexType name="LetterType">
38
+ <xsd:sequence>
39
+ <xsd:element name="Localisation" type="LetterLocalisationType" minOccurs="0" maxOccurs="1"/>
40
+ <xsd:element name="SubjectLine" type="xsd:string" minOccurs="0" maxOccurs="1"/>
41
+ <xsd:element name="OpeningSalutation" type="OpeningSalutationType" minOccurs="0" maxOccurs="1"/>
42
+ <xsd:element name="Body" type="BodyType" minOccurs="0" maxOccurs="1"/>
43
+ <xsd:element name="ClosingSalutation" type="ClosingSalutationType" minOccurs="0" maxOccurs="1"/>
44
+ </xsd:sequence>
45
+ </xsd:complexType>
46
+
47
+ <xsd:complexType name="LetterLocalisationType">
48
+ <xsd:annotation>
49
+ <xsd:documentation xml:lang="en">
50
+ Describes the date and place of the writing of the specific cover letter.
51
+ </xsd:documentation>
52
+ </xsd:annotation>
53
+ <xsd:sequence>
54
+ <xsd:element name="Date" type="DateType" minOccurs="0" maxOccurs="1"/>
55
+ <xsd:element name="Place" type="LocalisationPlaceType" minOccurs="0" maxOccurs="1"/>
56
+ </xsd:sequence>
57
+ </xsd:complexType>
58
+
59
+ <xsd:complexType name="LocalisationPlaceType">
60
+ <xsd:annotation>
61
+ <xsd:documentation xml:lang="en">
62
+ Restricts the usual Address information by defining that it may include only a Municipality and/or Country.
63
+ </xsd:documentation>
64
+ </xsd:annotation>
65
+ <xsd:complexContent>
66
+ <xsd:restriction base="AddressInfoType">
67
+ <xsd:sequence>
68
+ <xsd:element name="Municipality" type="xsd:string" minOccurs="0" maxOccurs="1"/>
69
+ <xsd:element name="Country" type="CountryType" minOccurs="0" maxOccurs="1"/>
70
+ </xsd:sequence>
71
+ </xsd:restriction>
72
+ </xsd:complexContent>
73
+ </xsd:complexType>
74
+
75
+ <xsd:complexType name="OpeningSalutationType">
76
+ <xsd:annotation>
77
+ <xsd:documentation xml:lang="en">
78
+ Describes the opening salutation to the expected reader of this cover letter.
79
+ </xsd:documentation>
80
+ </xsd:annotation>
81
+ <xsd:sequence>
82
+ <xsd:element name="Salutation" type="OpeningSalutationSalutationType" minOccurs="0" maxOccurs="1"/>
83
+ <xsd:element name="PersonName" type="PersonNameType" minOccurs="0" maxOccurs="1"/>
84
+ </xsd:sequence>
85
+ </xsd:complexType>
86
+
87
+ <xsd:complexType name="BodyType">
88
+ <xsd:sequence>
89
+ <xsd:element name="Opening" type="xsd:string" minOccurs="0" maxOccurs="1"/>
90
+ <xsd:element name="MainBody" type="xsd:string" minOccurs="0" maxOccurs="1"/>
91
+ <xsd:element name="Closing" type="xsd:string" minOccurs="0" maxOccurs="1"/>
92
+ </xsd:sequence>
93
+ </xsd:complexType>
94
+
95
+ <xsd:complexType name="ClosingSalutationType">
96
+ <xsd:complexContent>
97
+ <xsd:restriction base="LabelType">
98
+ <xsd:sequence>
99
+ <xsd:element name="Code" minOccurs="0" maxOccurs="1" type="ClosingSalutationTypesEnumeration"/>
100
+ <xsd:element name="Label" type="xsd:string" minOccurs="0" maxOccurs="1"/>
101
+ </xsd:sequence>
102
+ </xsd:restriction>
103
+ </xsd:complexContent>
104
+ </xsd:complexType>
105
+
106
+ <xsd:simpleType name="ClosingSalutationTypesEnumeration">
107
+ <xsd:restriction base="xsd:string">
108
+ <xsd:pattern value="closing-salut-[1-9]{1}([0-9]{1})?"></xsd:pattern>
109
+ </xsd:restriction>
110
+ </xsd:simpleType>
111
+
112
+
113
+ <xsd:complexType name="OpeningSalutationSalutationType">
114
+ <xsd:complexContent>
115
+ <xsd:restriction base="LabelType">
116
+ <xsd:sequence>
117
+ <xsd:element name="Code" minOccurs="0" maxOccurs="1" type="OpeningSalutationTypesEnumeration"/>
118
+ <xsd:element name="Label" type="xsd:string" minOccurs="0" maxOccurs="1"/>
119
+ </xsd:sequence>
120
+ </xsd:restriction>
121
+ </xsd:complexContent>
122
+ </xsd:complexType>
123
+
124
+ <xsd:simpleType name="OpeningSalutationTypesEnumeration">
125
+ <xsd:restriction base="xsd:string">
126
+ <xsd:pattern value="opening-salut-[1-9]{1}([0-9]{1})?(-impersonal)?"></xsd:pattern>
127
+ </xsd:restriction>
128
+ </xsd:simpleType>
129
+ </xsd:schema>
@@ -0,0 +1,189 @@
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="Skill.xsd"/>
36
+ <xsd:include schemaLocation="Language.xsd"/>
37
+ <xsd:include schemaLocation="Certificate.xsd"/>
38
+ <xsd:include schemaLocation="Experience.xsd"/>
39
+
40
+ <xsd:complexType name="LinguisticSkillType">
41
+ <xsd:sequence>
42
+ <xsd:element name="MotherTongueList" minOccurs="0">
43
+ <xsd:complexType>
44
+ <xsd:sequence>
45
+ <xsd:element name="MotherTongue" type="MotherTongueSkillType" minOccurs="0" maxOccurs="unbounded"/>
46
+ </xsd:sequence>
47
+ </xsd:complexType>
48
+ </xsd:element>
49
+ <xsd:element name="ForeignLanguageList" minOccurs="0">
50
+ <xsd:complexType>
51
+ <xsd:sequence>
52
+ <xsd:element name="ForeignLanguage" type="ForeignLanguageSkillType" minOccurs="0" maxOccurs="unbounded"/>
53
+ </xsd:sequence>
54
+ </xsd:complexType>
55
+ </xsd:element>
56
+ </xsd:sequence>
57
+ </xsd:complexType>
58
+
59
+ <xsd:complexType name="MotherTongueSkillType">
60
+ <xsd:complexContent>
61
+ <xsd:restriction base="SkillType">
62
+ <xsd:sequence>
63
+ <xsd:element name="Description" type="MotherLanguageType" minOccurs="0"/>
64
+ <xsd:element name="Documentation" type="IntraDocumentDocumentationType" minOccurs="0"/>
65
+ </xsd:sequence>
66
+ </xsd:restriction>
67
+ </xsd:complexContent>
68
+ </xsd:complexType>
69
+
70
+ <xsd:complexType name="ForeignLanguageSkillType">
71
+ <xsd:annotation>
72
+ <xsd:documentation xml:lang="en">
73
+ Restricts the generic skill type by specifying the data type of the elements that describe the level of knowledge of the language and related linguistic diplomas and/or experiences.
74
+ </xsd:documentation>
75
+ </xsd:annotation>
76
+ <xsd:complexContent>
77
+ <xsd:restriction base="SkillType">
78
+ <xsd:sequence>
79
+ <xsd:element name="Description" type="ForeignLanguageType" minOccurs="0"/>
80
+ <xsd:element name="ProficiencyLevel" type="ProficiencyLevelType" minOccurs="0"/>
81
+ <xsd:element name="AcquiredDuring" minOccurs="0" type="LinguisticExperienceListType"/>
82
+ <xsd:element name="VerifiedBy" type="LinguisticCertificateListType" minOccurs="0"/>
83
+ <xsd:element name="Documentation" type="IntraDocumentDocumentationType" minOccurs="0"/>
84
+ </xsd:sequence>
85
+ </xsd:restriction>
86
+ </xsd:complexContent>
87
+ </xsd:complexType>
88
+
89
+ <xsd:complexType name="ProficiencyLevelType">
90
+ <xsd:complexContent>
91
+ <xsd:restriction base="xsd:anyType">
92
+ <xsd:sequence>
93
+ <xsd:element name="Listening" type="CEFLanguageLevelType" minOccurs="0"/>
94
+ <xsd:element name="Reading" type="CEFLanguageLevelType" minOccurs="0"/>
95
+ <xsd:element name="SpokenInteraction" type="CEFLanguageLevelType" minOccurs="0"/>
96
+ <xsd:element name="SpokenProduction" type="CEFLanguageLevelType" minOccurs="0"/>
97
+ <xsd:element name="Writing" type="CEFLanguageLevelType" minOccurs="0"/>
98
+ </xsd:sequence>
99
+ </xsd:restriction>
100
+ </xsd:complexContent>
101
+ </xsd:complexType>
102
+
103
+ <xsd:complexType name="LinguisticCertificateListType">
104
+ <xsd:complexContent>
105
+ <xsd:restriction base="CertificateListType">
106
+ <xsd:sequence>
107
+ <xsd:element name="Certificate" type="LinguisticCertificateType" minOccurs="0" maxOccurs="unbounded"/>
108
+ </xsd:sequence>
109
+ </xsd:restriction>
110
+ </xsd:complexContent>
111
+ </xsd:complexType>
112
+
113
+ <xsd:complexType name="LinguisticCertificateType">
114
+ <xsd:annotation>
115
+ <xsd:documentation xml:lang="en">
116
+ Defines a Linguistic Certificate by restricting the allowed type for the level element to be "CEFLanguageLevel"
117
+ </xsd:documentation>
118
+ </xsd:annotation>
119
+ <xsd:complexContent>
120
+ <xsd:restriction base="CertificateType">
121
+ <xsd:sequence>
122
+ <xsd:element name="Title" type="xsd:string" minOccurs="0"/>
123
+ <xsd:element name="AwardingBody" type="xsd:string" minOccurs="0"/>
124
+ <xsd:element name="Date" type="DateType" minOccurs="0"/>
125
+ <xsd:element name="Level" type="CEFLanguageLevelType" minOccurs="0"/>
126
+ </xsd:sequence>
127
+ </xsd:restriction>
128
+ </xsd:complexContent>
129
+ </xsd:complexType>
130
+
131
+ <xsd:complexType name="LinguisticExperienceType">
132
+ <xsd:annotation>
133
+ <xsd:documentation xml:lang="en">
134
+ Extends the generic ExperienceType to include information about an experience that results in acquiring linguistic skills.
135
+ Contains information about the period the linguistic experience took place and the area/context into which it is acquiared.
136
+ </xsd:documentation>
137
+ </xsd:annotation>
138
+ <xsd:complexContent>
139
+ <xsd:restriction base="xsd:anyType">
140
+ <xsd:sequence>
141
+ <xsd:element name="Period" type="PeriodType" minOccurs="0"/>
142
+ <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
143
+ <xsd:element name="Documentation" minOccurs="0" type="IntraDocumentDocumentationType"/>
144
+ <xsd:element name="Area" type="LinguisticExperienceAreaType" minOccurs="0"/>
145
+ </xsd:sequence>
146
+ </xsd:restriction>
147
+ </xsd:complexContent>
148
+ </xsd:complexType>
149
+
150
+
151
+ <xsd:complexType name="LinguisticExperienceListType">
152
+ <xsd:annotation>
153
+ <xsd:documentation xml:lang="en">
154
+ Defines a list of Experiences.
155
+ </xsd:documentation>
156
+ </xsd:annotation>
157
+ <xsd:complexContent>
158
+ <xsd:restriction base="AbstractExperienceListType">
159
+ <xsd:sequence>
160
+ <xsd:element name="Experience" type="LinguisticExperienceType" minOccurs="0" maxOccurs="unbounded"/>
161
+ </xsd:sequence>
162
+ </xsd:restriction>
163
+ </xsd:complexContent>
164
+ </xsd:complexType>
165
+
166
+
167
+ <!-- Linguistic Experience Area -->
168
+ <xsd:complexType name="LinguisticExperienceAreaType">
169
+ <xsd:complexContent>
170
+ <xsd:restriction base="LabelType">
171
+ <xsd:sequence>
172
+ <xsd:element name="Code" minOccurs="0" type="LinguisticExperienceAreasEnumeration"/>
173
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
174
+ </xsd:sequence>
175
+ </xsd:restriction>
176
+ </xsd:complexContent>
177
+ </xsd:complexType>
178
+
179
+
180
+ <xsd:simpleType name="LinguisticExperienceAreasEnumeration">
181
+ <xsd:restriction base="xsd:string">
182
+ <xsd:enumeration value="studying_training_language"/>
183
+ <xsd:enumeration value="work_language"/>
184
+ <xsd:enumeration value="living_traveling_language"/>
185
+ <xsd:enumeration value="mediating_groups_language"/>
186
+ </xsd:restriction>
187
+ </xsd:simpleType>
188
+
189
+ </xsd:schema>
@@ -0,0 +1,68 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema
3
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:isco88com="http://europass.cedefop.europa.eu/ISCO/88/COM"
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:include schemaLocation="http://europass.cedefop.europa.eu/xml/included/EuropassISCO_88_COM_V1.4.0.xsd">
36
+ <xsd:annotation>
37
+ <xsd:documentation xml:lang="en">
38
+ The included "ISCO 88 COM " schema defines the list of occupation field codes that are used to describe the information of a work experience.
39
+ </xsd:documentation>
40
+ </xsd:annotation>
41
+ </xsd:include>
42
+
43
+ <xsd:include schemaLocation="CommonTypes.xsd"/>
44
+
45
+ <!-- Occupation -->
46
+ <xsd:complexType name="OccupationalFieldType">
47
+ <xsd:annotation>
48
+ <xsd:documentation xml:lang="en">
49
+ Defines an occupational field. The occupational field is described by a code and a label. E.g. code: 41150, label: Secretary.
50
+ </xsd:documentation>
51
+ </xsd:annotation>
52
+ <xsd:complexContent>
53
+ <xsd:restriction base="LabelType">
54
+ <xsd:sequence>
55
+ <xsd:element name="Code" minOccurs="0" type="isco88com-level5">
56
+ <xsd:annotation>
57
+ <xsd:documentation xml:lang="en">
58
+ The occupational field code type is defined in the included schema "EuropassISCO_88_COM".
59
+ </xsd:documentation>
60
+ </xsd:annotation>
61
+ </xsd:element>
62
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
63
+ </xsd:sequence>
64
+ </xsd:restriction>
65
+ </xsd:complexContent>
66
+ </xsd:complexType>
67
+
68
+ </xsd:schema>
@@ -0,0 +1,129 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsd:schema
3
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4
+ xmlns:nace="http://europass.cedefop.europa.eu/NACE"
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
+ <xsd:import namespace="http://europass.cedefop.europa.eu/NACE"
35
+ schemaLocation="http://europass.cedefop.europa.eu/xml/imported/NACE_COM_V1.0.0.xsd">
36
+ <xsd:annotation>
37
+ <xsd:documentation xml:lang="en">
38
+ The NACE namespace defines a list of business sectors codes, which are used to describe the information of a work experience.
39
+ </xsd:documentation>
40
+ </xsd:annotation>
41
+ </xsd:import>
42
+
43
+ <xsd:include schemaLocation="CommonTypes.xsd"/>
44
+ <xsd:include schemaLocation="ContactInformation.xsd"/>
45
+
46
+ <!-- Organisation -->
47
+ <xsd:complexType name="OrganisationType">
48
+ <xsd:annotation>
49
+ <xsd:documentation xml:lang="en">
50
+ Defines an abstract organisation type. An organisation is generally described by a name and an address.
51
+ </xsd:documentation>
52
+ </xsd:annotation>
53
+ <xsd:sequence>
54
+ <xsd:element name="Name" type="xsd:string" minOccurs="0"/>
55
+ <xsd:element name="ContactInfo" type="OrganisationalContactInfoType" minOccurs="0"/>
56
+ </xsd:sequence>
57
+ </xsd:complexType>
58
+
59
+
60
+ <!-- Contact Information of Organisations-->
61
+ <xsd:complexType name="OrganisationalContactInfoType">
62
+ <xsd:sequence>
63
+ <xsd:element name="Address" type="ContactAddressType" minOccurs="0" maxOccurs="1"/>
64
+ <xsd:element name="Website" type="OrganisationalWebsiteType" minOccurs="0" maxOccurs="1"/>
65
+ </xsd:sequence>
66
+ </xsd:complexType>
67
+
68
+
69
+ <xsd:complexType name="OrganisationalWebsiteType">
70
+ <xsd:complexContent>
71
+ <xsd:restriction base="ContactMethodType">
72
+ <xsd:sequence>
73
+ <xsd:element name="Contact" minOccurs="0" maxOccurs="1" type="xsd:anyURI"/>
74
+ <xsd:element name="Use" minOccurs="0" maxOccurs="1" type="OrganisationalWebsiteUseType"/>
75
+ </xsd:sequence>
76
+ </xsd:restriction>
77
+ </xsd:complexContent>
78
+ </xsd:complexType>
79
+
80
+ <xsd:complexType name="OrganisationalWebsiteUseType">
81
+ <xsd:complexContent>
82
+ <xsd:restriction base="LabelType">
83
+ <xsd:sequence>
84
+ <xsd:element name="Code" minOccurs="0" type="xsd:string" fixed="business"/>
85
+ </xsd:sequence>
86
+ </xsd:restriction>
87
+ </xsd:complexContent>
88
+ </xsd:complexType>
89
+
90
+
91
+ <xsd:complexType name="EmployerType">
92
+ <xsd:annotation>
93
+ <xsd:documentation xml:lang="en">
94
+ Defines an organisation providing employment by extending the abstract organisation type to include information about the business sector the company belongs to.
95
+ </xsd:documentation>
96
+ </xsd:annotation>
97
+ <xsd:complexContent>
98
+ <xsd:extension base="OrganisationType">
99
+ <xsd:sequence>
100
+ <xsd:element name="Sector" type="BusinesSectorType" minOccurs="0"/>
101
+ </xsd:sequence>
102
+ </xsd:extension>
103
+ </xsd:complexContent>
104
+ </xsd:complexType>
105
+
106
+ <!-- Business Sector -->
107
+ <xsd:complexType name="BusinesSectorType">
108
+ <xsd:annotation>
109
+ <xsd:documentation xml:lang="en">
110
+ Defines a business sector. The business sector is described by a code and a label. E.g. code: P, label: Education.
111
+ </xsd:documentation>
112
+ </xsd:annotation>
113
+ <xsd:complexContent>
114
+ <xsd:restriction base="LabelType">
115
+ <xsd:sequence>
116
+ <xsd:element name="Code" minOccurs="0" type="nace:sector-level1">
117
+ <xsd:annotation>
118
+ <xsd:documentation xml:lang="en">
119
+ The business sector code type is define in the imported schema of NACE.
120
+ </xsd:documentation>
121
+ </xsd:annotation>
122
+ </xsd:element>
123
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
124
+ </xsd:sequence>
125
+ </xsd:restriction>
126
+ </xsd:complexContent>
127
+ </xsd:complexType>
128
+
129
+ </xsd:schema>