<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:company="http://www.x.com/people/1.0" targetNamespace="http://www.x.com/people/1.0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0"><!-- Schema auto-generated by FullMoon, applying rule suite xmi11ea -->
    <annotation>
        <documentation>[WARN-A001] - No package description in UML model</documentation>
    </annotation>
    <import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
    <include schemaLocation="people-retail.xsd"/>
    <include schemaLocation="people-core.xsd"/>
    <element name="Customer" substitutionGroup="company:Person" type="company:CustomerType"/>
    <complexType name="CustomerType">
        <complexContent>
            <extension base="company:PersonType">
                <sequence>
                    <element name="customerID" type="integer"/>
                    <element name="revenue" type="integer"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
    <complexType name="CustomerPropertyType">
        <sequence minOccurs="0">
            <element ref="company:Customer"/>
        </sequence>
        <attributeGroup ref="gml:AssociationAttributeGroup"/>
        <attributeGroup ref="gml:OwnershipAttributeGroup"/>
    </complexType>
    <element name="Employee" substitutionGroup="company:Person" type="company:EmployeeType"/>
    <complexType name="EmployeeType">
        <complexContent>
            <extension base="company:PersonType">
                <sequence>
                    <element name="employeeID" type="integer"/>
                    <element name="salary" type="integer"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
    <complexType name="EmployeePropertyType">
        <sequence minOccurs="0">
            <element ref="company:Employee"/>
        </sequence>
        <attributeGroup ref="gml:AssociationAttributeGroup"/>
        <attributeGroup ref="gml:OwnershipAttributeGroup"/>
    </complexType>
    <element name="Person" substitutionGroup="gml:AbstractGML" type="company:PersonType"/>
    <complexType name="PersonType">
        <complexContent>
            <extension base="gml:AbstractGMLType">
                <sequence>
                    <element name="name" type="string"/>
                </sequence>
            </extension>
        </complexContent>
    </complexType>
    <complexType name="PersonPropertyType">
        <sequence minOccurs="0">
            <element ref="company:Person"/>
        </sequence>
        <attributeGroup ref="gml:AssociationAttributeGroup"/>
        <attributeGroup ref="gml:OwnershipAttributeGroup"/>
    </complexType>
</schema>
