{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/leadboxer-com/json-schema/leadboxer-com-segment-preference-request-schema.json",
  "title": "SegmentPreferenceRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/leadboxer-com-segment-preference-api-openapi.yml#/components/schemas/SegmentPreferenceRequest",
  "required": [
    "datasetId",
    "segmentId"
  ],
  "type": "object",
  "properties": {
    "datasetId": {
      "type": "string",
      "description": "Dataset ID for which you need to assign segment as default."
    },
    "segmentId": {
      "type": "integer",
      "description": "Segment ID which you want to assign as default.",
      "format": "int32"
    },
    "users": {
      "type": "array",
      "description": "List of User IDs for whom you need to assign a segment as default.",
      "items": {
        "type": "integer",
        "description": "List of User IDs for whom you need to assign a segment as default.",
        "format": "int64"
      }
    }
  }
}