{
    "version":"0.1.0",
    "id":"get-ecrins-catchment",
    "use_case":"Human Population",
    "title":"Get ECRINS catchment",
    "description":"Queries the EEA ECRINS (European Catchments and Rivers Network System) ArcGIS REST service for a specific functional elementary catchment by ID, fixes invalid geometries, reprojects to EPSG:3035, and looks up the list of countries that catchment overlaps from a fixed catchment-to-country mapping (R function 'get_specific_catchment'). Valid catchment IDs range from 1 to 118",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "human population use case",
        "AquaINFRA",
        "ECRINS",
        "catchment",
        "river basin"
    ],
    "links":[
        {
            "type":"text/html",
            "rel":"about",
            "title":"information",
            "href":"https://example.org/process",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/get-ecrins-catchment?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/get-ecrins-catchment?f=html",
            "title":"Process description as HTML",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/job-list",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/jobs?f=html",
            "title":"Jobs list as HTML",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/job-list",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/jobs?f=json",
            "title":"Jobs list as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/execute",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/get-ecrins-catchment/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "catchment_id":{
            "title":"Catchment ID",
            "description":"The ECRINS functional elementary catchment ID to retrieve. Must be an integer from 1 to 118.",
            "schema":{
                "type":"integer",
                "minimum":1,
                "maximum":118
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        }
    },
    "outputs":{
        "catchment":{
            "title":"Catchment geometry",
            "description":"The retrieved ECRINS catchment boundary (MULTIPOLYGON), reprojected to EPSG:3035, saved as a GeoPackage.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/geopackage+sqlite3"
            }
        },
        "countries":{
            "title":"Countries for catchment",
            "description":"The list of country codes that the requested catchment overlaps, looked up from a fixed catchment-to-country mapping.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/x-rds"
            }
        }
    },
    "example":{
        "inputs":{
            "catchment_id":"115"
        }
    },
    "outputTransmission":[
        "value"
    ]
}