{
    "version":"0.1.0",
    "id":"nldi-splitcatchment",
    "title":"NLDI Split Catchment process",
    "description":"NLDI Split Catchment process",
    "keywords":[
        "NLDI Split Catchment"
    ],
    "links":[
        {
            "type":"text/html",
            "rel":"canonical",
            "title":"information",
            "href":"https://example.org/process",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://api.water.usgs.gov:443/nldi/pygeoapi/processes/nldi-splitcatchment?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://api.water.usgs.gov:443/nldi/pygeoapi/processes/nldi-splitcatchment?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://api.water.usgs.gov:443/nldi/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://api.water.usgs.gov:443/nldi/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://api.water.usgs.gov:443/nldi/pygeoapi/processes/nldi-splitcatchment/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":[
        {
            "id":"lat",
            "title":"lat",
            "abstract":"The latitude coordinate of the input point in WGS 84 decimal degrees",
            "input":{
                "literalDataDomain":{
                    "dataType":"float",
                    "valueDefinition":{
                        "anyValue":true
                    }
                }
            },
            "minOccurs":1,
            "maxOccurs":1
        },
        {
            "id":"lon",
            "title":"lon",
            "abstract":"The longitude coordinate of the input point in WGS 84 decimal degrees",
            "input":{
                "literalDataDomain":{
                    "dataType":"float",
                    "valueDefinition":{
                        "anyValue":true
                    }
                }
            },
            "minOccurs":1,
            "maxOccurs":1
        },
        {
            "id":"upstream",
            "title":"upstream",
            "abstract":"Determines whether to return the portion of the drainage basin that falls outside of the local catchment. If True, then the entire drainage basin is returned. If False, then only the portion within the local catchment is returned.",
            "input":{
                "literalDataDomain":{
                    "dataType":"boolean",
                    "valueDefinition":{
                        "anyValue":true
                    }
                }
            },
            "minOccurs":1,
            "maxOccurs":1
        }
    ],
    "outputs":[
        {
            "id":"catchment",
            "title":"catchment",
            "description":"The local NHD catchment that the input point falls within. This is also the catchment that gets split.",
            "output":{
                "formats":[
                    {
                        "mimeType":"application/geo+json"
                    }
                ]
            }
        },
        {
            "id":"splitCatchment",
            "title":"splitCatchment",
            "description":"Either a portion or the entire drainage basin for the input point, depending if the input point falls on an NHD flowline or not. It gets returned if the drainage basin fits only within the local catchment, or if the upstream variable is set to False.",
            "output":{
                "formats":[
                    {
                        "mimeType":"application/geo+json"
                    }
                ]
            }
        },
        {
            "id":"drainageBasin",
            "title":"drainageBasin",
            "description":"The entire drainage basin which flows to the input point. It will include area outside of the local catchment, and it will only be returned if the upstream variable is set to True.",
            "output":{
                "formats":[
                    {
                        "mimeType":"application/geo+json"
                    }
                ]
            }
        }
    ],
    "example":{
        "inputs":[
            {
                "id":"lat",
                "value":"43.29139",
                "type":"text/plain"
            },
            {
                "id":"lon",
                "value":"-73.82705",
                "type":"text/plain"
            },
            {
                "id":"upstream",
                "value":"False",
                "type":"text/plain"
            }
        ]
    },
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "outputTransmission":[
        "value"
    ]
}