{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cherami-to/json-schema/cherami-to-label-list-schema.json",
  "title": "LabelList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cherami-to-labels-api-openapi.yml#/components/schemas/LabelList",
  "type": "object",
  "properties": {
    "labels": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "received_count": {
            "type": "integer",
            "minimum": 0
          },
          "sent_count": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "name",
          "received_count",
          "sent_count"
        ]
      }
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "labels",
    "next_cursor"
  ]
}