{
    "version":"0.0.1",
    "id":"get-basin-streamsegments",
    "use_case":"hydrography90m",
    "title":"Get Basin's Stream Segments (as GeoJSON)",
    "description":"Return the Stream Segments of the Basin (into which the given point falls) as GeoJSON Features (where the geometry is a LineString).",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "subcatchment",
        "stream",
        "stream-segment",
        "geojson",
        "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 Stream segments (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-basin-streamsegments?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-basin-streamsegments?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-basin-streamsegments/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "basin_id":{
            "title":"Longitude (WGS84)",
            "description":"Longitude....",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "longitude",
                "wgs84"
            ]
        },
        "strahler_min":{
            "title":"Strahler filter",
            "description":"Filter the stream segments by strahler order: Only return stream segments with a strahler order equal or higher than this value. Defaults to zero.",
            "schema":{
                "type":"integer"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[]
        },
        "subc_id":{
            "title":"Subcatchment id",
            "description":"Subcatchment id",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[]
        },
        "lon":{
            "title":"Longitude (WGS84)",
            "description":"Longitude....",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "longitude",
                "wgs84"
            ]
        },
        "lat":{
            "title":"Latitude (WGS84)",
            "description":"Latitude....",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "latitude",
                "wgs84"
            ]
        },
        "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"
            ]
        },
        "geometry_only":{
            "title":"Get only GeoJSON GeometryCollection?",
            "description":"Specify whether to return only a GeoJSON Geometry (in this case, a LineString), instead of a GeoJSON Feature containing additional properties.",
            "schema":{
                "type":"boolean"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "metadata":null,
            "keywords":[
                "GeoJSON",
                "GeometryCollection",
                "FeatureCollection"
            ]
        }
    },
    "outputs":{
        "stream_segments":{
            "title":"Stream Segments",
            "description":"Stream Segment, include Strahler Order.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        }
    },
    "example":{
        "inputs":{
            "lon":"9.931555",
            "lat":"54.695070",
            "comment":"located in schlei area",
            "geometry_only":false
        }
    },
    "outputTransmission":[
        "value"
    ]
}