{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-kafka/main/json-schema/apache-kafka-partition-schema.json",
  "title": "Partition",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apache-kafka-partition-api-openapi.yml#/components/schemas/Partition",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "cluster_id": {
      "type": "string"
    },
    "topic_name": {
      "type": "string"
    },
    "partition_id": {
      "type": "integer"
    },
    "leader": {
      "type": "object"
    },
    "replicas": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  }
}