{
    "version":"0.1.0",
    "id":"netcdf-assessment-area",
    "use_case":"NIVA Ferrybox Scripts",
    "title":"Assessment area plot",
    "description":"Plot FerryBox and Logger location on world map. Supports optional input with waterbodies of assessment area.",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "AquaINFRA",
        "NIVA use case",
        "Ferrybox",
        "Logger",
        "Map",
        "Assessment area",
        "Oslfjorden"
    ],
    "inputs":{
        "url_input_csv":{
            "title":"Input FerryBox CSV",
            "description":"URL of input FerryBox CSV file.",
            "schema":{
                "type":"string"
            },
            "minOccurs":1,
            "maxOccurs":1
        },
        "url_input_river_logger_csv":{
            "title":"Input river/logger CSV",
            "description":"URL of input river/logger CSV file.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1
        },
        "river_label_col":{
            "title":"River name column",
            "description":"Column specifying the name of river(s) plotted",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1
        },
        "url_input_waterbody":{
            "title":"Waterbodies",
            "description":"URL of  Waterbodies shapefile/geojson. Can be omitted.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1
        },
        "study_area_layer":{
            "title":"Study area layer",
            "description":"If Waterbodies is specified as geojson, layer name to plot is required.",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1
        }
    },
    "outputs":{
        "assessment_area":{
            "title":"Assessment area plot",
            "description":"Path to the assessment area PNG file created by the process.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        }
    },
    "example":{
        "inputs":{
            "url_input_csv":"https://aquainfra.ogc.igb-berlin.de/exampledata/niva/netcdf_extract_fb_data/ferrybox.csv",
            "url_input_river_logger_csv":"https://aquainfra.ogc.igb-berlin.de/exampledata/niva/netcdf_logger_extract/logger.csv",
            "river_label_col":"station_name",
            "url_input_waterbody":"https://github.com/NIVANorge/niva-aquainfra/raw/refs/heads/main/Ferrybox%20scripts/test_data/Vannforekomster_202604091250.zip",
            "study_area_layer":"VannforekomstKyst"
        }
    },
    "outputTransmission":[
        "value"
    ],
    "links":[
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/netcdf-assessment-area?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/netcdf-assessment-area?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/netcdf-assessment-area/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ]
}