{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-kafka/main/json-schema/apache-kafka-connector-info-schema.json",
  "title": "ConnectorInfo",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apache-kafka-connectors-api-openapi.yml#/components/schemas/ConnectorInfo",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "config": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "tasks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "connector": {
            "type": "string"
          },
          "task": {
            "type": "integer"
          }
        }
      }
    },
    "type": {
      "type": "string",
      "enum": [
        "source",
        "sink"
      ]
    }
  }
}