contentstack · Schema

CreateAudienceRequest

Parameters for creating or updating an audience.

Properties

Name Type Description
name string Display name for the audience.
description string Description of the audience targeting criteria.
rules object Logical conditions for audience membership.
View JSON Schema on GitHub

JSON Schema

contentstack-createaudiencerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateAudienceRequest",
  "title": "CreateAudienceRequest",
  "type": "object",
  "description": "Parameters for creating or updating an audience.",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name for the audience."
    },
    "description": {
      "type": "string",
      "description": "Description of the audience targeting criteria."
    },
    "rules": {
      "type": "object",
      "description": "Logical conditions for audience membership."
    }
  }
}