<?xml version="1.0"?> | |
<xs:schema | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
jaxb:version="1.0" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"> | |
<xs:element name="employee"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:annotation> | |
<xs:appinfo> | |
<jaxb:class name="period"/> | |
</xs:appinfo> | |
</xs:annotation> | |
<xs:element name="startDate" type="xs:date"/> | |
<xs:element name="endDate" type="xs:date"/> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:schema> |