{
    "version":"0.1.0",
    "id":"points-att-polygon",
    "use_case":"Daugava",
    "title":"Group points by region",
    "description":"Merge data points with the attributes of the study region the points fall into (R function 'points_att_polygon').",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "daugava use case",
        "AquaINFRA",
        "points_att_polygon",
        "R"
    ],
    "links":[
        {
            "type":"text/html",
            "rel":"about",
            "title":"GitHub repo",
            "href":"https://github.com/AstraLabuce/aquainfra-usecase-Daugava/tree/containerize",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"about",
            "title":"Zenodo repo",
            "href":"https://doi.org/10.5281/zenodo.15112709",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/points-att-polygon?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/points-att-polygon?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/points-att-polygon/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/points-att-polygon?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://aquainfra.ogc.igb-berlin.de/pygeoapi/processes/points-att-polygon?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/points-att-polygon/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ],
    "inputs":{
        "input_data":{
            "title":"Table to be merged with study region",
            "description":"URL to the input table containing the in-situ data points with coordinates. Can be provided as Excel file or CSV file (comma-separated text file). The coordinates have to be in WGS84 coordinate system.",
            "schema":{
                "type":"string"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[
                "table",
                "excel",
                "csv"
            ]
        },
        "regions":{
            "title":"Study region or study subregions",
            "description":"URL to the study region, or several regions, to classify your input data into groups of interest. Currently it has to be provided as a shapefile. It can be in any coordinate system and will be transformed to WGS84 during this process.",
            "schema":{
                "type":"string"
            },
            "minOccurs":1,
            "maxOccurs":1,
            "keywords":[
                "shapefile"
            ]
        },
        "colname_long":{
            "title":"Column name for longitude",
            "description":"Only needed for data other than geojson. Name of the column that contains longitude values (in WGS84).",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "keywords":[
                "longitude",
                "column",
                "wgs84"
            ]
        },
        "colname_lat":{
            "title":"Column name for latitude",
            "description":"Only needed for data other than geojson. Name of the column that contains latitude values (in WGS84).",
            "schema":{
                "type":"string"
            },
            "minOccurs":0,
            "maxOccurs":1,
            "keywords":[
                "latitude",
                "column",
                "wgs84"
            ]
        }
    },
    "outputs":{
        "data_merged_with_regions":{
            "title":"The input table grouped and enhanced by study region",
            "description":"The input data table, with added study region name and study region attributes.",
            "schema":{
                "type":"object",
                "contentMediaType":"application/csv"
            }
        }
    },
    "example":{
        "inputs":{
            "input_data":"https://www.example.xyz",
            "points":"https://www.example.xyz",
            "colname_long":"long",
            "colname_lat":"lat"
        }
    },
    "outputTransmission":[
        "value"
    ]
}