{
    "version":"0.1.0",
    "id":"riverload-plot",
    "use_case":"SYKE",
    "title":"Riverload Plot",
    "description":"Analyse and plot results from the CORINE and Compute River Load -tools",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "SYKE",
        "AquaINFRA"
    ],
    "links":[
        {
            "type":"text/html",
            "rel":"about",
            "title":"GitHub Repo",
            "href":"https://github.com/eebruun/aquainfra_riverload_plot/tree/main",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/riverload-plot?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/riverload-plot?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/riverload-plot/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "corine_table_url":{
            "title":"Values per Area",
            "description":"A link to the output result csv file of the selected polygon from the output of the CORINE tool.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[
                "url"
            ]
        },
        "riverload_table_url":{
            "title":"Riverload Table (URL)",
            "description":"Output of loading tool: A link to a CSV table containing daily loading values (date, Q (m3/s), conc. (mg/l), load (kg/d).",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[
                "url"
            ]
        },
        "vemala_url":{
            "title":"Input modelled",
            "description":"A link to the daily modelled data (CSV): A table containing modelled daily loading values (date, Q (m3/s), TOC load (1000 kg/day),...)",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        },
        "start_date":{
            "title":"Input starting date",
            "description":"Starting date for plotting. Format: YYYY-MM-DD. Constraints: 2000-01-01 < start_date < 2024-12-31. For optimized usage, use the first day of the year YYYY-01-01.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        },
        "end_date":{
            "title":"Input ending date",
            "description":"Ending date for plotting. Format: YYYY-MM-DD Constraints: 2000-01-01 < end_date < 2024-12-31. For optimized usage, use the last day of the year YYYY-12-31. Also, for some functionalities of the tool, at least a 2-year period is needed.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        },
        "area_name":{
            "title":"Input area name",
            "description":"The name of the plotted area will be used in the titles of the plot and filenames.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[]
        }
    },
    "outputs":{
        "riverload_corine_image":{
            "title":"Riverload CORINE image",
            "description":"A JPG image showing the loading and discharge time series with subplots for annual, monthly and daily aggregations.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        },
        "mann_kendal_table":{
            "title":"Mann-Kendall Table",
            "description":"A table containing the results of Mann-Kendal analysis.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        }
    },
    "example":{
        "inputs":{
            "riverload_table_url":"https://aquainfra.de/download/out/riverload-b31.csv",
            "vemala_url":"https://sykedata.ymparisto.fi/earthobservation-1/project/aquainfra/vemala/tocm_21_011.csv",
            "corine_table_url":"https://aquainfra.de/download/out/outputs_33/corine_stats_real_areas_Pitkkoski.csv",
            "start_date":"2025-10-01",
            "end_date":"2025-10-03",
            "area_name":"Pitkkoski"
        }
    },
    "outputTransmission":[
        "value"
    ]
}