{
    "version":"0.2.0",
    "id":"adriac-sealevel-ingestor-process",
    "title":"Adriac Sea Level Ingestor Process",
    "description":"Collect Sea Level data from Adriac",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "safer process"
    ],
    "inputs":{
        "token":{
            "title":"secret token",
            "description":"identify yourself",
            "schema":{
                "type":"string"
            }
        },
        "debug":{
            "title":"Debug",
            "description":"Enable Debug mode",
            "schema":{}
        },
        "strict_time_range":{
            "title":"Strict time range",
            "description":"Enable strict time range to check data avaliability until requested end time. Can be valued as true or false. Default is false",
            "schema":{}
        },
        "forecast_run":{
            "title":"Forecast run",
            "description":"ADRIAC forecast runs (optional). If not provided, all the available forecast runs from current date will be considered. The forecast run must be a valid ISO format date string at hour 00:00:00 related to at least one week ago",
            "schema":{
                "type":"iso-string or list of iso-string",
                "format":"YYYY-MM-DDTHH:MM:SS or [YYYY-MM-DDTHH:MM:SS, YYYY-MM-DDTHH:MM:SS, ...]"
            }
        }
    },
    "outputs":{
        "status":{
            "title":"status",
            "description":"Staus of the process execution [OK or KO]",
            "schema":{
                "type":"string",
                "enum":[
                    "OK",
                    "KO"
                ]
            }
        },
        "collected_data":{
            "title":"Collected data",
            "description":"Reference to the collected data. Each entry contains the date and the S3 URI of the collected data",
            "type":"array",
            "schema":{
                "type":"object",
                "properties":{
                    "date":{
                        "type":"string"
                    },
                    "S3_uri":{
                        "type":"string"
                    }
                }
            }
        }
    },
    "example":{
        "inputs":{
            "token":"ABC123XYZ666",
            "debug":true,
            "forecast_run":[
                "2025-03-18T00:00:00",
                "2025-03-18T12:00:00"
            ]
        }
    },
    "outputTransmission":[
        "value"
    ],
    "links":[
        {
            "type":"application/json",
            "rel":"self",
            "href":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/processes/adriac-sealevel-ingestor-process?f=json",
            "title":"Process description as JSON",
            "hreflang":"en-US"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/processes/adriac-sealevel-ingestor-process?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":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/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":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/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":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/processes/adriac-sealevel-ingestor-process/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ]
}