<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:efti-ai="http://efti.fi/v1/aap/info"
            targetNamespace="http://efti.fi/v1/aap/info"
            elementFormDefault="qualified">

    <xsd:element name="gatesResponse" type="efti-ai:GatesResponse"/>
    <xsd:element name="whoamiResponse" type="efti-ai:WhoamiResponse"/>

    <xsd:complexType name="GatesResponse">
        <xsd:sequence>
            <xsd:element name="gate" type="xsd:token" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="WhoamiResponse">
        <xsd:sequence>
            <xsd:element name="appId" type="xsd:token"/>
            <xsd:element name="role" type="xsd:token"/>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>
