FilterGroup
A group of Filter conditions. All `filters` within a single group are **always ANDed together** — there is no per-group intra-operator. The `combinator` attribute is an **inter-group** operator: it controls how this group is joined to the immediately preceding group in the array. The `combinator` on the first group (index 0) is always ignored. Example — `(city = "NYC" AND state = "NY") OR (state = "CA")`: ```json [ { "id": "g1", "filters": [{"field":"city","op":"=","value":"NYC"}, {"field":"state","op":"=","value":"NY"}], "combinator": "AND" }, { "id": "g2", "filters": [{"field":"state","op":"=","value":"CA"}], "combinator": "OR" } ] ``` Group g1's `combinator` is irrelevant (it is the first group). Group g2's `combinator: "OR"` means the result is `(g1) OR (g2)`.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Stable identifier (UUID or NanoID). Used to track groups across edits. |
| filters | array | One or more filter conditions. All conditions in this array are combined with AND. Provide at least one filter per group. |
| combinator | string | **Inter-group operator.** Joins this group to the previous group in the array. `AND` narrows the result; `OR` broadens it. Ignored on the first group (index 0) — that group has no predecessor to join. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/infiniteaudience-ai/json-schema/infiniteaudience-ai-filter-group-schema.json",
"title": "FilterGroup",
"description": "A group of Filter conditions. All `filters` within a single group are **always ANDed together** — there is no per-group intra-operator. The `combinator` attribute is an **inter-group** operator: it controls how this group is joined to the immediately preceding group in the array. The `combinator` on the first group (index 0) is always ignored.\n\nExample — `(city = \"NYC\" AND state = \"NY\") OR (state = \"CA\")`:\n```json [\n { \"id\": \"g1\", \"filters\": [{\"field\":\"city\",\"op\":\"=\",\"value\":\"NYC\"},\n {\"field\":\"state\",\"op\":\"=\",\"value\":\"NY\"}],\n \"combinator\": \"AND\" },\n { \"id\": \"g2\", \"filters\": [{\"field\":\"state\",\"op\":\"=\",\"value\":\"CA\"}],\n \"combinator\": \"OR\" }\n] ```\nGroup g1's `combinator` is irrelevant (it is the first group). Group g2's `combinator: \"OR\"` means the result is `(g1) OR (g2)`.\n",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/infiniteaudience-ai-discovery-api-openapi.yml#/components/schemas/FilterGroup",
"type": "object",
"required": [
"id",
"filters",
"combinator"
],
"properties": {
"id": {
"type": "string",
"description": "Stable identifier (UUID or NanoID). Used to track groups across edits.\n"
},
"filters": {
"type": "array",
"items": {
"$ref": "#/$defs/Filter"
},
"description": "One or more filter conditions. All conditions in this array are combined with AND. Provide at least one filter per group.\n"
},
"combinator": {
"type": "string",
"enum": [
"AND",
"OR"
],
"description": "**Inter-group operator.** Joins this group to the previous group in the array. `AND` narrows the result; `OR` broadens it. Ignored on the first group (index 0) — that group has no predecessor to join.\n"
}
},
"$defs": {
"Filter": {
"type": "object",
"description": "A single filter condition for audience discovery or job execution",
"required": [
"field",
"op"
],
"properties": {
"field": {
"type": "string",
"description": "Canonical catalog field_name (e.g. age or state). ZIP5 also accepts zip, zip_code, or postal_code as input aliases; saved responses use zip5."
},
"op": {
"type": "string",
"enum": [
"=",
"!=",
"<",
"<=",
">",
">=",
"IN",
"NOT IN",
"BETWEEN",
"LIKE",
"ARRAY_CONTAINS",
"ARRAY_CONTAINS_ANY",
"IS NULL",
"IS NOT NULL"
],
"description": "Comparison operator"
},
"text_comparison": {
"type": "string",
"enum": [
"exact",
"case_insensitive"
],
"description": "Optional STRING comparison mode for =, !=, IN, NOT IN, and LIKE, or ARRAY<STRING> membership mode for ARRAY_CONTAINS and ARRAY_CONTAINS_ANY. Defaults to exact. Case-insensitive mode applies Unicode case folding to both the stored value and the supplied value.\n"
},
"trim_whitespace": {
"type": "boolean",
"description": "Optionally trim leading and trailing whitespace on both sides of a STRING or ARRAY<STRING> comparison. Defaults to false; independent of text_comparison.\n"
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
}
],
"description": "The value to match against. For state, a published two-letter code or full State name is accepted and normalized to the code. Scalar types (`string`, `number`, `boolean`) are used for single-value operators (`=`, `!=`, `<`, `<=`, `>`, `>=`, `LIKE`, `ARRAY_CONTAINS`). Pass an **array** for `IN`, `NOT IN`, and `ARRAY_CONTAINS_ANY` — pass the array directly with no comma-encoding. `BETWEEN` takes a two-element array `[low, high]`. Omit entirely for `IS NULL` / `IS NOT NULL` checks.\n"
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/infiniteaudience-ai-filter-group"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.