{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Segment",
  "title": "Segment",
  "type": "object",
  "description": "A customer segment definition",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the segment"
    },
    "description": {
      "type": "string",
      "description": "Description of the segment criteria"
    },
    "customer_count": {
      "type": "integer",
      "description": "Number of customers in the segment"
    }
  }
}