{
    "version":"0.0.1",
    "id":"get-outlets-for-polygon",
    "use_case":"hydrography90m",
    "title":"Get outlets for a polygon",
    "description":"Blah.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "subcatchment",
        "GeoFRESH",
        "hydrography90m"
    ],
    "links":[
        {
            "type":"text/html",
            "rel":"about",
            "title":"GeoFRESH website",
            "href":"https://geofresh.org/",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"about",
            "title":"On Subcatchment Ids (Hydrography90m)",
            "href":"https://hydrography.org/hydrography90m/hydrography90m_layers",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aqua.igb-berlin.de/pygeoapi-dev/processes/get-outlets-for-polygon?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aqua.igb-berlin.de/pygeoapi-dev/processes/get-outlets-for-polygon?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://aqua.igb-berlin.de/pygeoapi-dev/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://aqua.igb-berlin.de/pygeoapi-dev/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://aqua.igb-berlin.de/pygeoapi-dev/processes/get-outlets-for-polygon/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "polygon":{
            "title":"Polygon (GeoJSON)",
            "description":"Polygon in which to look for outlets. Should obviously cover a coast.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[]
        },
        "min_strahler":{
            "title":"Strahler",
            "description":"Minimum strahler order of the outlets to be returned, to be able to filter out small streams.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[]
        },
        "add_geometry":{
            "title":"Add geometry?",
            "description":"If True, the outlets will be returned as LineStrings. If False, only the subc_ids will be returned.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[]
        },
        "comment":{
            "title":"Comment",
            "description":"Arbitrary string that will not be processed but returned, for user\"s convenience.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "comment"
            ]
        }
    },
    "outputs":{
        "outlets":{
            "title":"Outlets inside that polygon",
            "description":"",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        }
    },
    "example":{
        "inputs":{
            "min_strahler":7,
            "add_geometry":false,
            "comment":"near helsinki",
            "polygon":{
                "type":"Polygon",
                "coordinates":[
                    [
                        [
                            24.99422594742927,
                            60.122188238921
                        ],
                        [
                            24.99422594742927,
                            60.287391694733
                        ],
                        [
                            24.52403906370872,
                            60.287391694733
                        ],
                        [
                            24.52403906370872,
                            60.122188238921
                        ],
                        [
                            24.99422594742927,
                            60.122188238921
                        ]
                    ]
                ]
            }
        }
    },
    "outputTransmission":[
        "value"
    ]
}