DEV Community · Schema

Segment

A manually managed audience segment

Developer CommunityArticlesBloggingSocialContentOpen Source

Properties

Name Type Description
id integer The ID of the segment
type_of string Marks the segment as manually managed (other types are internal)
user_count integer The current number of users in the segment
View JSON Schema on GitHub

JSON Schema

segment.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Segment",
  "description": "A manually managed audience segment",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The ID of the segment"
    },
    "type_of": {
      "type": "string",
      "enum": [
        "manual"
      ],
      "default": "manual",
      "description": "Marks the segment as manually managed (other types are internal)"
    },
    "user_count": {
      "type": "integer",
      "description": "The current number of users in the segment"
    }
  }
}