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"
+ },
+ "brands_named": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "domain": {
+ "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"
+ },
+ "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"
+ },
+ "top_pages": {
+ "description": "The domain's most influential cited pages; get_citation_source with a source_id gives a page's prompts and snippets.",
+ "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"
+ },
+ "trend": {
+ "description": "Days with citations.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "citations": {
+ "type": "integer"
+ },
+ "date": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "citations"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "brand",
+ "period",
+ "domain",
+ "brands_named",
+ "top_pages",
+ "trend"
+ ],
+ "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"
+ },
+ "brands_named": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "models": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "page": {
+ "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"
+ },
+ "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"
+ },
+ "prompts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "citations": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ },
+ "latest_cited_at": {
+ "type": "string"
+ },
+ "segment": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "text",
+ "segment",
+ "citations",
+ "latest_cited_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "snippets": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "captured_at": {
+ "type": "string"
+ },
+ "excerpt": {
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "prompt_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "answer_id",
+ "prompt_id",
+ "model",
+ "excerpt",
+ "captured_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "trend": {
+ "description": "Days with citations.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "citations": {
+ "type": "integer"
+ },
+ "date": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "citations"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "brand",
+ "period",
+ "page",
+ "prompts",
+ "models",
+ "brands_named",
+ "snippets",
+ "trend"
+ ],
+ "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"
+}