{
"title": "functions.PlaceholderVectorFunctionTaskExpression",
"description": "Expression for a placeholder vector function task (pre-compilation).\n\nLike [`VectorFunctionTaskExpression`] but without owner/repository/commit.\nAlways produces an equalized vector of length `output_length`.",
"type": "object",
"properties": {
"input": {
"description": "Expression for the input to pass to the placeholder function.\nReceives: `input`, `map` (if mapped).\n\nA value that can be either a literal or an expression.\n\nThis allows Function definitions to mix static values with dynamic\nexpressions. During compilation, expressions are evaluated while\nliteral values pass through unchanged.\n\n# Example\n\nLiteral value:\n```json\n\"hello world\"\n```\n\nJMESPath expression:\n```json\n{\"$jmespath\": \"input.greeting\"}\n```\n\nStarlark expression:\n```json\n{\"$starlark\": \"input['greeting']\"}\n```",
"anyOf": [
{
"title": "Expression",
"description": "An expression (JMESPath or Starlark) to evaluate.",
"$ref": "functions.expression.Expression"
},
{
"title": "Value",
"description": "A literal value.",
"$ref": "functions.expression.InputValueExpression"
}
]
},
"input_merge": {
"description": "Expression merging sub-inputs back into one input.\nReceives: `input` (as an array).",
"$ref": "functions.expression.Expression"
},
"input_schema": {
"description": "JSON Schema defining the expected input structure.",
"$ref": "functions.expression.InputSchema"
},
"input_split": {
"description": "Expression transforming input into sub-inputs for swiss system.\nReceives: `input`.",
"$ref": "functions.expression.Expression"
},
"map": {
"description": "Expression that evaluates to the number of mapped task instances.\nEach instance receives `map` as an integer index (0-based).",
"anyOf": [
{
"$ref": "functions.expression.Expression"
},
{
"type": "null"
}
],
"omitempty": true
},
"output": {
"description": "Expression to transform the equalized vector output.\nReceives: `input`, `output` as `Vector(equalized)`.",
"$ref": "functions.expression.Expression"
},
"output_length": {
"description": "Expression computing the expected output vector length.\nReceives: `input`.",
"$ref": "functions.expression.Expression"
},
"skip": {
"description": "If this expression evaluates to true, skip the task. Receives: `input`.",
"anyOf": [
{
"$ref": "functions.expression.Expression"
},
{
"type": "null"
}
],
"omitempty": true
}
}
}