<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.siemac.org/metamac/rest/common-metadata/v1.0/domain"><grammars><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cmetadata="http://www.siemac.org/metamac/rest/common-metadata/v1.0/domain" xmlns:ns1="http://www.siemac.org/metamac/rest/common/v1.0/domain" xmlns:tns="http://www.siemac.org/metamac/rest/common-metadata/v1.0/domain" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.siemac.org/metamac/rest/common-metadata/v1.0/domain">
    <xs:import namespace="http://www.siemac.org/metamac/rest/common/v1.0/domain"/>
    <xs:element name="configuration" type="cmetadata:Configuration"/>
    <xs:element name="configurations" type="cmetadata:Configurations"/>
    <xs:element name="properties" type="cmetadata:Properties"/>
    <xs:element name="property" type="cmetadata:Property"/>
    <xs:complexType name="Configurations">
        <xs:complexContent>
            <xs:extension base="ns1:ListBase">
                <xs:sequence>
                    <xs:element form="qualified" maxOccurs="unbounded" minOccurs="0" name="configuration" type="cmetadata:ResourceInternal"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="ResourceInternal">
        <xs:complexContent>
            <xs:extension base="ns1:Resource">
                <xs:sequence>
                    <xs:element form="qualified" name="managementAppLink" type="xs:string"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="Property">
        <xs:sequence>
            <xs:element form="qualified" name="key" type="xs:string"/>
            <xs:element form="qualified" name="value" type="xs:string"/>
        </xs:sequence>
        <xs:attribute name="kind" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="Configuration">
        <xs:sequence>
            <xs:element form="qualified" name="id" type="xs:string"/>
            <xs:element form="qualified" name="urn" type="xs:string"/>
            <xs:element form="qualified" name="selfLink" type="ns1:ResourceLink"/>
            <xs:element form="qualified" name="parentLink" type="ns1:ResourceLink"/>
            <xs:element form="qualified" name="managementAppLink" type="xs:string"/>
            <xs:element form="qualified" minOccurs="0" name="dataSharing" type="ns1:InternationalString"/>
            <xs:element form="qualified" minOccurs="0" name="legalActs" type="ns1:InternationalString"/>
            <xs:element form="qualified" minOccurs="0" name="confPolicy" type="ns1:InternationalString"/>
            <xs:element form="qualified" minOccurs="0" name="confDataTreatment" type="ns1:InternationalString"/>
            <xs:element form="qualified" name="license" type="ns1:InternationalString"/>
            <xs:element form="qualified" minOccurs="0" name="contact" type="cmetadata:ResourceInternal"/>
            <xs:element form="qualified" name="status" type="cmetadata:CommonMetadataStatus"/>
            <xs:element form="qualified" name="childLinks" type="ns1:ChildLinks"/>
        </xs:sequence>
        <xs:attribute name="kind" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="Properties">
        <xs:complexContent>
            <xs:extension base="ns1:ListBase">
                <xs:sequence>
                    <xs:element maxOccurs="unbounded" minOccurs="0" ref="cmetadata:property"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:simpleType name="CommonMetadataStatus">
        <xs:restriction base="xs:string">
            <xs:enumeration value="ENABLED"/>
            <xs:enumeration value="DISABLED"/>
        </xs:restriction>
    </xs:simpleType>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.w3.org/XML/1998/namespace">
    <xs:attribute name="lang" type="xs:language"/>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cdomain="http://www.siemac.org/metamac/rest/common/v1.0/domain" xmlns:tns="http://www.siemac.org/metamac/rest/common/v1.0/domain" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.siemac.org/metamac/rest/common/v1.0/domain">
    <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
    <xs:complexType name="ListBase">
        <xs:sequence/>
        <xs:attribute name="kind" type="xs:string" use="required"/>
        <xs:attribute name="total" type="xs:unsignedLong" use="required"/>
        <xs:attribute name="limit" type="xs:unsignedLong"/>
        <xs:attribute name="offset" type="xs:unsignedLong"/>
        <xs:attribute name="selfLink" type="xs:string"/>
        <xs:attribute name="firstLink" type="xs:string"/>
        <xs:attribute name="previousLink" type="xs:string"/>
        <xs:attribute name="nextLink" type="xs:string"/>
        <xs:attribute name="lastLink" type="xs:string"/>
    </xs:complexType>
    <xs:complexType name="Resource">
        <xs:sequence>
            <xs:element form="qualified" name="id" type="xs:string"/>
            <xs:element form="qualified" minOccurs="0" name="nestedId" type="xs:string"/>
            <xs:element form="qualified" name="urn" type="xs:string"/>
            <xs:element form="qualified" name="selfLink" type="tns:ResourceLink"/>
            <xs:element form="qualified" minOccurs="0" name="name" type="tns:InternationalString"/>
            <xs:element form="qualified" minOccurs="0" name="description" type="tns:InternationalString"/>
            <xs:element form="qualified" minOccurs="0" name="visualizerHtmlLink" type="xs:string"/>
        </xs:sequence>
        <xs:attribute name="kind" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="ResourceLink">
        <xs:sequence/>
        <xs:attribute name="kind" type="xs:string" use="required"/>
        <xs:attribute name="href" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="InternationalString">
        <xs:sequence>
            <xs:element form="qualified" maxOccurs="unbounded" name="text" type="tns:LocalisedString"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="LocalisedString">
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute ref="xml:lang"/>
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>
    <xs:complexType name="ChildLinks">
        <xs:sequence>
            <xs:element form="qualified" maxOccurs="unbounded" name="childLink" type="tns:ResourceLink"/>
        </xs:sequence>
        <xs:attribute name="total" type="xs:unsignedLong" use="required"/>
    </xs:complexType>
</xs:schema>
</grammars><resources base="https://iestadis.edatos.io/common-metadata/apis/cmetadata"><resource path="/v1.0"><resource path="/configurations"><method name="GET"><request><param name="query" style="query" type="xs:string"/><param name="orderBy" style="query" type="xs:string"/></request><response><representation mediaType="application/xml" element="ns1:configurations"/><representation mediaType="application/json"/></response></method></resource><resource path="/configurations/{id}"><param name="id" style="template" type="xs:string"/><method name="GET"><request></request><response><representation mediaType="application/xml" element="ns1:configuration"/><representation mediaType="application/json"/></response></method></resource><resource path="/properties"><method name="GET"><request><param name="query" style="query" type="xs:string"/><param name="orderBy" style="query" type="xs:string"/></request><response><representation mediaType="application/xml" element="ns1:properties"/><representation mediaType="application/json"/></response></method></resource><resource path="/properties/{key}"><param name="key" style="template" type="xs:string"/><method name="GET"><request></request><response><representation mediaType="application/xml" element="ns1:property"/><representation mediaType="application/json"/></response></method></resource></resource></resources></application>