changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "complaints": {
+ "description": "List of complaint records",
+ "items": {
+ "properties": {
+ "company": {
+ "description": "Company name",
+ "type": "string"
+ },
+ "company_public_response": {
+ "description": "Public response from company",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "company_response": {
+ "description": "Company's response status",
+ "type": "string"
+ },
+ "complaint_id": {
+ "description": "Unique complaint identifier",
+ "type": "string"
+ },
+ "consumer_disputed": {
+ "description": "Whether consumer disputed resolution",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_received": {
+ "description": "Date complaint was received",
+ "type": "string"
+ },
+ "issue": {
+ "description": "Main complaint issue",
+ "type": "string"
+ },
+ "narrative": {
+ "description": "Consumer complaint narrative",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "product": {
+ "description": "Product category (e.g., Credit card, Mortgage)",
+ "type": "string"
+ },
+ "state": {
+ "description": "Consumer state (2-letter code)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sub_issue": {
+ "description": "Subcategory of issue",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sub_product": {
+ "description": "Subcategory of product",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "submitted_via": {
+ "description": "Submission method (e.g., web, phone)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "timely": {
+ "description": "Whether response was timely",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "filters": {
+ "properties": {
+ "company": {
+ "description": "Company filter applied",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "date_range": {
+ "properties": {
+ "end": {
+ "description": "End date of range (YYYY-MM-DD)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "start": {
+ "description": "Start date of range (YYYY-MM-DD)",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "product": {
+ "description": "Product category filter applied",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "query": {
+ "description": "Search query term provided",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "total": {
+ "description": "Total number of matching complaints",
+ "type": "number"
+ }
+ },
+ "required": [
+ "query",
+ "filters",
+ "total",
+ "complaints"
+ ],
+ "type": "object"
+}