<?xml version="1.0"?>
<schema targetNamespace="http://ws.infotorg.no/xml/System/Test/2006-07-07/Test.xsd"
    xmlns:tns="http://ws.infotorg.no/xml/System/Test/2006-07-07/Test.xsd"
    xmlns:enhet="http://ws.infotorg.no/xml/Brreg/EnhetForetak/2006-07-07/EnhetForetak.xsd"
    xmlns:Basisdata="http://ws.infotorg.no/xml/Brreg/EnhetForetak/2006-07-07/Basisdata.xsd"
    xmlns="http://www.w3.org/2001/XMLSchema">
<!--
    xmlns:Basisdata="http://ws.infotorg.no/xml/System/Test/2006-07-07/Basisdata.xsd"
-->

    <annotation>
        <documentation xml:lang="no">
            Datatyper for ytelsestest.

            © 2006 ErgoGroup AS
            Forfatter: Dag Lem &lt;dag@nimrod.no&gt;
        </documentation>
    </annotation>
       
    <import
        namespace="http://ws.infotorg.no/xml/Brreg/EnhetForetak/2006-07-07/EnhetForetak.xsd"
        schemaLocation="https://ws-test.infotorg.no/xml/Brreg/EnhetForetak/2006-07-07/EnhetForetak.xsd"/>
    <import
        namespace="http://ws.infotorg.no/xml/Brreg/EnhetForetak/2006-07-07/Basisdata.xsd"
        schemaLocation="https://ws-test.infotorg.no/xml/Brreg/EnhetForetak/2006-07-07/Basisdata.xsd"/>
<!--
    <import
        namespace="http://ws.infotorg.no/xml/System/Test/2006-07-07/Basisdata.xsd"
        schemaLocation="https://ws-test.infotorg.no/xml/System/Test/2006-07-07/Basisdata.xsd"/>
-->

    <!-- Grunndata -->

    <complexType name="orgnrsoek">
        <sequence>
            <element name="orgnr" type="string"/>
        </sequence>
    </complexType>

    <element name="hentTransaksjonsmotor" type="tns:orgnrsoek"/>

    <element name="Transaksjonsmotor">
        <complexType>
            <sequence>
                <element ref="Basisdata:grunndata"/>
            </sequence>
        </complexType>
    </element>

    <element name="hentBackOffice" type="tns:orgnrsoek"/>

    <element name="BackOffice">
        <complexType>
            <sequence>
                <element ref="Basisdata:grunndata"/>
            </sequence>
        </complexType>
    </element>

    <!-- Metamodul -->

    <element name="hentMetamodul" type="tns:orgnrsoek"/>

    <element name="Metamodul">
        <complexType>
            <sequence>
                <element ref="tns:BackOffice"/>
                <element ref="enhet:Grunndata"/>
            </sequence>
        </complexType>
    </element>

</schema>
