{
    "title": "Parameter Selection",
    "items": {
        "type": "object",
        "properties": {
            "key": {
                "type": "string",
                "title": "Key/Attribute"
            },
            "value": {
                "oneOf": [
                    {
                        "type": "string"
                    },
                    {
                        "type": "array"
                    },
                    {
                        "type": "number"
                    },
                    {
                        "required": [
                            "expression_type"
                        ],
                        "type": "object",
                        "properties": {
                            "output": {
                                "type": "string"
                            },
                            "expression_type": {
                                "default": "stage-output-selector",
                                "enum": [
                                    "stage-output-selector"
                                ],
                                "type": "string"
                            },
                            "stages": {
                                "type": "string"
                            },
                            "flatten": {
                                "type": "boolean"
                            },
                            "unwrap": {
                                "type": "boolean"
                            }
                        }
                    }
                ],
                "title": "Value"
            }
        }
    },
    "additionalProperties": false,
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "array",
    "id": "parameter_selection"
}