changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "brand": {
+ "additionalProperties": false,
+ "description": "The proposed brand.",
+ "properties": {
+ "aliases": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "url",
+ "aliases"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "brand_id": {
+ "description": "The created brand, once committed.",
+ "type": "string"
+ },
+ "competitors": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "aliases": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proposal_id": {
+ "description": "Pass in accepted_brand_proposal_ids to keep it.",
+ "type": "string"
+ },
+ "status": {
+ "description": "pending; superseded when its site could not be assessed; accepted or rejected once approved.",
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "warning": {
+ "description": "Why tracking its site may not work.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "proposal_id",
+ "name",
+ "url",
+ "aliases",
+ "status",
+ "warning"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "error": {
+ "description": "Set when failed: site_unreachable, no_brand_found, timed_out, or failed.",
+ "type": "string"
+ },
+ "poll_after_seconds": {
+ "description": "While reading, how long to wait before reading again; 0 otherwise.",
+ "type": "integer"
+ },
+ "prompts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "proposal_id": {
+ "description": "Pass in accepted_prompt_proposal_ids to keep it.",
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "tags": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "proposal_id",
+ "text",
+ "tags",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "segment": {
+ "additionalProperties": false,
+ "properties": {
+ "language": {
+ "type": "string"
+ },
+ "market": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "market",
+ "language"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "setup_id": {
+ "type": "string"
+ },
+ "status": {
+ "description": "reading (poll), needs_approval (review, then approve_brand_setup), committed, failed, rejected, or cancelled.",
+ "type": "string"
+ },
+ "step": {
+ "description": "While reading: site, brand, questions, then ready.",
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "setup_id",
+ "status",
+ "step",
+ "error",
+ "url",
+ "brand_id",
+ "brand",
+ "competitors",
+ "segment",
+ "prompts",
+ "poll_after_seconds"
+ ],
+ "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"
+}