changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "properties": {
- "data": {
- "description": "Items or result for this call.",
- "items": {
- "properties": {
- "evidence": {
- "items": {
- "description": "Operation-specific object.",
- "type": "object"
- },
- "type": "array"
- },
- "explanation": {
- "type": "string"
- },
- "id": {
- "description": "Stable ID for later reads or edits.",
- "type": "string"
- },
- "kind": {
- "description": "Discriminator identifying the variant of this returned item.",
- "enum": [
- "market",
- "objections"
- ],
- "type": "string"
- },
- "recommendation": {
- "type": "string"
- },
- "sentiment": {
- "enum": [
- "positive",
- "neutral",
- "negative"
- ],
- "type": "string"
- },
- "sourceKey": {
- "type": "string"
- },
- "theme": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "theme",
- "sentiment",
- "explanation",
- "recommendation",
- "evidence",
- "sourceKey",
- "kind"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "nextOffset": {
- "description": "Next offset, or null at the end.",
- "type": "number"
- }
- },
- "required": [
- "data",
- "nextOffset"
- ],
- "type": "object"
- },
- {
- "properties": {
- "data": {
- "description": "Items or result for this call.",
- "items": {
- "properties": {
- "evidence": {
- "items": {
- "description": "Operation-specific object.",
- "type": "object"
- },
- "type": "array"
- },
- "explanation": {
- "type": "string"
- },
- "id": {
- "description": "Stable ID for later reads or edits.",
- "type": "string"
- },
- "kind": {
- "description": "Discriminator identifying the variant of this returned item.",
- "enum": [
- "market",
- "objections"
- ],
- "type": "string"
- },
- "recommendation": {
- "type": "string"
- },
- "sentiment": {
- "enum": [
- "positive",
- "neutral",
- "negative"
- ],
- "type": "string"
- },
- "sourceKey": {
- "type": "string"
- },
- "theme": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "theme",
- "sentiment",
- "explanation",
- "recommendation",
- "evidence",
- "sourceKey",
- "kind"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "nextOffset": {
- "description": "Next offset, or null at the end.",
- "type": "null"
- }
- },
- "required": [
- "data",
- "nextOffset"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "data": {
+ "description": "Items or result for this call.",
+ "items": {
+ "properties": {
+ "evidence": {
+ "description": "Quoted passages with evidence IDs and any objection rank.",
+ "items": {
+ "properties": {
+ "evidenceId": {
+ "description": "ID of the source evidence record for this quote.",
+ "type": "string"
+ },
+ "position": {
+ "description": "Ranked objection position; absent for non-positional evidence.",
+ "type": "number"
+ },
+ "quote": {
+ "description": "Supporting passage attributed to the evidence record.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "evidenceId",
+ "quote"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "explanation": {
+ "description": "Reason the source analysis flagged this theme.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Record ID.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Discriminator identifying the variant of this returned item.",
+ "enum": [
+ "market",
+ "objections"
+ ],
+ "type": "string"
+ },
+ "recommendation": {
+ "description": "Suggested response to this finding.",
+ "type": "string"
+ },
+ "sentiment": {
+ "description": "Sentiment assigned to the theme in its source.",
+ "enum": [
+ "positive",
+ "neutral",
+ "negative"
+ ],
+ "type": "string"
+ },
+ "sourceKey": {
+ "description": "Saved source key identifying one tracked answer or evaluation.",
+ "type": "string"
+ },
+ "theme": {
+ "description": "Theme identified in this source's analysis.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "theme",
+ "sentiment",
+ "explanation",
+ "recommendation",
+ "evidence",
+ "sourceKey",
+ "kind"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "nextOffset": {
+ "description": "Next offset, or null at the end.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "data",
+ "nextOffset"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "data": {
+ "description": "Items or result for this call.",
+ "items": {
+ "properties": {
+ "evidence": {
+ "description": "Quoted passages with evidence IDs and any objection rank.",
+ "items": {
+ "properties": {
+ "evidenceId": {
+ "description": "ID of the source evidence record for this quote.",
+ "type": "string"
+ },
+ "position": {
+ "description": "Ranked objection position; absent for non-positional evidence.",
+ "type": "number"
+ },
+ "quote": {
+ "description": "Supporting passage attributed to the evidence record.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "evidenceId",
+ "quote"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "explanation": {
+ "description": "Reason the source analysis flagged this theme.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Record ID.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Discriminator identifying the variant of this returned item.",
+ "enum": [
+ "market",
+ "objections"
+ ],
+ "type": "string"
+ },
+ "recommendation": {
+ "description": "Suggested response to this finding.",
+ "type": "string"
+ },
+ "sentiment": {
+ "description": "Sentiment assigned to the theme in its source.",
+ "enum": [
+ "positive",
+ "neutral",
+ "negative"
+ ],
+ "type": "string"
+ },
+ "sourceKey": {
+ "description": "Saved source key identifying one tracked answer or evaluation.",
+ "type": "string"
+ },
+ "theme": {
+ "description": "Theme identified in this source's analysis.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "theme",
+ "sentiment",
+ "explanation",
+ "recommendation",
+ "evidence",
+ "sourceKey",
+ "kind"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "nextOffset": {
+ "description": "Next offset, or null at the end.",
+ "type": "null"
+ }
+ },
+ "required": [
+ "data",
+ "nextOffset"
+ ],
+ "type": "object"
+ }
+]
addedOutput schema / then / properties
Added value: +{
+ "action": {
+ "description": "Project chooser action.",
+ "type": "string"
+ },
+ "category": {
+ "description": "Failure class.",
+ "type": "string"
+ },
+ "details": {
+ "description": "Error-specific diagnostics.",
+ "type": "object"
+ },
+ "error": {
+ "description": "Why the call failed.",
+ "type": "string"
+ },
+ "errorCode": {
+ "description": "Stable failure code.",
+ "type": "string"
+ },
+ "expected": {
+ "description": "Known failure.",
+ "type": "boolean"
+ },
+ "message": {
+ "description": "Recovery instructions.",
+ "type": "string"
+ },
+ "projects": {
+ "description": "Choose a projectId and retry.",
+ "items": {
+ "properties": {
+ "id": {
+ "description": "Pass as projectId.",
+ "type": "number"
+ },
+ "name": {
+ "description": "Project name to show in the chooser.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "retryable": {
+ "description": "Safe to retry unchanged.",
+ "type": "boolean"
+ },
+ "statusCode": {
+ "description": "HTTP error status.",
+ "type": "integer"
+ },
+ "upgrade": {
+ "description": "Plan upgrade options.",
+ "type": "object"
+ },
+ "url": {
+ "description": "Recovery or completion link.",
+ "type": "string"
+ }
+}