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,133 @@
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
+ * Copyright European Union 2002-2014
10
+ *
11
+ *
12
+ * Licensed under the EUPL, Version 1.1 or – as soon they
13
+ * will be approved by the European Commission - subsequent
14
+ * versions of the EUPL (the "Licence");
15
+ * You may not use this work except in compliance with the
16
+ * Licence.
17
+ * You may obtain a copy of the Licence at:
18
+ *
19
+ * http://ec.europa.eu/idabc/eupl.html
20
+ *
21
+ *
22
+ * Unless required by applicable law or agreed to in
23
+ * writing, software distributed under the Licence is
24
+ * distributed on an "AS IS" basis,
25
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
26
+ * express or implied.
27
+ * See the Licence for the specific language governing
28
+ * permissions and limitations under the Licence.
29
+ *
30
+ */
31
+ -->
32
+ <xsd:annotation>
33
+ <xsd:documentation xml:lang="en">
34
+ Europass XML describes the information of Europass documents and more.
35
+ </xsd:documentation>
36
+ </xsd:annotation>
37
+ <xsd:include schemaLocation="EuropassLearnerInformation.xsd">
38
+ <xsd:annotation>
39
+ <xsd:documentation xml:lang="en">
40
+ The included schema describes the structure of the Learner Information element.
41
+ </xsd:documentation>
42
+ </xsd:annotation>
43
+ </xsd:include>
44
+ <xsd:include schemaLocation="EuropassCoverLetter.xsd">
45
+ <xsd:annotation>
46
+ <xsd:documentation xml:lang="en">
47
+ The included schema describes the structure of the Cover Letter element.
48
+ </xsd:documentation>
49
+ </xsd:annotation>
50
+ </xsd:include>
51
+ <xsd:include schemaLocation="EuropassPrintingPreferences.xsd">
52
+ <xsd:annotation>
53
+ <xsd:documentation xml:lang="en">
54
+ The included "PrintingPreferences" schema defines printing preferences for the Europass XML elements. For almost each XML element, a "Field" element is added that defines whether this field should appear in the produced Europass document (PDF, Word, ODT, HTML) and according to which format and at what order.
55
+ </xsd:documentation>
56
+ </xsd:annotation>
57
+ </xsd:include>
58
+
59
+ <xsd:include schemaLocation="DocumentInformation.xsd">
60
+ <xsd:annotation>
61
+ <xsd:documentation xml:lang="en">
62
+ The included "DocumentInformation" schema defines metadata elements that describe the specific XML instance.
63
+ </xsd:documentation>
64
+ </xsd:annotation>
65
+ </xsd:include>
66
+
67
+ <xsd:include schemaLocation="CommonTypes.xsd">
68
+ <xsd:annotation>
69
+ <xsd:documentation xml:lang="en">
70
+ The included "CommonTypes" schema defines simple and complex types re-used accross the Europass XML Schema Definition.
71
+ </xsd:documentation>
72
+ </xsd:annotation>
73
+ </xsd:include>
74
+
75
+ <xsd:include schemaLocation="DigitalContent.xsd">
76
+ <xsd:annotation>
77
+ <xsd:documentation xml:lang="en">
78
+ The included "DigitalContent" schema defines elements that refer to digital content included to the specific XML instance. This content refers to PDF, JPG, PNG files that described document attached to a Europass Document, the photo of the Learner of the signature of the Learner.
79
+ </xsd:documentation>
80
+ </xsd:annotation>
81
+ </xsd:include>
82
+
83
+ <xsd:element name="SkillsPassport">
84
+ <xsd:annotation>
85
+ <xsd:documentation xml:lang="en">
86
+ Skill Passport is the root element of any Europass XML document. This element actually defines a person’s portfolio that includes information coming from the Curriculum Vitae, Language Passport or other Europass documents, as well other non-Europass documents.
87
+ It is the actual template describing and organizing the learner’s information, and the way this information appears in the produced document –considering the printing preferences about the order and the format–. It also included all the documents attached as supporting material to this portfolio.
88
+ </xsd:documentation>
89
+ </xsd:annotation>
90
+ <xsd:complexType>
91
+ <xsd:sequence>
92
+ <xsd:element name="DocumentInfo" type="DocumentInfoType" minOccurs="1" maxOccurs="1">
93
+ <xsd:annotation>
94
+ <xsd:documentation xml:lang="en">
95
+ Contains metadata information about the specific document
96
+ </xsd:documentation>
97
+ </xsd:annotation>
98
+ </xsd:element>
99
+ <xsd:element name="PrintingPreferences" type="PrintingPreferencesType" minOccurs="0" maxOccurs="1">
100
+ <xsd:annotation>
101
+ <xsd:documentation xml:lang="en">
102
+ Includes the preferences of the individual related to how to display the information included in the Europass XML when printed into readable format (e.g. PDF, ODT, DOC).
103
+ </xsd:documentation>
104
+ </xsd:annotation>
105
+ </xsd:element>
106
+ <xsd:element name="LearnerInfo" type="LearnerInfoType" minOccurs="1" maxOccurs="1">
107
+ <xsd:annotation>
108
+ <xsd:documentation xml:lang="en">
109
+ The core element of Europass schema, that includes all information about personal data, learning achievements, work experiences, skills, competences, diplomas and other miscellaneous information.
110
+ </xsd:documentation>
111
+ </xsd:annotation>
112
+ </xsd:element>
113
+ <xsd:element name="AttachmentList" type="AttachmentListType" minOccurs="0" maxOccurs="1">
114
+ <xsd:annotation>
115
+ <xsd:documentation xml:lang="en">
116
+ 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.
117
+ </xsd:documentation>
118
+ </xsd:annotation>
119
+ </xsd:element>
120
+ <xsd:element name="CoverLetter" type="CoverLetterType" minOccurs="0" maxOccurs="1">
121
+ <xsd:annotation>
122
+ <xsd:documentation xml:lang="en">
123
+ Includes the content of a Cover Letter.
124
+ </xsd:documentation>
125
+ </xsd:annotation>
126
+ </xsd:element>
127
+ </xsd:sequence>
128
+ <xsd:attribute name="locale" type="LocaleType" use="required"/>
129
+ </xsd:complexType>
130
+ </xsd:element>
131
+
132
+ </xsd:schema>
133
+
@@ -0,0 +1,75 @@
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
+
35
+ <xsd:include schemaLocation="Documentation.xsd"/>
36
+
37
+ <xsd:complexType name="ExperienceType">
38
+ <xsd:annotation>
39
+ <xsd:documentation xml:lang="en">
40
+ Defines the information describing an Experience. An Experience contains information about the period the experience took place and a free text description of the experience.
41
+ </xsd:documentation>
42
+ </xsd:annotation>
43
+ <xsd:complexContent>
44
+ <xsd:restriction base="xsd:anyType">
45
+ <xsd:sequence>
46
+ <xsd:element name="Period" type="PeriodType" minOccurs="0"/>
47
+ <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
48
+ <xsd:element name="Documentation" minOccurs="0" type="IntraDocumentDocumentationType"/>
49
+ </xsd:sequence>
50
+ </xsd:restriction>
51
+ </xsd:complexContent>
52
+ </xsd:complexType>
53
+
54
+ <xsd:complexType name="AbstractExperienceListType">
55
+ <xsd:annotation>
56
+ <xsd:documentation xml:lang="en">
57
+ Defines a list of Experiences.
58
+ </xsd:documentation>
59
+ </xsd:annotation>
60
+ <xsd:sequence>
61
+ <xsd:element name="Experience" type="xsd:anyType" minOccurs="0" maxOccurs="unbounded"/>
62
+ </xsd:sequence>
63
+ </xsd:complexType>
64
+
65
+ <xsd:complexType name="ExperienceListType">
66
+ <xsd:annotation>
67
+ <xsd:documentation xml:lang="en">
68
+ Defines a list of Experiences.
69
+ </xsd:documentation>
70
+ </xsd:annotation>
71
+ <xsd:sequence>
72
+ <xsd:element name="Experience" type="ExperienceType" minOccurs="0" maxOccurs="unbounded"/>
73
+ </xsd:sequence>
74
+ </xsd:complexType>
75
+ </xsd:schema>
@@ -0,0 +1,97 @@
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="OccupationalField.xsd"/>
35
+
36
+ <xsd:complexType name="HeadlineType">
37
+ <xsd:annotation>
38
+ <xsd:documentation xml:lang="en">
39
+ Contains a headline label for the current document. It is optional and may accommodate various cases.
40
+ </xsd:documentation>
41
+ </xsd:annotation>
42
+ <xsd:sequence>
43
+ <xsd:element name="Type" type="HeadlineTypeLabelType" minOccurs="0" maxOccurs="1"/>
44
+ <xsd:element name="Description" type="OccupationalFieldType" minOccurs="0" maxOccurs="1"/>
45
+ </xsd:sequence>
46
+ </xsd:complexType>
47
+
48
+ <!-- Headline Types -->
49
+ <xsd:complexType name="HeadlineTypeLabelType">
50
+ <xsd:complexContent>
51
+ <xsd:restriction base="LabelType" >
52
+ <xsd:sequence>
53
+ <xsd:element name="Code" minOccurs="0" maxOccurs="1" type="HeadlineTypesEnumeration"/>
54
+ <xsd:element name="Label" type="xsd:string" minOccurs="0" maxOccurs="1"/>
55
+ </xsd:sequence>
56
+ </xsd:restriction>
57
+ </xsd:complexContent>
58
+ </xsd:complexType>
59
+
60
+ <xsd:simpleType name="HeadlineTypesEnumeration">
61
+ <xsd:restriction base="xsd:string">
62
+ <xsd:enumeration value="preferred_job"/>
63
+ <xsd:enumeration value="job_applied_for"/>
64
+ <xsd:enumeration value="studies_applied_for"/>
65
+ <xsd:enumeration value="position"/>
66
+ <xsd:enumeration value="personal_statement"/>
67
+ </xsd:restriction>
68
+ </xsd:simpleType>
69
+
70
+ <xsd:complexType name="PositionType">
71
+ <xsd:annotation>
72
+ <xsd:documentation xml:lang="en">
73
+ Restricts a HeadlineType by defining that it refers to the Position held by an Individual
74
+ </xsd:documentation>
75
+ </xsd:annotation>
76
+ <xsd:complexContent>
77
+ <xsd:restriction base="HeadlineType">
78
+ <xsd:sequence>
79
+ <xsd:element name="Type" type="PositionTypeLabelType" minOccurs="0" maxOccurs="1"/>
80
+ <xsd:element name="Description" type="OccupationalFieldType" minOccurs="0" maxOccurs="1"/>
81
+ </xsd:sequence>
82
+ </xsd:restriction>
83
+ </xsd:complexContent>
84
+ </xsd:complexType>
85
+
86
+ <xsd:complexType name="PositionTypeLabelType">
87
+ <xsd:complexContent>
88
+ <xsd:restriction base="HeadlineTypeLabelType" >
89
+ <xsd:sequence>
90
+ <xsd:element name="Code" minOccurs="0" maxOccurs="1" type="HeadlineTypesEnumeration" fixed="position"/>
91
+ <xsd:element name="Label" type="xsd:string" minOccurs="0" maxOccurs="1"/>
92
+ </xsd:sequence>
93
+ </xsd:restriction>
94
+ </xsd:complexContent>
95
+ </xsd:complexType>
96
+
97
+ </xsd:schema>
@@ -0,0 +1,54 @@
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="PersonName.xsd"/>
34
+ <xsd:include schemaLocation="ContactInformation.xsd"/>
35
+ <xsd:include schemaLocation="Demographics.xsd"/>
36
+ <xsd:include schemaLocation="DigitalContent.xsd"/>
37
+
38
+ <!-- PERSONAL INFORMATION -->
39
+ <xsd:complexType name="IdentificationType">
40
+ <xsd:annotation>
41
+ <xsd:documentation xml:lang="en">
42
+ Contains the personal information of the individual, which includes at least the name, and optionally contact information, demographics, photo and signature.
43
+ </xsd:documentation>
44
+ </xsd:annotation>
45
+ <xsd:sequence>
46
+ <xsd:element name="PersonName" type="PersonNameType" minOccurs="0"/>
47
+ <xsd:element name="ContactInfo" type="ContactInfoType" minOccurs="0"/>
48
+ <xsd:element name="Demographics" type="DemographicsType" minOccurs="0"/>
49
+ <xsd:element name="Photo" type="PhotoDataType" minOccurs="0"/>
50
+ <xsd:element name="Signature" type="SignatureDataType" minOccurs="0"/>
51
+ </xsd:sequence>
52
+ </xsd:complexType>
53
+
54
+ </xsd:schema>
@@ -0,0 +1,107 @@
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/EuropassISOLanguages_V1.8.0.xsd">
36
+ <xsd:annotation>
37
+ <xsd:documentation xml:lang="en">
38
+ The included "ISOLanguages" schema defines the list of language codes that may appear in the Europass XML documents.
39
+ </xsd:documentation>
40
+ </xsd:annotation>
41
+ </xsd:include>
42
+
43
+ <xsd:include schemaLocation="./CommonTypes.xsd"/>
44
+
45
+ <xsd:complexType name="LanguageType" abstract="true">
46
+ <xsd:annotation>
47
+ <xsd:documentation xml:lang="en">
48
+ Defines an abstract type to describe a language. Generally a language is described by a label which may include a code attribute. E.g. for the Greek language it would be code: el , label: Greek.
49
+ </xsd:documentation>
50
+ </xsd:annotation>
51
+ <xsd:complexContent>
52
+ <xsd:restriction base="LabelType">
53
+ <xsd:sequence>
54
+ <xsd:element name="Code" minOccurs="0" type="xsd:language"/>
55
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
56
+ </xsd:sequence>
57
+ </xsd:restriction>
58
+ </xsd:complexContent>
59
+ </xsd:complexType>
60
+
61
+
62
+ <xsd:complexType name="MotherLanguageType">
63
+ <xsd:annotation>
64
+ <xsd:documentation xml:lang="en">
65
+ Defines a mother language. The restriction is that a mother language cannot be an extinct language, or a language not used anymore, e.g. ancient Greek.
66
+ </xsd:documentation>
67
+ </xsd:annotation>
68
+ <xsd:complexContent>
69
+ <xsd:restriction base="LabelType">
70
+ <xsd:sequence>
71
+ <xsd:element name="Code" minOccurs="0" type="motherCode">
72
+ <xsd:annotation>
73
+ <xsd:documentation xml:lang="en">
74
+ The mother language code is defined in the included schema "EuropassISOLanguages".
75
+ </xsd:documentation>
76
+ </xsd:annotation>
77
+ </xsd:element>
78
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
79
+ </xsd:sequence>
80
+ </xsd:restriction>
81
+ </xsd:complexContent>
82
+ </xsd:complexType>
83
+
84
+
85
+ <xsd:complexType name="ForeignLanguageType">
86
+ <xsd:annotation>
87
+ <xsd:documentation xml:lang="en">
88
+ Defines an abstract type for a foreign language.
89
+ </xsd:documentation>
90
+ </xsd:annotation>
91
+ <xsd:complexContent>
92
+ <xsd:restriction base="LabelType">
93
+ <xsd:sequence>
94
+ <xsd:element name="Code" minOccurs="0" type="foreignCode">
95
+ <xsd:annotation>
96
+ <xsd:documentation xml:lang="en">
97
+ The foreign language code is defined in the included schema "EuropassISOLanguages".
98
+ </xsd:documentation>
99
+ </xsd:annotation>
100
+ </xsd:element>
101
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
102
+ </xsd:sequence>
103
+ </xsd:restriction>
104
+ </xsd:complexContent>
105
+ </xsd:complexType>
106
+
107
+ </xsd:schema>