changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The brand's website, or empty when none is set.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "by_ownership": {
+ "additionalProperties": false,
+ "properties": {
+ "competitor": {
+ "type": "integer"
+ },
+ "own": {
+ "type": "integer"
+ },
+ "third_party": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "own",
+ "competitor",
+ "third_party"
+ ],
+ "type": "object"
+ },
+ "period": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "description": "First day, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "to": {
+ "description": "Last day, YYYY-MM-DD.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "source_types": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "citations": {
+ "type": "integer"
+ },
+ "share": {
+ "type": "number"
+ },
+ "source_type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "source_type",
+ "citations",
+ "share"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total_citations": {
+ "type": "integer"
+ },
+ "view": {
+ "type": "string"
+ },
+ "weekly": {
+ "description": "Citations by week, starting with the period's first day.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "competitor": {
+ "type": "integer"
+ },
+ "own": {
+ "type": "integer"
+ },
+ "third_party": {
+ "type": "integer"
+ },
+ "week_start": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "week_start",
+ "own",
+ "competitor",
+ "third_party"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "brand",
+ "view",
+ "period",
+ "total_citations",
+ "by_ownership",
+ "source_types",
+ "weekly"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The brand's website, or empty when none is set.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "domains": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "citations": {
+ "type": "integer"
+ },
+ "domain": {
+ "description": "Pass to get_citation_source.",
+ "type": "string"
+ },
+ "gap_competitors": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "latest_cited_at": {
+ "type": "string"
+ },
+ "models": {
+ "description": "Model family keys that cited it.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ownership": {
+ "description": "own, competitor, or third_party.",
+ "type": "string"
+ },
+ "pages": {
+ "type": "integer"
+ },
+ "prompts": {
+ "type": "integer"
+ },
+ "source_gap": {
+ "description": "Competitors are cited from this domain and the brand is not.",
+ "type": "boolean"
+ },
+ "source_type": {
+ "type": "string"
+ },
+ "top_page": {
+ "additionalProperties": false,
+ "properties": {
+ "source_id": {
+ "description": "Pass to get_citation_source.",
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "source_id",
+ "title",
+ "url"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ }
+ },
+ "required": [
+ "domain",
+ "ownership",
+ "source_type",
+ "citations",
+ "pages",
+ "prompts",
+ "models",
+ "source_gap",
+ "gap_competitors",
+ "top_page",
+ "latest_cited_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "next_cursor": {
+ "description": "Pass as cursor to get the next page; empty on the last page.",
+ "type": "string"
+ },
+ "total": {
+ "description": "Items across all pages; null when not counted.",
+ "type": [
+ "null",
+ "integer"
+ ]
+ }
+ },
+ "required": [
+ "next_cursor",
+ "total"
+ ],
+ "type": "object"
+ },
+ "period": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "description": "First day, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "to": {
+ "description": "Last day, YYYY-MM-DD.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "view": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "brand",
+ "view",
+ "period",
+ "domains",
+ "pagination"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "brand": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The brand's website, or empty when none is set.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "url"
+ ],
+ "type": "object"
+ },
+ "pages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "brands_named": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "citations": {
+ "type": "integer"
+ },
+ "domain": {
+ "type": "string"
+ },
+ "gap_competitors": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "influence": {
+ "description": "0-100: how much the page shapes answers, from citation frequency, recency, model and prompt coverage.",
+ "type": "integer"
+ },
+ "latest_cited_at": {
+ "type": "string"
+ },
+ "models": {
+ "type": "integer"
+ },
+ "ownership": {
+ "description": "own, competitor, or third_party.",
+ "type": "string"
+ },
+ "prompts": {
+ "type": "integer"
+ },
+ "source_gap": {
+ "type": "boolean"
+ },
+ "source_id": {
+ "description": "Pass to get_citation_source.",
+ "type": "string"
+ },
+ "source_type": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "source_id",
+ "url",
+ "title",
+ "domain",
+ "ownership",
+ "source_type",
+ "influence",
+ "citations",
+ "prompts",
+ "models",
+ "brands_named",
+ "source_gap",
+ "gap_competitors",
+ "latest_cited_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "next_cursor": {
+ "description": "Pass as cursor to get the next page; empty on the last page.",
+ "type": "string"
+ },
+ "total": {
+ "description": "Items across all pages; null when not counted.",
+ "type": [
+ "null",
+ "integer"
+ ]
+ }
+ },
+ "required": [
+ "next_cursor",
+ "total"
+ ],
+ "type": "object"
+ },
+ "period": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "description": "First day, YYYY-MM-DD.",
+ "type": "string"
+ },
+ "to": {
+ "description": "Last day, YYYY-MM-DD.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "view": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "brand",
+ "view",
+ "period",
+ "pages",
+ "pagination"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "generated_at": {
+ "description": "RFC 3339 time the response was made.",
+ "type": "string"
+ },
+ "schema_version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "generated_at",
+ "data"
+ ],
+ "type": "object"
+}