read_campaign_analytics
Read aggregate campaign performance: workspace totals, the workspace or per-campaign report with its daily send and reply series, one campaign's browser row, and the cohort values analytics can be filtered by.
# MCP tool reference
1 callable tools.
Use tools/call at https://mcp.schedulerzero.com/mcp with the exact tool name and arguments below. The /tools/ paths in this view are documentation identifiers, not HTTP endpoints. Request execution is disabled for this reference.
Inputs are shown for personal API keys (bound) and for OAuth/delegated agents. Output schemas describe MCP structuredContent: native objects pass through; arrays, scalars and null use a data wrapper. Text content retains the native JSON result.
[Connect a client](/mcp/connect) · [Authentication and authorization](/authentication) · [Generated auth guide](/auth.md) · [Download tool catalog](/mcp-catalog.json) · [Agent documentation](/llms.txt)
## read_campaign_analytics
Read aggregate campaign performance: workspace totals, the workspace or per-campaign report with its daily send and reply series, one campaign's browser row, and the cohort values analytics can be filtered by.
Use to ground any claim about how a campaign is performing. Workspace roll-ups exclude subsequences so a lead that branched is counted once; per-campaign reads include them, so a subsequence can still be measured on its own.
It never returns lead-level, per-recipient, or message data — aggregates only. Reply counts are DISTINCT contacts classified by thread label, so they cannot be read back as a list of who replied.
Scopes: analytics:read
Risk: read; confirmation: none; idempotency: none.
### Input schema (personal API key)
```json
{
"type": "object",
"anyOf": [
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"totals"
]
},
"campaignFilter": {
"anyOf": [
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode"
],
"patternProperties": {
"^(?!(?:mode|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"terms"
],
"patternProperties": {
"^(?!(?:mode|terms|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"terms",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"rules"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"rules"
],
"patternProperties": {
"^(?!(?:mode|rules|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"rules",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
}
]
},
"folderId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
}
},
"required": [
"workspaceId",
"scope"
],
"patternProperties": {
"^(?!(?:workspaceId|scope|campaignFilter|folderId)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"scope",
"campaignFilter",
"folderId"
]
}
},
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"report"
]
},
"campaignFilter": {
"anyOf": [
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode"
],
"patternProperties": {
"^(?!(?:mode|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"terms"
],
"patternProperties": {
"^(?!(?:mode|terms|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"terms",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"rules"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"rules"
],
"patternProperties": {
"^(?!(?:mode|rules|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"rules",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
}
]
},
"folderId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"startDate": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"endDate": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"senderProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
},
"maxItems": 3
},
"recipientProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
},
"maxItems": 3
},
"senderTagIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"maxItems": 100
},
"senderDomains": {
"type": "array",
"items": {
"$ref": "#/$defs/DomainNameEncoded"
},
"maxItems": 100
}
},
"required": [
"workspaceId",
"scope"
],
"patternProperties": {
"^(?!(?:workspaceId|scope|campaignFilter|folderId|startDate|endDate|senderProviders|recipientProviders|senderTagIds|senderDomains)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"scope",
"campaignFilter",
"folderId",
"startDate",
"endDate",
"senderProviders",
"recipientProviders",
"senderTagIds",
"senderDomains"
]
}
},
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"report"
]
},
"campaignId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"startDate": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"endDate": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"senderProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
},
"maxItems": 3
},
"recipientProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
},
"maxItems": 3
},
"senderTagIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"maxItems": 100
},
"senderDomains": {
"type": "array",
"items": {
"$ref": "#/$defs/DomainNameEncoded"
},
"maxItems": 100
}
},
"required": [
"workspaceId",
"scope",
"campaignId"
],
"patternProperties": {
"^(?!(?:workspaceId|scope|campaignId|startDate|endDate|senderProviders|recipientProviders|senderTagIds|senderDomains)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"scope",
"campaignId",
"startDate",
"endDate",
"senderProviders",
"recipientProviders",
"senderTagIds",
"senderDomains"
]
}
},
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"row_stats"
]
},
"campaignId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
}
},
"required": [
"workspaceId",
"scope",
"campaignId"
],
"patternProperties": {
"^(?!(?:workspaceId|scope|campaignId)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"scope",
"campaignId"
]
}
},
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"filters"
]
}
},
"required": [
"workspaceId",
"scope"
],
"patternProperties": {
"^(?!(?:workspaceId|scope)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"scope"
]
}
}
],
"$defs": {
"UtcDateTimeEncoded": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
},
"DomainNameEncoded": {
"type": "string"
}
}
}
```
### Input schema (OAuth / delegated agent)
```json
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"format": "uuid",
"description": "Target Workspace UUID. Call list_workspaces to enumerate the Workspaces this credential may access, then pass the chosen id here."
}
},
"required": [
"workspaceId"
],
"anyOf": [
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"totals"
]
},
"campaignFilter": {
"anyOf": [
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode"
],
"patternProperties": {
"^(?!(?:mode|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"terms"
],
"patternProperties": {
"^(?!(?:mode|terms|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"terms",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"rules"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"rules"
],
"patternProperties": {
"^(?!(?:mode|rules|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"rules",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
}
]
},
"folderId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
}
},
"required": [
"workspaceId",
"scope"
],
"patternProperties": {
"^(?!(?:workspaceId)$)[\\s\\S]*?(?:^(?!(?:workspaceId|scope|campaignFilter|folderId)$)[\\s\\S]*$)": false
},
"additionalProperties": true,
"propertyNames": {
"anyOf": [
{
"type": "string",
"enum": [
"workspaceId",
"scope",
"campaignFilter",
"folderId"
]
},
{
"enum": [
"workspaceId"
]
}
]
}
},
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"report"
]
},
"campaignFilter": {
"anyOf": [
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode"
],
"patternProperties": {
"^(?!(?:mode|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"terms"
],
"patternProperties": {
"^(?!(?:mode|terms|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"terms",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"rules"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"rules"
],
"patternProperties": {
"^(?!(?:mode|rules|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"rules",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
}
]
},
"folderId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"startDate": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"endDate": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"senderProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
},
"maxItems": 3
},
"recipientProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
},
"maxItems": 3
},
"senderTagIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"maxItems": 100
},
"senderDomains": {
"type": "array",
"items": {
"$ref": "#/$defs/DomainNameEncoded"
},
"maxItems": 100
}
},
"required": [
"workspaceId",
"scope"
],
"patternProperties": {
"^(?!(?:workspaceId)$)[\\s\\S]*?(?:^(?!(?:workspaceId|scope|campaignFilter|folderId|startDate|endDate|senderProviders|recipientProviders|senderTagIds|senderDomains)$)[\\s\\S]*$)": false
},
"additionalProperties": true,
"propertyNames": {
"anyOf": [
{
"type": "string",
"enum": [
"workspaceId",
"scope",
"campaignFilter",
"folderId",
"startDate",
"endDate",
"senderProviders",
"recipientProviders",
"senderTagIds",
"senderDomains"
]
},
{
"enum": [
"workspaceId"
]
}
]
}
},
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"report"
]
},
"campaignId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"startDate": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"endDate": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"senderProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
},
"maxItems": 3
},
"recipientProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
},
"maxItems": 3
},
"senderTagIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"maxItems": 100
},
"senderDomains": {
"type": "array",
"items": {
"$ref": "#/$defs/DomainNameEncoded"
},
"maxItems": 100
}
},
"required": [
"workspaceId",
"scope",
"campaignId"
],
"patternProperties": {
"^(?!(?:workspaceId)$)[\\s\\S]*?(?:^(?!(?:workspaceId|scope|campaignId|startDate|endDate|senderProviders|recipientProviders|senderTagIds|senderDomains)$)[\\s\\S]*$)": false
},
"additionalProperties": true,
"propertyNames": {
"anyOf": [
{
"type": "string",
"enum": [
"workspaceId",
"scope",
"campaignId",
"startDate",
"endDate",
"senderProviders",
"recipientProviders",
"senderTagIds",
"senderDomains"
]
},
{
"enum": [
"workspaceId"
]
}
]
}
},
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"row_stats"
]
},
"campaignId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
}
},
"required": [
"workspaceId",
"scope",
"campaignId"
],
"patternProperties": {
"^(?!(?:workspaceId)$)[\\s\\S]*?(?:^(?!(?:workspaceId|scope|campaignId)$)[\\s\\S]*$)": false
},
"additionalProperties": true,
"propertyNames": {
"anyOf": [
{
"type": "string",
"enum": [
"workspaceId",
"scope",
"campaignId"
]
},
{
"enum": [
"workspaceId"
]
}
]
}
},
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"scope": {
"type": "string",
"enum": [
"filters"
]
}
},
"required": [
"workspaceId",
"scope"
],
"patternProperties": {
"^(?!(?:workspaceId)$)[\\s\\S]*?(?:^(?!(?:workspaceId|scope)$)[\\s\\S]*$)": false
},
"additionalProperties": true,
"propertyNames": {
"anyOf": [
{
"type": "string",
"enum": [
"workspaceId",
"scope"
]
},
{
"enum": [
"workspaceId"
]
}
]
}
}
],
"$defs": {
"UtcDateTimeEncoded": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
},
"DomainNameEncoded": {
"type": "string"
}
}
}
```
### Output schema (structuredContent)
```json
{
"$defs": {
"LocalDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"UtcDateTimeEncoded": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
},
"ShortText": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"DomainName": {
"type": "string",
"minLength": 1,
"maxLength": 253,
"pattern": "^(?=.{1,253}$)(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,63}$"
}
},
"type": "object",
"anyOf": [
{
"allOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"totalLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalMeetings": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"positiveReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"bounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"finishedRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"totalLeads",
"totalContacted",
"totalMeetings",
"replyRate",
"positiveReplyRate",
"bounceRate",
"finishedRate"
],
"patternProperties": {
"^(?!(?:totalLeads|totalContacted|totalMeetings|replyRate|positiveReplyRate|bounceRate|finishedRate|recipientBounceCount|senderBounceCount|unclassifiedBounceCount)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"totalLeads",
"totalContacted",
"totalMeetings",
"replyRate",
"positiveReplyRate",
"bounceRate",
"finishedRate",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount"
]
}
},
{
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"totalLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalEmailsSent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalLeadsContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"leadsContactedPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"newLeadsContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalCompletedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"finishedPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyRateWithOOO": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"positiveReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"bounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"unsubscribeRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyCountWithOOO": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"bounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unsubscribeCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"senderBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"unclassifiedBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"totalLeads",
"totalEmailsSent",
"totalLeadsContacted",
"leadsContactedPercentage",
"newLeadsContacted",
"totalCompletedLeads",
"finishedPercentage",
"replyRateWithOOO",
"replyRate",
"positiveReplyRate",
"bounceRate",
"unsubscribeRate",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"unsubscribeCount"
],
"patternProperties": {
"^(?!(?:totalLeads|totalEmailsSent|totalLeadsContacted|leadsContactedPercentage|newLeadsContacted|totalCompletedLeads|finishedPercentage|replyRateWithOOO|replyRate|positiveReplyRate|bounceRate|unsubscribeRate|replyCountWithOOO|replyCount|positiveReplyCount|bounceCount|unsubscribeCount|recipientBounceCount|senderBounceCount|unclassifiedBounceCount|recipientBounceRate|senderBounceRate|unclassifiedBounceRate)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"totalLeads",
"totalEmailsSent",
"totalLeadsContacted",
"leadsContactedPercentage",
"newLeadsContacted",
"totalCompletedLeads",
"finishedPercentage",
"replyRateWithOOO",
"replyRate",
"positiveReplyRate",
"bounceRate",
"unsubscribeRate",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"unsubscribeCount",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount",
"recipientBounceRate",
"senderBounceRate",
"unclassifiedBounceRate"
]
}
},
"dailyEmailSent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"$ref": "#/$defs/LocalDate"
},
"newLead": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"followUp": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"date",
"newLead",
"followUp"
],
"patternProperties": {
"^(?!(?:date|newLead|followUp)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"date",
"newLead",
"followUp"
]
}
}
},
"dailyMetrics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"$ref": "#/$defs/LocalDate"
},
"replyCountWithOOO": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"bounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"date",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount"
],
"patternProperties": {
"^(?!(?:date|replyCountWithOOO|replyCount|positiveReplyCount|bounceCount|recipientBounceCount|senderBounceCount|unclassifiedBounceCount)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"date",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount"
]
}
}
}
},
"required": [
"summary",
"dailyEmailSent",
"dailyMetrics"
],
"patternProperties": {
"^(?!(?:summary|dailyEmailSent|dailyMetrics)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"summary",
"dailyEmailSent",
"dailyMetrics"
]
}
},
{
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"totalEmailsSent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalLeadsContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"newLeadsContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalCompletedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyRateWithOOO": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"outOfOfficeReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"automaticReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"positiveReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"bounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"openRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"clickRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"unsubscribeRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyCountWithOOO": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"outOfOfficeReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"automaticReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"meetingsBooked": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"bounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"openCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"clickCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unsubscribeCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"senderBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"unclassifiedBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"totalEmailsSent",
"totalLeadsContacted",
"newLeadsContacted",
"totalCompletedLeads",
"replyRateWithOOO",
"replyRate",
"outOfOfficeReplyRate",
"automaticReplyRate",
"positiveReplyRate",
"bounceRate",
"openRate",
"clickRate",
"unsubscribeRate",
"replyCountWithOOO",
"replyCount",
"outOfOfficeReplyCount",
"automaticReplyCount",
"positiveReplyCount",
"meetingsBooked",
"bounceCount",
"openCount",
"clickCount",
"unsubscribeCount"
],
"patternProperties": {
"^(?!(?:totalEmailsSent|totalLeadsContacted|newLeadsContacted|totalCompletedLeads|replyRateWithOOO|replyRate|outOfOfficeReplyRate|automaticReplyRate|positiveReplyRate|bounceRate|openRate|clickRate|unsubscribeRate|replyCountWithOOO|replyCount|outOfOfficeReplyCount|automaticReplyCount|positiveReplyCount|meetingsBooked|bounceCount|openCount|clickCount|unsubscribeCount|recipientBounceCount|senderBounceCount|unclassifiedBounceCount|recipientBounceRate|senderBounceRate|unclassifiedBounceRate)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"totalEmailsSent",
"totalLeadsContacted",
"newLeadsContacted",
"totalCompletedLeads",
"replyRateWithOOO",
"replyRate",
"outOfOfficeReplyRate",
"automaticReplyRate",
"positiveReplyRate",
"bounceRate",
"openRate",
"clickRate",
"unsubscribeRate",
"replyCountWithOOO",
"replyCount",
"outOfOfficeReplyCount",
"automaticReplyCount",
"positiveReplyCount",
"meetingsBooked",
"bounceCount",
"openCount",
"clickCount",
"unsubscribeCount",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount",
"recipientBounceRate",
"senderBounceRate",
"unclassifiedBounceRate"
]
}
},
"dailyEmailSent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"$ref": "#/$defs/LocalDate"
},
"newLead": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"followUp": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"date",
"newLead",
"followUp"
],
"patternProperties": {
"^(?!(?:date|newLead|followUp)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"date",
"newLead",
"followUp"
]
}
}
},
"dailyMetrics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"$ref": "#/$defs/LocalDate"
},
"replyCountWithOOO": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"bounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"openCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"clickCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"date",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"openCount",
"clickCount"
],
"patternProperties": {
"^(?!(?:date|replyCountWithOOO|replyCount|positiveReplyCount|bounceCount|openCount|clickCount|recipientBounceCount|senderBounceCount|unclassifiedBounceCount)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"date",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"openCount",
"clickCount",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount"
]
}
}
}
},
"required": [
"summary",
"dailyEmailSent",
"dailyMetrics"
],
"patternProperties": {
"^(?!(?:summary|dailyEmailSent|dailyMetrics)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"summary",
"dailyEmailSent",
"dailyMetrics"
]
}
},
{
"type": "object",
"properties": {
"inboxCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"contactCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"contactedCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"contactedPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"finishedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"meetingsBooked": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completionPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"activeSubsequenceLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"lastSentAt": {
"anyOf": [
{
"$ref": "#/$defs/UtcDateTimeEncoded"
},
{
"type": "null"
}
]
}
},
"required": [
"inboxCount",
"contactCount",
"contactedCount",
"contactedPercentage",
"finishedLeads",
"replyCount",
"replyPercentage",
"positiveReplyCount",
"positiveReplyPercentage",
"meetingsBooked",
"completionPercentage",
"activeSubsequenceLeads",
"lastSentAt"
],
"patternProperties": {
"^(?!(?:inboxCount|contactCount|contactedCount|contactedPercentage|finishedLeads|replyCount|replyPercentage|positiveReplyCount|positiveReplyPercentage|meetingsBooked|completionPercentage|activeSubsequenceLeads|lastSentAt)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"inboxCount",
"contactCount",
"contactedCount",
"contactedPercentage",
"finishedLeads",
"replyCount",
"replyPercentage",
"positiveReplyCount",
"positiveReplyPercentage",
"meetingsBooked",
"completionPercentage",
"activeSubsequenceLeads",
"lastSentAt"
]
}
},
{
"type": "object",
"properties": {
"senderProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
}
},
"recipientProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
}
},
"senderTags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"name": {
"$ref": "#/$defs/ShortText"
},
"color": {
"anyOf": [
{
"$ref": "#/$defs/ShortText"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"color"
],
"patternProperties": {
"^(?!(?:id|name|color)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"id",
"name",
"color"
]
}
}
},
"senderDomains": {
"type": "array",
"items": {
"$ref": "#/$defs/DomainName"
}
}
},
"required": [
"senderProviders",
"recipientProviders",
"senderTags",
"senderDomains"
],
"patternProperties": {
"^(?!(?:senderProviders|recipientProviders|senderTags|senderDomains)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"senderProviders",
"recipientProviders",
"senderTags",
"senderDomains"
]
}
}
]
},
{
"type": "object"
}
]
},
{
"type": "object",
"properties": {
"data": {
"allOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"totalLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalMeetings": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"positiveReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"bounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"finishedRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"totalLeads",
"totalContacted",
"totalMeetings",
"replyRate",
"positiveReplyRate",
"bounceRate",
"finishedRate"
],
"patternProperties": {
"^(?!(?:totalLeads|totalContacted|totalMeetings|replyRate|positiveReplyRate|bounceRate|finishedRate|recipientBounceCount|senderBounceCount|unclassifiedBounceCount)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"totalLeads",
"totalContacted",
"totalMeetings",
"replyRate",
"positiveReplyRate",
"bounceRate",
"finishedRate",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount"
]
}
},
{
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"totalLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalEmailsSent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalLeadsContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"leadsContactedPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"newLeadsContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalCompletedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"finishedPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyRateWithOOO": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"positiveReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"bounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"unsubscribeRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyCountWithOOO": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"bounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unsubscribeCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"senderBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"unclassifiedBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"totalLeads",
"totalEmailsSent",
"totalLeadsContacted",
"leadsContactedPercentage",
"newLeadsContacted",
"totalCompletedLeads",
"finishedPercentage",
"replyRateWithOOO",
"replyRate",
"positiveReplyRate",
"bounceRate",
"unsubscribeRate",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"unsubscribeCount"
],
"patternProperties": {
"^(?!(?:totalLeads|totalEmailsSent|totalLeadsContacted|leadsContactedPercentage|newLeadsContacted|totalCompletedLeads|finishedPercentage|replyRateWithOOO|replyRate|positiveReplyRate|bounceRate|unsubscribeRate|replyCountWithOOO|replyCount|positiveReplyCount|bounceCount|unsubscribeCount|recipientBounceCount|senderBounceCount|unclassifiedBounceCount|recipientBounceRate|senderBounceRate|unclassifiedBounceRate)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"totalLeads",
"totalEmailsSent",
"totalLeadsContacted",
"leadsContactedPercentage",
"newLeadsContacted",
"totalCompletedLeads",
"finishedPercentage",
"replyRateWithOOO",
"replyRate",
"positiveReplyRate",
"bounceRate",
"unsubscribeRate",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"unsubscribeCount",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount",
"recipientBounceRate",
"senderBounceRate",
"unclassifiedBounceRate"
]
}
},
"dailyEmailSent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"$ref": "#/$defs/LocalDate"
},
"newLead": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"followUp": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"date",
"newLead",
"followUp"
],
"patternProperties": {
"^(?!(?:date|newLead|followUp)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"date",
"newLead",
"followUp"
]
}
}
},
"dailyMetrics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"$ref": "#/$defs/LocalDate"
},
"replyCountWithOOO": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"bounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"date",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount"
],
"patternProperties": {
"^(?!(?:date|replyCountWithOOO|replyCount|positiveReplyCount|bounceCount|recipientBounceCount|senderBounceCount|unclassifiedBounceCount)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"date",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount"
]
}
}
}
},
"required": [
"summary",
"dailyEmailSent",
"dailyMetrics"
],
"patternProperties": {
"^(?!(?:summary|dailyEmailSent|dailyMetrics)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"summary",
"dailyEmailSent",
"dailyMetrics"
]
}
},
{
"type": "object",
"properties": {
"summary": {
"type": "object",
"properties": {
"totalEmailsSent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalLeadsContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"newLeadsContacted": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalCompletedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyRateWithOOO": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"outOfOfficeReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"automaticReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"positiveReplyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"bounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"openRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"clickRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"unsubscribeRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"replyCountWithOOO": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"outOfOfficeReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"automaticReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"meetingsBooked": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"bounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"openCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"clickCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unsubscribeCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"senderBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"unclassifiedBounceRate": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"totalEmailsSent",
"totalLeadsContacted",
"newLeadsContacted",
"totalCompletedLeads",
"replyRateWithOOO",
"replyRate",
"outOfOfficeReplyRate",
"automaticReplyRate",
"positiveReplyRate",
"bounceRate",
"openRate",
"clickRate",
"unsubscribeRate",
"replyCountWithOOO",
"replyCount",
"outOfOfficeReplyCount",
"automaticReplyCount",
"positiveReplyCount",
"meetingsBooked",
"bounceCount",
"openCount",
"clickCount",
"unsubscribeCount"
],
"patternProperties": {
"^(?!(?:totalEmailsSent|totalLeadsContacted|newLeadsContacted|totalCompletedLeads|replyRateWithOOO|replyRate|outOfOfficeReplyRate|automaticReplyRate|positiveReplyRate|bounceRate|openRate|clickRate|unsubscribeRate|replyCountWithOOO|replyCount|outOfOfficeReplyCount|automaticReplyCount|positiveReplyCount|meetingsBooked|bounceCount|openCount|clickCount|unsubscribeCount|recipientBounceCount|senderBounceCount|unclassifiedBounceCount|recipientBounceRate|senderBounceRate|unclassifiedBounceRate)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"totalEmailsSent",
"totalLeadsContacted",
"newLeadsContacted",
"totalCompletedLeads",
"replyRateWithOOO",
"replyRate",
"outOfOfficeReplyRate",
"automaticReplyRate",
"positiveReplyRate",
"bounceRate",
"openRate",
"clickRate",
"unsubscribeRate",
"replyCountWithOOO",
"replyCount",
"outOfOfficeReplyCount",
"automaticReplyCount",
"positiveReplyCount",
"meetingsBooked",
"bounceCount",
"openCount",
"clickCount",
"unsubscribeCount",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount",
"recipientBounceRate",
"senderBounceRate",
"unclassifiedBounceRate"
]
}
},
"dailyEmailSent": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"$ref": "#/$defs/LocalDate"
},
"newLead": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"followUp": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"date",
"newLead",
"followUp"
],
"patternProperties": {
"^(?!(?:date|newLead|followUp)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"date",
"newLead",
"followUp"
]
}
}
},
"dailyMetrics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"$ref": "#/$defs/LocalDate"
},
"replyCountWithOOO": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"bounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"openCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"clickCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recipientBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"senderBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"unclassifiedBounceCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"date",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"openCount",
"clickCount"
],
"patternProperties": {
"^(?!(?:date|replyCountWithOOO|replyCount|positiveReplyCount|bounceCount|openCount|clickCount|recipientBounceCount|senderBounceCount|unclassifiedBounceCount)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"date",
"replyCountWithOOO",
"replyCount",
"positiveReplyCount",
"bounceCount",
"openCount",
"clickCount",
"recipientBounceCount",
"senderBounceCount",
"unclassifiedBounceCount"
]
}
}
}
},
"required": [
"summary",
"dailyEmailSent",
"dailyMetrics"
],
"patternProperties": {
"^(?!(?:summary|dailyEmailSent|dailyMetrics)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"summary",
"dailyEmailSent",
"dailyMetrics"
]
}
},
{
"type": "object",
"properties": {
"inboxCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"contactCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"contactedCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"contactedPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"finishedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"positiveReplyCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"positiveReplyPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"meetingsBooked": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completionPercentage": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"activeSubsequenceLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"lastSentAt": {
"anyOf": [
{
"$ref": "#/$defs/UtcDateTimeEncoded"
},
{
"type": "null"
}
]
}
},
"required": [
"inboxCount",
"contactCount",
"contactedCount",
"contactedPercentage",
"finishedLeads",
"replyCount",
"replyPercentage",
"positiveReplyCount",
"positiveReplyPercentage",
"meetingsBooked",
"completionPercentage",
"activeSubsequenceLeads",
"lastSentAt"
],
"patternProperties": {
"^(?!(?:inboxCount|contactCount|contactedCount|contactedPercentage|finishedLeads|replyCount|replyPercentage|positiveReplyCount|positiveReplyPercentage|meetingsBooked|completionPercentage|activeSubsequenceLeads|lastSentAt)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"inboxCount",
"contactCount",
"contactedCount",
"contactedPercentage",
"finishedLeads",
"replyCount",
"replyPercentage",
"positiveReplyCount",
"positiveReplyPercentage",
"meetingsBooked",
"completionPercentage",
"activeSubsequenceLeads",
"lastSentAt"
]
}
},
{
"type": "object",
"properties": {
"senderProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
}
},
"recipientProviders": {
"type": "array",
"items": {
"type": "string",
"enum": [
"google",
"microsoft",
"other"
]
}
},
"senderTags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"name": {
"$ref": "#/$defs/ShortText"
},
"color": {
"anyOf": [
{
"$ref": "#/$defs/ShortText"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"color"
],
"patternProperties": {
"^(?!(?:id|name|color)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"id",
"name",
"color"
]
}
}
},
"senderDomains": {
"type": "array",
"items": {
"$ref": "#/$defs/DomainName"
}
}
},
"required": [
"senderProviders",
"recipientProviders",
"senderTags",
"senderDomains"
],
"patternProperties": {
"^(?!(?:senderProviders|recipientProviders|senderTags|senderDomains)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"senderProviders",
"recipientProviders",
"senderTags",
"senderDomains"
]
}
}
]
},
{
"not": {
"type": "object"
}
}
]
}
},
"required": [
"data"
],
"additionalProperties": false
}
]
}
```
### Underlying API operations
- `campaignAnalytics.totals`: `GET /v1/workspaces/:workspaceId/campaigns/analytics/totals`
- `campaignAnalytics.workspaceReport`: `GET /v1/workspaces/:workspaceId/campaigns/analytics`
- `campaignAnalytics.filterOptions`: `GET /v1/workspaces/:workspaceId/campaigns/analytics/filter-options`
- `campaignAnalytics.rowStats`: `GET /v1/workspaces/:workspaceId/campaigns/:campaignId/row-stats`
- `campaignAnalytics.campaign`: `GET /v1/workspaces/:workspaceId/campaigns/:campaignId/analytics`