{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AudienceInput",
  "title": "AudienceInput",
  "type": "object",
  "description": "Input for creating or updating an audience",
  "properties": {
    "project_id": {
      "type": "integer",
      "format": "int64",
      "description": "The project this audience belongs to"
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the audience"
    },
    "description": {
      "type": "string",
      "description": "Description of the audience"
    },
    "conditions": {
      "type": "string",
      "description": "JSON-encoded audience conditions"
    }
  }
}