{
    "version":"0.2.0",
    "id":"meteoblue-precipitation-retriever-process",
    "title":"Meteoblue Precipitation Retriever Process",
    "description":"Collect Precipitations data from Meteoblue API",
    "jobControlOptions":[
        "sync-execute",
        "async-execute"
    ],
    "keywords":[
        "safer process"
    ],
    "inputs":{
        "token":{
            "title":"secret token",
            "description":"identify yourself",
            "schema":{
                "type":"string"
            }
        },
        "service":{
            "title":"Meteoblue forecast service",
            "description":"The Meteoblue forecast service to use. Possible values are \"basic-5min\" and \"basic-1h\". If no service is provided, the default value is \"basic-5min\"",
            "schema":{
                "type":"string",
                "enum":[
                    "basic-5min",
                    "basic-1h"
                ]
            }
        },
        "lat_range":{
            "title":"Latitude range",
            "description":"The latitude range in format [lat_min, lat_max]. Values must be in EPSG:4326 crs. If no latitude range is provided, all latitudes will be returned",
            "schema":{}
        },
        "long_range":{
            "title":"Longitude range",
            "description":"The longitude range in format [long_min, long_max]. Values must be in EPSG:4326 crs. If no longitude range is provided, all longitudes will be returned",
            "schema":{}
        },
        "grid_res":{
            "title":"Grid resolution",
            "description":"The grid resolution in meters. The grid resolution must be a multiple of 100. If no grid resolution is provided, the default value is 1000 meters",
            "schema":{}
        },
        "time_range":{
            "title":"Time range",
            "description":"The time range in format [time_start, time_end]. Both time_start and time_end must be in ISO-Format.",
            "schema":{}
        },
        "time_delta":{
            "title":"Time delta",
            "description":"The time delta in minutes. The time delta must be a multiple of 5. If no time delta is provided, the default value is 5 minutes",
            "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":{}
        },
        "out_format":{
            "title":"Return format type",
            "description":"The return format type. Possible values are \"netcdf\", \"json\", \"dataframe\"",
            "schema":{}
        },
        "debug":{
            "title":"Debug",
            "description":"Enable Debug mode. Can be valued as true or false",
            "schema":{}
        }
    },
    "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-02-26T00:00:00",
                "2025-02-26T12:00:00"
            ]
        }
    },
    "outputTransmission":[
        "value"
    ],
    "links":[
        {
            "type":"application/json",
            "rel":"self",
            "href":"http://pygeoapi-directed-lb-1795156461.us-east-1.elb.amazonaws.com/processes/meteoblue-precipitation-retriever-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/meteoblue-precipitation-retriever-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/meteoblue-precipitation-retriever-process/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en-US"
        }
    ]
}