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,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
+ <xsd:include schemaLocation="CommonTypes.xsd"/>
34
+
35
+ <xsd:include schemaLocation="Documentation.xsd"/>
36
+
37
+
38
+ <!-- ACHIEVEMENTS -->
39
+ <xsd:complexType name="AchievementType">
40
+ <xsd:annotation>
41
+ <xsd:documentation xml:lang="en">Generic type to define an Achievement.</xsd:documentation>
42
+ </xsd:annotation>
43
+ <xsd:sequence>
44
+ <xsd:element name="Title" type="AchievementTypeLabelType" minOccurs="0"/>
45
+ <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
46
+ <xsd:element name="Documentation" minOccurs="0" type="IntraDocumentDocumentationType"/>
47
+ </xsd:sequence>
48
+ </xsd:complexType>
49
+
50
+ <xsd:complexType name="AchievementListType">
51
+ <xsd:annotation>
52
+ <xsd:documentation xml:lang="en">
53
+ Contains a list of additional information about the various achievements of an individual, such as participation to conferences, workshops, memberships to organisations, list of publications, etc.
54
+ </xsd:documentation>
55
+ </xsd:annotation>
56
+ <xsd:sequence>
57
+ <xsd:element name="Achievement" type="AchievementType" minOccurs="0" maxOccurs="unbounded"/>
58
+ </xsd:sequence>
59
+ </xsd:complexType>
60
+
61
+ <!-- Achievement Types -->
62
+ <xsd:complexType name="AchievementTypeLabelType">
63
+ <xsd:complexContent>
64
+ <xsd:restriction base="LabelType">
65
+ <xsd:sequence>
66
+ <xsd:element name="Code" minOccurs="0" type="AchievementTypesEnumeration"/>
67
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
68
+ </xsd:sequence>
69
+ </xsd:restriction>
70
+ </xsd:complexContent>
71
+ </xsd:complexType>
72
+ <xsd:simpleType name="AchievementTypesEnumeration">
73
+ <xsd:restriction base="xsd:string">
74
+ <xsd:enumeration value="honors_awards"/>
75
+ <xsd:enumeration value="presentations"/>
76
+ <xsd:enumeration value="publications"/>
77
+ <xsd:enumeration value="projects"/>
78
+ <xsd:enumeration value="citations"/>
79
+ <xsd:enumeration value="memberships"/>
80
+ <xsd:enumeration value="conferences"/>
81
+ <xsd:enumeration value="seminars"/>
82
+ <xsd:enumeration value="workshops"/>
83
+ <xsd:enumeration value="references"/>
84
+ <xsd:enumeration value="signature_equivalent"/>
85
+ <xsd:enumeration value="courses"/>
86
+ <xsd:enumeration value="certifications"/>
87
+ </xsd:restriction>
88
+ </xsd:simpleType>
89
+
90
+
91
+ </xsd:schema>
@@ -0,0 +1,62 @@
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
+
36
+ <!-- Certificates -->
37
+ <xsd:complexType name="CertificateListType">
38
+ <xsd:annotation>
39
+ <xsd:documentation xml:lang="en">
40
+ Defines a list of Certificates.
41
+ </xsd:documentation>
42
+ </xsd:annotation>
43
+ <xsd:sequence>
44
+ <xsd:element name="Certificate" type="CertificateType" minOccurs="0" maxOccurs="unbounded"/>
45
+ </xsd:sequence>
46
+ </xsd:complexType>
47
+
48
+ <xsd:complexType name="CertificateType">
49
+ <xsd:annotation>
50
+ <xsd:documentation xml:lang="en">
51
+ Defines a generic type for a Certificate. A Certificate contains information about the title name, the awarding body and the date of awarding. It also contains information about the level that corresponds to this diploma.
52
+ </xsd:documentation>
53
+ </xsd:annotation>
54
+ <xsd:sequence>
55
+ <xsd:element name="Title" type="xsd:string" minOccurs="0"/>
56
+ <xsd:element name="AwardingBody" type="xsd:string" minOccurs="0"/>
57
+ <xsd:element name="Date" type="DateType" minOccurs="0"/>
58
+ <xsd:element name="Level" type="xsd:anyType" minOccurs="0"/>
59
+ </xsd:sequence>
60
+ </xsd:complexType>
61
+
62
+ </xsd:schema>
@@ -0,0 +1,139 @@
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
+ <!-- Europass Documents -->
34
+ <xsd:simpleType name="DocumentTypeType">
35
+ <xsd:annotation>
36
+ <xsd:documentation xml:lang="en">
37
+ Enumeration of values that describe the Europass Documents that can be represented as XML instances that follow this specific XML Schema Definition.
38
+ </xsd:documentation>
39
+ </xsd:annotation>
40
+ <xsd:restriction base="xsd:string">
41
+ <xsd:enumeration value="ECV_ESP"/>
42
+ <xsd:enumeration value="ESP"/>
43
+ <xsd:enumeration value="ECV"/>
44
+ <xsd:enumeration value="ELP"/>
45
+ <xsd:enumeration value="ECL"/>
46
+ <xsd:enumeration value="EX"/>
47
+ </xsd:restriction>
48
+ </xsd:simpleType>
49
+
50
+ <xsd:complexType name="DocumentListType">
51
+ <xsd:annotation>
52
+ <xsd:documentation xml:lang="en">
53
+ Contains an list of documents.
54
+ </xsd:documentation>
55
+ </xsd:annotation>
56
+ <xsd:sequence>
57
+ <xsd:element name="Document" type="DocumentTypeType" minOccurs="0" maxOccurs="unbounded"/>
58
+ </xsd:sequence>
59
+ </xsd:complexType>
60
+
61
+ <!-- Locale -->
62
+ <xsd:simpleType name="LocaleType">
63
+ <xsd:annotation>
64
+ <xsd:documentation xml:lang="en">
65
+ The locale is comprised of two lowercase and two uppercase letters, separated by underscore. E.g. de_DE or sv_SE.
66
+ </xsd:documentation>
67
+ </xsd:annotation>
68
+ <xsd:restriction base="xsd:string">
69
+ <xsd:pattern value="[a-z]{2}(_[A-Z]{2})*"/>
70
+ </xsd:restriction>
71
+ </xsd:simpleType>
72
+
73
+ <!-- Code/Label Elements -->
74
+ <xsd:complexType name="LabelType">
75
+ <xsd:sequence>
76
+ <xsd:element name="Code" type="xsd:string" minOccurs="0"/>
77
+ <xsd:element name="Label" type="xsd:string" minOccurs="0"/>
78
+ </xsd:sequence>
79
+ </xsd:complexType>
80
+
81
+
82
+ <!-- Dates and Period -->
83
+ <xsd:complexType name="PeriodType">
84
+ <xsd:annotation>
85
+ <xsd:documentation xml:lang="en">
86
+ A period is comprised of three sub elements for the start and end dates of the period, as well as an idicator whether the specific period is current.
87
+ The end date and the current indicator are optional.
88
+ </xsd:documentation>
89
+ </xsd:annotation>
90
+ <xsd:sequence>
91
+ <xsd:element name="From" type="DateType"/>
92
+ <xsd:element name="To" type="DateType" minOccurs="0"/>
93
+ <xsd:element name="Current" type="xsd:boolean" minOccurs="0">
94
+ <xsd:annotation>
95
+ <xsd:documentation xml:lang="en">Boolean that indicates that the experience spans until today</xsd:documentation>
96
+ </xsd:annotation>
97
+ </xsd:element>
98
+ <xsd:element name="Duration" type="xsd:duration" minOccurs="0">
99
+ <xsd:annotation>
100
+ <xsd:documentation xml:lang="en">Describes the duration that corresponds to the start and end dates of this period</xsd:documentation>
101
+ </xsd:annotation>
102
+ </xsd:element>
103
+ <xsd:element name="DurationEquivalent" type="xsd:string" minOccurs="0">
104
+ <xsd:annotation>
105
+ <xsd:documentation xml:lang="en">Describes the duration that is equivalent to the start and end dates of this period (may not be accurate correspondence)</xsd:documentation>
106
+ </xsd:annotation>
107
+ </xsd:element>
108
+ </xsd:sequence>
109
+ </xsd:complexType>
110
+
111
+ <xsd:complexType name="DateType">
112
+ <xsd:annotation>
113
+ <xsd:documentation xml:lang="en">
114
+ Defines date information, which consists of day, month and year.The date must include at least the year attribute.
115
+ </xsd:documentation>
116
+ </xsd:annotation>
117
+ <xsd:complexContent>
118
+ <xsd:restriction base="xsd:anyType">
119
+ <xsd:attribute name="day" type="xsd:gDay" use="optional"/>
120
+ <xsd:attribute name="month" type="xsd:gMonth" use="optional"/>
121
+ <xsd:attribute name="year" type="xsd:gYear" use="required"/>
122
+ </xsd:restriction>
123
+ </xsd:complexContent>
124
+ </xsd:complexType>
125
+
126
+
127
+ <xsd:simpleType name="CEFLanguageLevelType">
128
+ <xsd:annotation>
129
+ <xsd:documentation xml:lang="en">
130
+ The CEF language level is comprised of one letter (either A, B or C) and one digit (either 1 or 2). E.g. A1, B2, C1. The levels are defined by the Common European Framework of Reference for Languages (CEFR)
131
+ </xsd:documentation>
132
+ </xsd:annotation>
133
+ <xsd:restriction base="xsd:string">
134
+ <xsd:pattern value="([A-C][12])?"/>
135
+ </xsd:restriction>
136
+ </xsd:simpleType>
137
+
138
+
139
+ </xsd:schema>
@@ -0,0 +1,112 @@
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>
@@ -0,0 +1,321 @@
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>