<?xml version="1.0" encoding="UTF-8"?> | |
<xml-schema> | |
<name>employee</name> | |
<target-namespace-url>http://www.example.org/jpadas-employee</target-namespace-url> | |
<default-namespace-url>http://www.example.org/jpadas-employee</default-namespace-url> | |
<should-default-namespace-url>true</should-default-namespace-url> | |
<schema-source type="file"> | |
<location>../src/xsd/jpadas-employee.xsd</location> | |
</schema-source> | |
<built-in-namespaces> | |
<namespace url="http://www.w3.org/2001/XMLSchema" prefix="xs" declared="true"/> | |
<namespace url="http://www.w3.org/2001/XMLSchema-instance" prefix="xsi" declared="true"/> | |
</built-in-namespaces> | |
<declared-namespaces> | |
<namespace> | |
<namespace-prefix>emp</namespace-prefix> | |
<namespace-prefix-is-user-defined>false</namespace-prefix-is-user-defined> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<declared>true</declared> | |
<element-declarations> | |
<element-declaration type="element"> | |
<name>employee</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="complex-type-ref"> | |
<name>employee-type</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
</type> | |
</element-declaration> | |
</element-declarations> | |
<type-definitions> | |
<type-definition type="complex-type"> | |
<name>address-type</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<abstract>false</abstract> | |
<derivation-method>restriction</derivation-method> | |
<base-type type="complex-type-ref"> | |
<name>anyType</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</base-type> | |
<attributes> | |
<attribute type="attribute"> | |
<name>id</name> | |
<use>optional</use> | |
<type type="simple-type-ref"> | |
<name>integer</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</attribute> | |
</attributes> | |
<content type="complex"> | |
<mixed-flag>false</mixed-flag> | |
<particle compositor="sequence" type="model-group"> | |
<particles> | |
<particle type="element"> | |
<name>street</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="simple-type-ref"> | |
<name>string</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</particle> | |
<particle type="element"> | |
<name>city</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="simple-type-ref"> | |
<name>string</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</particle> | |
<particle type="element"> | |
<name>state</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="simple-type-ref"> | |
<name>string</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</particle> | |
<particle type="element"> | |
<name>zip-code</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="simple-type-ref"> | |
<name>string</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</particle> | |
<particle type="element"> | |
<name>country</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="simple-type-ref"> | |
<name>string</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</particle> | |
</particles> | |
</particle> | |
</content> | |
</type-definition> | |
<type-definition type="complex-type"> | |
<name>employee-type</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<abstract>false</abstract> | |
<derivation-method>restriction</derivation-method> | |
<base-type type="complex-type-ref"> | |
<name>anyType</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</base-type> | |
<attributes> | |
<attribute type="attribute"> | |
<name>id</name> | |
<use>optional</use> | |
<type type="simple-type-ref"> | |
<name>integer</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</attribute> | |
<attribute type="attribute"> | |
<name>version</name> | |
<use>required</use> | |
<type type="simple-type-ref"> | |
<name>long</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</attribute> | |
</attributes> | |
<content type="complex"> | |
<mixed-flag>false</mixed-flag> | |
<particle compositor="sequence" type="model-group"> | |
<particles> | |
<particle type="element"> | |
<name>first-name</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="simple-type-ref"> | |
<name>string</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</particle> | |
<particle type="element"> | |
<name>last-name</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="simple-type-ref"> | |
<name>string</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</particle> | |
<particle type="element"> | |
<name>gender</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="simple-type-ref"> | |
<name>gender</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
</type> | |
</particle> | |
<particle type="element"> | |
<name>salary</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="simple-type-ref"> | |
<name>double</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</particle> | |
<particle type="element"> | |
<name>address</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="complex-type-ref"> | |
<name>address-type</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
</type> | |
</particle> | |
<particle type="element"> | |
<name>phone-number</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="complex-type-ref"> | |
<name>phone-type</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
</type> | |
<max-occurs>2147483640</max-occurs> | |
</particle> | |
<particle type="element"> | |
<name>sdo-change-summary</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<type type="complex-type-ref"> | |
<name>anyType</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
<min-occurs>0</min-occurs> | |
</particle> | |
</particles> | |
</particle> | |
</content> | |
</type-definition> | |
<type-definition type="simple-type"> | |
<name>gender</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<variety>atomic</variety> | |
<base-type type="simple-type-ref"> | |
<name>token</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</base-type> | |
</type-definition> | |
<type-definition type="complex-type"> | |
<name>phone-type</name> | |
<namespace-url>http://www.example.org/jpadas-employee</namespace-url> | |
<abstract>false</abstract> | |
<derivation-method>restriction</derivation-method> | |
<base-type type="complex-type-ref"> | |
<name>anyType</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</base-type> | |
<attributes> | |
<attribute type="attribute"> | |
<name>number</name> | |
<use>optional</use> | |
<type type="simple-type-ref"> | |
<name>string</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</attribute> | |
<attribute type="attribute"> | |
<name>type</name> | |
<use>optional</use> | |
<type type="simple-type-ref"> | |
<name>string</name> | |
<namespace-url>http://www.w3.org/2001/XMLSchema</namespace-url> | |
</type> | |
</attribute> | |
</attributes> | |
<content type="empty"/> | |
</type-definition> | |
</type-definitions> | |
</namespace> | |
</declared-namespaces> | |
</xml-schema> |