Shruwd · Schema

VisibilitySeries

Artificial IntelligenceSearch VisibilityMarketingAnalyticsB2B

Properties

Name Type Description
brand object
engine object
windowDays integer
range object
historyFrom stringnull Set when `from` was moved forward to the plan's history window.
points array Cycle-close days in the range, ascending. Every entity's `series` is index-aligned with this.
entities array The brand first, then competitors by how often they were named over the range.
modelChanges array Closes where the provider's model set differed from the previous close. A comparison across one is confounded.
View JSON Schema on GitHub

JSON Schema

shruwd-io-visibility-series-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shruwd-io/json-schema/shruwd-io-visibility-series-schema.json",
  "title": "VisibilitySeries",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shruwd-io-openapi.json#/components/schemas/VisibilitySeries",
  "type": "object",
  "required": [
    "brand",
    "engine",
    "windowDays",
    "range",
    "historyFrom",
    "points",
    "entities",
    "modelChanges"
  ],
  "properties": {
    "brand": {
      "type": "object",
      "required": [
        "brandId",
        "name",
        "timezone"
      ],
      "properties": {
        "brandId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "timezone": {
          "type": "string"
        }
      }
    },
    "engine": {
      "$ref": "#/$defs/Engine"
    },
    "windowDays": {
      "type": "integer",
      "enum": [
        7,
        30,
        90
      ]
    },
    "range": {
      "type": "object",
      "required": [
        "from",
        "to"
      ],
      "properties": {
        "from": {
          "type": "string",
          "format": "date"
        },
        "to": {
          "type": "string",
          "format": "date"
        }
      }
    },
    "historyFrom": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "Set when `from` was moved forward to the plan's history window."
    },
    "points": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "date"
      },
      "description": "Cycle-close days in the range, ascending. Every entity's `series` is index-aligned with this."
    },
    "entities": {
      "type": "array",
      "description": "The brand first, then competitors by how often they were named over the range.",
      "items": {
        "type": "object",
        "required": [
          "entityId",
          "canonicalName",
          "isSelf",
          "series"
        ],
        "properties": {
          "entityId": {
            "type": "string"
          },
          "canonicalName": {
            "type": "string"
          },
          "isSelf": {
            "type": "boolean"
          },
          "series": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/$defs/SeriesPoint"
                },
                {
                  "type": "null"
                }
              ]
            },
            "description": "One entry per `points` day; null when the rollup has no row for the entity on that close."
          }
        }
      }
    },
    "modelChanges": {
      "type": "array",
      "description": "Closes where the provider's model set differed from the previous close. A comparison across one is confounded.",
      "items": {
        "$ref": "#/$defs/ModelChange"
      }
    }
  },
  "$defs": {
    "DisplayableMetric": {
      "description": "A metric that can be shown. Never a bare number: either a point\nestimate with its 95% interval and `n`, or an explicit reason there is\nno number. `insufficient_data` is **not** zero.\n",
      "oneOf": [
        {
          "type": "object",
          "required": [
            "state",
            "point",
            "lo",
            "hi",
            "n"
          ],
          "properties": {
            "state": {
              "type": "string",
              "const": "ok"
            },
            "point": {
              "type": "number",
              "description": "Proportion in [0, 1]."
            },
            "lo": {
              "type": "number",
              "description": "Lower bound of the 95% interval."
            },
            "hi": {
              "type": "number",
              "description": "Upper bound of the 95% interval."
            },
            "n": {
              "type": "integer",
              "description": "Responses the estimate rests on."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "state",
            "n",
            "needed"
          ],
          "properties": {
            "state": {
              "type": "string",
              "const": "insufficient_data"
            },
            "n": {
              "type": "integer"
            },
            "needed": {
              "type": "integer",
              "description": "How many more responses would cross the floor of ten."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "state",
            "n",
            "reason"
          ],
          "properties": {
            "state": {
              "type": "string",
              "const": "undefined"
            },
            "n": {
              "type": "integer"
            },
            "reason": {
              "type": "string"
            }
          }
        }
      ]
    },
    "Engine": {
      "type": "string",
      "enum": [
        "google_aio",
        "google_ai_mode",
        "chatgpt",
        "gemini",
        "perplexity"
      ],
      "description": "`google_aio` — Google AI Overviews. `google_ai_mode` — Google AI Mode, tracked since 2026-10-15. `chatgpt` — ChatGPT. `gemini` — Gemini, tracked since 2026-11-10. `perplexity` — Perplexity, asked through its Sonar API, tracked since 2026-11-11."
    },
    "ModelChange": {
      "type": "object",
      "required": [
        "asOf",
        "engine",
        "from",
        "to"
      ],
      "properties": {
        "asOf": {
          "type": "string",
          "format": "date"
        },
        "engine": {
          "$ref": "#/$defs/Engine"
        },
        "from": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "to": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SeriesPoint": {
      "type": "object",
      "required": [
        "asOf",
        "n",
        "mentionRate",
        "shareOfVoice",
        "avgProminence",
        "modelIds"
      ],
      "properties": {
        "asOf": {
          "type": "string",
          "format": "date",
          "description": "The cycle-close day this window ends on."
        },
        "n": {
          "type": "integer",
          "description": "Responses in the window measured while the entity was tracked: the mention rate's n."
        },
        "mentionRate": {
          "allOf": [
            {
              "$ref": "#/$defs/DisplayableMetric"
            }
          ],
          "description": "Share of the window's responses that mentioned the entity, with its Wilson interval."
        },
        "shareOfVoice": {
          "allOf": [
            {
              "$ref": "#/$defs/DisplayableMetric"
            }
          ],
          "description": "Among the entities tracked at the window's end, over the responses checked against all of them; its own n."
        },
        "avgProminence": {
          "type": [
            "number",
            "null"
          ]
        },
        "modelIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/shruwd-io-visibility-series"
All schemas
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.