Commit fe639093 authored by Jonathan Kaufmann's avatar Jonathan Kaufmann Committed by Mark Canterbury
Browse files

Add uniqueness constraint and bad response config.

parent 0cbd4014
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -95,6 +95,15 @@
                                <config:Guidance>This tells the LEA what endpoint to use for new warrants. For brevity, in this example, this is the only endpoint specified.</config:Guidance>
                                <config:URL>https://ts103120.example.com/li/authorisation/new</config:URL>
                            </config:SupportedLIWorkflowEndpoint>
                            <config:SupportedLIWorkflowEndpoint>
                                <config:LIWorkflowEndpoint>
                                    <common:Owner>ETSI</common:Owner>
                                    <common:Name>LIWorkflowEndpoint</common:Name>
                                    <common:Value>NewAuthorisation</common:Value>
                                </config:LIWorkflowEndpoint>
                                <config:Guidance>This tells the LEA what endpoint to use for the newest of warrants. For brevity, in this example, this is the only endpoint specified.</config:Guidance>
                                <config:URL>https://ts103120.example.com/li/authorisation/new/newer</config:URL>
                            </config:SupportedLIWorkflowEndpoint>
                        </SupportedLIWorkflowEndpoints>
                        <SupportedLPWorkflowEndpoints>
                        </SupportedLPWorkflowEndpoints>
+8 −0
Original line number Diff line number Diff line
@@ -47,6 +47,10 @@
            <xs:element name="URL" type="etsi:LongString"/>
        </xs:sequence>
    </xs:complexType>
    <xs:unique name="UniqueLIWorkflowEndpoint">
        <xs:selector xpath="SupportedLIWorkflowEndpoint"/>
        <xs:field path="@LIWorkflowEndpoint"/>
    </xs:unique>
    <xs:complexType name="SupportedLPWorkflowEndpoints">
        <xs:sequence>
            <xs:element name="SupportedLPWorkflowEndpoint" type="SupportedLPWorkflowEndpoint" minOccurs="0" maxOccurs="unbounded"/>
@@ -59,4 +63,8 @@
            <xs:element name="URL" type="etsi:LongString"/>
        </xs:sequence>
    </xs:complexType>
    <xs:unique name="UniqueLPWorkflowEndpoint">
        <xs:selector xpath="SupportedLPWorkflowEndpoint"/>
        <xs:field path="@LPWorkflowEndpoint"/>
    </xs:unique>
</xs:schema>
 No newline at end of file