{
    "version":"1.0.0",
    "id":"woudc-data-registry-select-distinct",
    "title":"WOUDC Data Registry Group Search",
    "description":"A WOUDC Data Registry Search Index extension approximating the SELECT DISTINCT query in SQL by returning groups of unique values for selected fields.",
    "keywords":[],
    "links":[
        {
            "type":"application/json",
            "rel":"self",
            "href":"https://api.woudc.org/processes/woudc-data-registry-select-distinct?f=json",
            "title":"Process description as JSON",
            "hreflang":"en"
        },
        {
            "type":"text/html",
            "rel":"alternate",
            "href":"https://api.woudc.org/processes/woudc-data-registry-select-distinct?f=html",
            "title":"Process description as HTML",
            "hreflang":"en"
        },
        {
            "type":"text/html",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/job-list",
            "href":"https://api.woudc.org/jobs?f=html",
            "title":"Jobs list as HTML",
            "hreflang":"en"
        },
        {
            "type":"application/json",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/job-list",
            "href":"https://api.woudc.org/jobs?f=json",
            "title":"Jobs list as JSON",
            "hreflang":"en"
        },
        {
            "type":"application/json",
            "rel":"http://www.opengis.net/def/rel/ogc/1.0/execute",
            "href":"https://api.woudc.org/processes/woudc-data-registry-select-distinct/execution?f=json",
            "title":"Execution for this process as JSON",
            "hreflang":"en"
        }
    ],
    "inputs":{
        "index":{
            "title":"Index to Search",
            "schema":{
                "type":"string"
            },
            "minOccurs":1,
            "maxOccurs":1
        },
        "distinct":{
            "title":"Core Query Fields",
            "schema":{
                "type":"object"
            },
            "minOccurs":1,
            "maxOccurs":1
        },
        "source":{
            "title":"Satellite Source Fields",
            "schema":{
                "type":"array",
                "minItems":1,
                "items":{
                    "type":"string"
                }
            },
            "minOccurs":0
        }
    },
    "outputs":{
        "woudc-data-registry-distinct-response":{
            "title":"WOUDC Data Registry Group Select Output",
            "schema":{
                "type":"object",
                "contentMediaType":"application/json"
            }
        }
    },
    "example":{
        "inputs":{
            "index":"instrument",
            "distinct":[
                "name",
                "model",
                "dataset_id",
                "station_id"
            ],
            "source":[
                "data_class",
                "station_name",
                "waf_url",
                "start_date",
                "end_date"
            ]
        }
    },
    "jobControlOptions":[
        "sync-execute"
    ],
    "outputTransmission":[
        "value"
    ]
}