<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xs="http://www.w3.org/2001/XMLSchema">
    
    <resources base="http://localhost:8080/oeaaa/services/">
        <resource path="/">
            <resource path="case/NRA/{asn}">
                <param name="asn" style="template" type="xs:string"/>
                <method name="GET">
                    <request/>
                    <response>
                        <representation mediaType="application/xml" element="prefix1:NRACase"/>
                        <representation mediaType="text/xml" element="prefix1:NRACase"/>
                    </response>
                </method>
            </resource>
            <resource path="case/OE/{asn}">
                <param name="asn" style="template" type="xs:string"/>
                <method name="GET">
                    <request/>
                    <response>
                        <representation mediaType="application/xml" element="prefix2:OECase"/>
                        <representation mediaType="text/xml" element="prefix2:OECase"/>
                    </response>
                </method>
            </resource>
            <resource path="case/{asn}">
                <param name="asn" style="template" type="xs:string"/>
                <method name="GET">
                    <request/>
                    <response>
                        <representation mediaType="application/xml" element="prefix3:Case"/>
                        <representation mediaType="text/xml" element="prefix3:Case"/>
                    </response>
                </method>
            </resource>
            <resource path="caseList/circ/{state}">
                <param name="state" style="template" type="xs:string"/>
                <method name="GET">
                    <request/>
                    <response>
                        <representation mediaType="application/xml" element="prefix3:CaseList"/>
                        <representation mediaType="text/xml" element="prefix3:CaseList"/>
                    </response>
                </method>
            </resource>
            <resource path="asnList/circ/{state}">
                <param name="state" style="template" type="xs:string"/>
                <method name="GET">
                    <request/>
                    <response>
                        <representation mediaType="application/xml" element="prefix3:ASNList"/>
                        <representation mediaType="text/xml" element="prefix3:ASNList"/>
                    </response>
                </method>
            </resource>
            <resource path="caseList/date/{type}">
                <param name="type" style="template" type="xs:string"/>
                <method name="GET">
                    <request>
                        <param name="start" style="query" type="xs:string"/>
                        <param name="end" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml" element="prefix3:CaseList"/>
                        <representation mediaType="text/xml" element="prefix3:CaseList"/>
                    </response>
                </method>
            </resource>
            <resource path="asnList/date/{type}">
                <param name="type" style="template" type="xs:string"/>
                <method name="GET">
                    <request>
                        <param name="start" style="query" type="xs:string"/>
                        <param name="end" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml" element="prefix3:ASNList"/>
                        <representation mediaType="text/xml" element="prefix3:ASNList"/>
                    </response>
                </method>
            </resource>
            <resource path="caseList/{type}/{year}">
                <param name="year" style="template" type="xs:int"/>
                <param name="type" style="template" type="xs:string"/>
                <method name="GET">
                    <request>
                        <param name="region" style="query" default="" type="xs:string"/>
                        <param name="state" style="query" default="" type="xs:string"/>
                        <param name="dateEnteredStart" style="query" type="xs:string"/>
                        <param name="dateEnteredEnd" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml" element="prefix3:CaseList"/>
                        <representation mediaType="text/xml" element="prefix3:CaseList"/>
                    </response>
                </method>
            </resource>
            <resource path="asnList/{type}/{year}">
                <param name="year" style="template" type="xs:int"/>
                <param name="type" style="template" type="xs:string"/>
                <method name="GET">
                    <request>
                        <param name="region" style="query" default="" type="xs:string"/>
                        <param name="state" style="query" default="" type="xs:string"/>
                        <param name="dateEnteredStart" style="query" type="xs:string"/>
                        <param name="dateEnteredEnd" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml" element="prefix3:ASNList"/>
                        <representation mediaType="text/xml" element="prefix3:ASNList"/>
                    </response>
                </method>
            </resource>
            
        </resource>
   
    </resources>
    <example>
        <serviceUrl>https://oeaaa.faa.gov/oeaaa/services/case/2025-AEA-98-NRA</serviceUrl>
        <webUrl>https://oeaaa.faa.gov/oeaaa/asn-display/asn-case-display-page.html?asn=2025-AEA-98-NRA</webUrl>
    </example>
</application>
