xml/schema/lib/elements/resumegen.xsd
2021-03-28 12:46:29 -04:00

88 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:complexType name="e_resume_contact">
<xs:all>
<xs:element name="email" minOccurs="1" maxOccurs="1" type="xs:token"/>
<xs:element name="phoneNumber" minOccurs="1" maxOccurs="1" type="xs:token"/>
</xs:all>
</xs:complexType>
<xs:complexType name="e_resume_duration">
<xs:sequence minOccurs="1" maxOccurs="2">
<xs:element name="start" type="xs:gYearMonth" minOccurs="1" maxOccurs="1"/>
<xs:element name="end" type="xs:gYearMonth" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="e_resume_workExperience">
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="experience" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:element name="companyName" minOccurs="1" maxOccurs="1" type="xs:normalizedString"/>
<xs:element name="positions" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="position" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:element name="duration" minOccurs="0" maxOccurs="1" type="e_resume_duration"/>
<xs:element name="title" minOccurs="1" maxOccurs="1" type="xs:normalizedString"/>
<xs:element name="role" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="responsibility" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:element name="desc" minOccurs="1" maxOccurs="1"/>
<xs:element name="accomplishments" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="accomplishment" minOccurs="1" maxOccurs="unbounded"
type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="desc" minOccurs="1" maxOccurs="1" type="xs:normalizedString"/>
<xs:element name="location" minOccurs="0" maxOccurs="1" type="e_resume_location"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="e_resume_location">
<xs:all>
<xs:element name="locality" minOccurs="1" maxOccurs="1" type="xs:normalizedString"/>
<xs:element name="region" minOccurs="1" maxOccurs="1" type="xs:normalizedString"/>
</xs:all>
</xs:complexType>
<xs:complexType name="e_resume_name">
<xs:all>
<xs:element minOccurs="0" maxOccurs="1" name="nameTitle" type="xs:normalizedString"/>
<xs:element minOccurs="0" maxOccurs="1" name="namePrefix" type="xs:normalizedString"/>
<xs:element minOccurs="1" maxOccurs="1" name="firstName" type="xs:normalizedString"/>
<xs:element minOccurs="0" maxOccurs="1" name="middleName" type="xs:normalizedString"/>
<xs:element minOccurs="1" maxOccurs="1" name="lastName" type="xs:normalizedString"/>
<xs:element minOccurs="0" maxOccurs="1" name="nameSuffix" type="xs:normalizedString"/>
</xs:all>
</xs:complexType>
</xs:schema>