{
  "parameters": {
    "type": "object",
    "required": [
      "sourceFields",
      "labels",
      "outputField"
    ],
    "properties": {
      "sourceFields": {
        "type": "array",
        "description": "Fields to combine and classify. Enter one field per line.",
        "items": {
          "type": "string"
        }
      },
      "labels": {
        "type": "array",
        "description": "Available labels for the classifier.",
        "items": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string",
              "description": "Label identifier written to output."
            },
            "description": {
              "type": "string",
              "description": "What this label means and when it should be used."
            }
          }
        }
      },
      "instructions": {
        "type": "string",
        "description": "Optional domain-specific guidance for the classifier.",
        "multiline": true
      },
      "multiLabel": {
        "type": "boolean",
        "description": "When true, output a JSON array of labels instead of a single label.",
        "default": false
      },
      "outputField": {
        "type": "string",
        "description": "Primary output field that will store the result."
      },
      "confidenceField": {
        "type": "string",
        "description": "Field that stores model confidence for each row."
      },
      "rationaleField": {
        "type": "string",
        "description": "Field that stores brief reasoning for the row-level decision."
      }
    }
  },
  "inputs": [
    {
      "key": "in",
      "label": "Input",
      "required": true
    }
  ],
  "outputs": [
    {
      "key": "out",
      "label": "Output",
      "required": true
    }
  ],
  "lineage": {
    "mode": "row_preserving"
  },
  "deterministic": false,
  "runtimeSupported": true
}
