<?xml version="1.0" encoding="UTF-8"?>
<schema
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:commonv4="http://minameddelanden.gov.se/schema/Common/v4"
    xmlns:authorityv4="http://minameddelanden.gov.se/schema/Authority/v4"
    targetNamespace="http://minameddelanden.gov.se/messagedefinition/Authority/v4"
    elementFormDefault="qualified"
    version="4.0">

    <import schemaLocation="../schema/v4/Authority.xsd"
            namespace="http://minameddelanden.gov.se/schema/Authority/v4"/>
    <import schemaLocation="../schema/v4/Common.xsd" namespace="http://minameddelanden.gov.se/schema/Common/v4"/>

    <element name="getDispatchers">
        <complexType>
            <sequence/>
        </complexType>
    </element>
    <element name="getDispatchersResponse">
        <complexType>
            <sequence>
                <element ref="commonv4:dispatcherId" minOccurs="0" maxOccurs="unbounded">
                    <annotation>
                        <documentation xml:lang="sv">Lista med anslutna avsändare.</documentation>
                    </annotation>
                </element>
            </sequence>
        </complexType>
    </element>

    <element name="getSenders">
        <complexType>
            <sequence/>
        </complexType>
    </element>
    <element name="getSendersResponse">
        <complexType>
            <sequence>
                <element ref="commonv4:senderId" minOccurs="0" maxOccurs="unbounded">
                    <annotation>
                        <documentation xml:lang="sv">Godkända förmedlare.</documentation>
                    </annotation>
                </element>
            </sequence>
        </complexType>
    </element>

    <element name="testNewSigner">
        <complexType>
            <sequence>
                <element ref="commonv4:recipientId">
                    <annotation>
                        <documentation xml:lang="en">The recipient identity.</documentation>
                        <documentation xml:lang="sv">Mottagaridentitet.</documentation>
                    </annotation>
                </element>
                <element name="signedBies" type="commonv4:signerType" minOccurs="0" maxOccurs="unbounded">
                    <annotation>
                        <documentation xml:lang="en">Persons that have already signed.</documentation>
                        <documentation xml:lang="sv">Personer som redan har signerat. Listan kan vara tom
                            om ingen signerat ännu.
                        </documentation>
                    </annotation>
                </element>
                <element name="newSigner" type="commonv4:signerType" minOccurs="0">
                    <annotation>
                        <documentation xml:lang="sv">Identitet för tillkommande undertecknare.</documentation>
                    </annotation>
                </element>
            </sequence>
        </complexType>
    </element>
    <element name="testNewSignerResponse">
        <complexType>
            <sequence>
                <element ref="authorityv4:signatureAuthorizationResult">
                    <annotation>
                        <documentation xml:lang="sv">Resultat av underskriftstest, en firmatecknings- och
                            ev. signaturkontroll.
                        </documentation>
                    </annotation>
                </element>
            </sequence>
        </complexType>
    </element>

</schema>
