{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PipelineFunction",
  "title": "PipelineFunction",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The function type identifier"
    },
    "filter": {
      "type": "string",
      "description": "JavaScript expression to filter which events this function processes"
    },
    "disabled": {
      "type": "boolean",
      "description": "Whether this function is disabled"
    },
    "conf": {
      "type": "object",
      "description": "Function-specific configuration"
    },
    "description": {
      "type": "string",
      "description": "A human-readable description"
    }
  }
}