{
    "version":"0.1.0",
    "id":"nldi-flowtrace",
    "title":"NLDI Flow Trace process",
    "description":"NLDI Flow Trace process",
    "keywords":[
        "NLDI Flow Trace"
    ],
    "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-flowtrace?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-flowtrace?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-flowtrace/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":"direction",
            "title":"direction",
            "abstract":"This variable determines which portion of the NHD flowline will be returned. \"up\" returns the portion of the flowline that is upstream from the intersection between the raindropPath and the flowline. \"down\" returns the downstream portion of the flowline from the intersection point. And \"none\" returns the entire flowline.",
            "input":{
                "literalDataDomain":{
                    "dataType":"string",
                    "allowedValues":[
                        "up",
                        "down",
                        "none"
                    ],
                    "defaultValue":"none"
                }
            },
            "minOccurs":1,
            "maxOccurs":1
        }
    ],
    "outputs":[
        {
            "id":"upstreamFlowline",
            "title":"upstreamFlowline",
            "description":"The portion of the NHD flowline upstream from the intersection point. This line will only be returned if the variable direction is set to \"up\".",
            "output":{
                "formats":[
                    {
                        "mimeType":"application/geo+json"
                    }
                ]
            }
        },
        {
            "id":"downstreamFlowline",
            "title":"downstreamFlowline",
            "description":"The portion of the NHD flowline downstream from the  intersection point. This line will only be returned if the variable direction is set to \"down\".",
            "output":{
                "formats":[
                    {
                        "mimeType":"application/geo+json"
                    }
                ]
            }
        },
        {
            "id":"nhdFlowline",
            "title":"nhdFlowline",
            "description":"This is the entire NHD flowline that the raindropPath intersects with. This line will only be returned if the variable direction is set to \"none\".",
            "output":{
                "formats":[
                    {
                        "mimeType":"application/geo+json"
                    }
                ]
            }
        },
        {
            "id":"raindropPath",
            "title":"raindropPath",
            "description":"This is the path that water will follow from the input point to the nearest NHD flowline. This line will only be returned if the input point does not fall on an NHD flowline.",
            "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":"direction",
                "value":"none",
                "type":"text/plain"
            }
        ]
    },
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "outputTransmission":[
        "value"
    ]
}