changedOutput schema / else / else / anyOf
Previous value: -[
- {
- "properties": {
- "approval_request": {
- "properties": {
- "approval_ref": {
- "type": "string"
- },
- "confirm_token": {
- "type": "string"
- },
- "expires_at": {
- "type": "string"
- },
- "mode": {
- "type": "string"
- },
- "plan_digest": {
- "type": "string"
- },
- "schema_version": {
- "type": "integer"
- },
- "status": {
- "const": "approval_required"
- },
- "summary": {
- "properties": {
- "account_currency": {
- "type": [
- "string",
- "null"
- ]
- },
- "action": {
- "type": [
- "string",
- "null"
- ]
- },
- "ad_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "ad_count": {
- "type": "integer"
- },
- "ad_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "ad_name_after": {
- "type": [
- "string",
- "null"
- ]
- },
- "ad_name_before": {
- "type": [
- "string",
- "null"
- ]
- },
- "ad_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "adset_count": {
- "type": "integer"
- },
- "adset_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "adset_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "bid": {
- "$ref": "#/$defs/s0"
- },
- "budget": {
- "$ref": "#/$defs/s0"
- },
- "campaign_count": {
- "type": "integer"
- },
- "campaign_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "campaign_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "change_percent": {
- "type": [
- "number",
- "null"
- ]
- },
- "copies": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "creative_after": {
- "type": [
- "string",
- "null"
- ]
- },
- "creative_before": {
- "type": [
- "string",
- "null"
- ]
- },
- "cross_account": {
- "type": "boolean"
- },
- "current_daily_budget": {
- "type": [
- "number",
- "null"
- ]
- },
- "engagement_mode": {
- "type": [
- "string",
- "null"
- ]
- },
- "entity_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "entity_type": {
- "type": [
- "string",
- "null"
- ]
- },
- "groups": {
- "items": {
- "properties": {
- "adsets": {
- "items": {
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "target_adset_id": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "bid": {
- "$ref": "#/$defs/s1"
- },
- "budget": {
- "$ref": "#/$defs/s1"
- },
- "campaign_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "layout": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "items": {
- "items": {
- "properties": {
- "ad_account_id": {
- "type": "string"
- },
- "ad_id": {
- "type": "string"
- },
- "campaign_id": {
- "type": "string"
- },
- "current_configured_status": {
- "type": [
- "string",
- "null"
- ]
- },
- "current_daily_budget": {
- "type": [
- "number",
- "null"
- ]
- },
- "new_daily_budget": {
- "type": [
- "number",
- "null"
- ]
- },
- "target_configured_status": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "mode": {
- "type": [
- "string",
- "null"
- ]
- },
- "new_daily_budget": {
- "type": [
- "number",
- "null"
- ]
- },
- "note": {
- "type": [
- "string",
- "null"
- ]
- },
- "page_id_after": {
- "type": [
- "string",
- "null"
- ]
- },
- "page_id_before": {
- "type": [
- "string",
- "null"
- ]
- },
- "preflight": {
- "properties": {
- "ad_account_id": {
- "type": "string"
- },
- "billing": {
- "properties": {
- "available_funds_major": {
- "type": [
- "number",
- "null"
- ]
- },
- "balance_semantics": {
- "type": "string"
- },
- "currency": {
- "type": [
- "string",
- "null"
- ]
- },
- "low_remaining_spend_cap": {
- "type": "boolean"
- },
- "note": {
- "type": "string"
- },
- "reported_balance_major": {
- "type": [
- "number",
- "null"
- ]
- },
- "spend_cap_remaining_major": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "checked_at": {
- "type": "string"
- },
- "checks": {
- "items": {
- "properties": {
- "asset_id": {
- "type": "string"
- },
- "asset_type": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "status": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "type": "string"
- },
- "timing": {
- "properties": {
- "account_local_now": {
- "type": [
- "string",
- "null"
- ]
- },
- "hours_left_today": {
- "type": [
- "number",
- "null"
- ]
- },
- "note": {
- "type": "string"
- },
- "schedule_valid": {
- "type": "boolean"
- },
- "timezone_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "utc_offset_hours": {
- "type": "number"
- },
- "windows": {
- "items": {
- "properties": {
- "end_time": {
- "type": [
- "string",
- "null"
- ]
- },
- "hours_remaining": {
- "type": [
- "number",
- "null"
- ]
- },
- "hours_until_start": {
- "type": "number"
- },
- "paused": {
- "type": "boolean"
- },
- "potential_delivery_hours_today": {
- "type": "number"
- },
- "start_time": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "version": {
- "type": "integer"
- },
- "warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "version",
- "checked_at",
- "ad_account_id",
- "status",
- "checks",
- "warnings"
- ],
- "type": "object"
- },
- "publish_start_label": {
- "type": [
- "string",
- "null"
- ]
- },
- "source_ad_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "source_ad_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "source_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "source_level": {
- "type": [
- "string",
- "null"
- ]
- },
- "source_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "statuses": {
- "properties": {
- "ad": {
- "type": [
- "string",
- "null"
- ]
- },
- "adset": {
- "type": [
- "string",
- "null"
- ]
- },
- "campaign": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "structure": {
- "properties": {
- "ads": {
- "type": "integer"
- },
- "adsets": {
- "type": "integer"
- },
- "auxiliary_writes": {
- "type": "integer"
- },
- "campaigns": {
- "type": "integer"
- },
- "creative_keys": {
- "type": "integer"
- },
- "layouts": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "target_ad_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "template_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "warnings": {
- "$ref": "#/$defs/s2"
- }
- },
- "type": "object"
- },
- "tool_name": {
- "type": "string"
- },
- "user_instruction": {
- "type": "string"
- },
- "warnings": {
- "$ref": "#/$defs/s2"
- }
- },
- "required": [
- "status",
- "confirm_token",
- "expires_at",
- "summary"
- ],
- "type": "object"
- },
- "status": {
- "type": "string"
- }
- },
- "required": [
- "approval_request"
- ]
- },
- {
- "properties": {
- "missing_requirements": {
- "items": {
- "properties": {
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "override_path": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "safe_to_retry_with_user_input": {
- "const": true
- },
- "status": {
- "const": "needs_input"
- },
- "user_instruction": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "user_instruction",
- "safe_to_retry_with_user_input"
- ]
- },
- {
- "properties": {
- "account_blocker_code": {
- "type": [
- "string",
- "null"
- ]
- },
- "account_blocker_label": {
- "type": [
- "string",
- "null"
- ]
- },
- "ad_account_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "ad_account_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "automatic_retry_allowed": {
- "type": "boolean"
- },
- "category": {
- "type": [
- "string",
- "null"
- ]
- },
- "code": {
- "type": [
- "string",
- "null"
- ]
- },
- "invalid_fields": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "manual_new_task_allowed": {
- "type": "boolean"
- },
- "narrative": {
- "properties": {
- "details": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "headline": {
- "type": "string"
- },
- "summary": {
- "type": "string"
- },
- "user_instruction": {
- "type": "string"
- },
- "what_happens_next": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "operator_review_required": {
- "type": "boolean"
- },
- "status": {
- "const": "blocked"
- },
- "warnings": {
- "$ref": "#/$defs/s2"
- }
- },
- "required": [
- "status",
- "narrative"
- ]
- }
-]New value: +[
+ {
+ "properties": {
+ "approval_request": {
+ "properties": {
+ "approval_ref": {
+ "type": "string"
+ },
+ "confirm_token": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "mode": {
+ "type": "string"
+ },
+ "plan_digest": {
+ "type": "string"
+ },
+ "schema_version": {
+ "type": "integer"
+ },
+ "status": {
+ "const": "approval_required"
+ },
+ "summary": {
+ "properties": {
+ "account_currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "action": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ad_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ad_count": {
+ "type": "integer"
+ },
+ "ad_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ad_name_after": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ad_name_before": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ad_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "adset_count": {
+ "type": "integer"
+ },
+ "adset_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "adset_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "bid": {
+ "$ref": "#/$defs/s0"
+ },
+ "budget": {
+ "$ref": "#/$defs/s0"
+ },
+ "campaign_count": {
+ "type": "integer"
+ },
+ "campaign_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "change_percent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "copies": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "creative_after": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "creative_before": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cross_account": {
+ "type": "boolean"
+ },
+ "current_daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "engagement_mode": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "entity_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "entity_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "groups": {
+ "items": {
+ "properties": {
+ "adsets": {
+ "items": {
+ "properties": {
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "target_adset_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "bid": {
+ "$ref": "#/$defs/s1"
+ },
+ "budget": {
+ "$ref": "#/$defs/s1"
+ },
+ "campaign_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "layout": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "items": {
+ "items": {
+ "properties": {
+ "ad_account_id": {
+ "type": "string"
+ },
+ "ad_id": {
+ "type": "string"
+ },
+ "campaign_id": {
+ "type": "string"
+ },
+ "current_configured_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "current_daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "new_daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "target_configured_status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "mode": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "new_daily_budget": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "note": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "page_id_after": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "page_id_before": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "preflight": {
+ "properties": {
+ "ad_account_id": {
+ "type": "string"
+ },
+ "billing": {
+ "properties": {
+ "available_funds_major": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "balance_semantics": {
+ "type": "string"
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "low_remaining_spend_cap": {
+ "type": "boolean"
+ },
+ "note": {
+ "type": "string"
+ },
+ "reported_balance_major": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "spend_cap_remaining_major": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "checked_at": {
+ "type": "string"
+ },
+ "checks": {
+ "items": {
+ "properties": {
+ "asset_id": {
+ "type": "string"
+ },
+ "asset_type": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "provider_error_code": {
+ "type": "integer"
+ },
+ "provider_error_subcode": {
+ "type": "integer"
+ },
+ "reason_code": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "type": "string"
+ },
+ "timing": {
+ "properties": {
+ "account_local_now": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "hours_left_today": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "note": {
+ "type": "string"
+ },
+ "schedule_valid": {
+ "type": "boolean"
+ },
+ "timezone_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "utc_offset_hours": {
+ "type": "number"
+ },
+ "windows": {
+ "items": {
+ "properties": {
+ "end_time": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "hours_remaining": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "hours_until_start": {
+ "type": "number"
+ },
+ "paused": {
+ "type": "boolean"
+ },
+ "potential_delivery_hours_today": {
+ "type": "number"
+ },
+ "start_time": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "version",
+ "checked_at",
+ "ad_account_id",
+ "status",
+ "checks",
+ "warnings"
+ ],
+ "type": "object"
+ },
+ "publish_start_label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_ad_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_ad_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_level": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "statuses": {
+ "properties": {
+ "ad": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "adset": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "campaign": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "structure": {
+ "properties": {
+ "ads": {
+ "type": "integer"
+ },
+ "adsets": {
+ "type": "integer"
+ },
+ "auxiliary_writes": {
+ "type": "integer"
+ },
+ "campaigns": {
+ "type": "integer"
+ },
+ "creative_keys": {
+ "type": "integer"
+ },
+ "layouts": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "target_ad_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "template_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "warnings": {
+ "$ref": "#/$defs/s2"
+ }
+ },
+ "type": "object"
+ },
+ "tool_name": {
+ "type": "string"
+ },
+ "user_instruction": {
+ "type": "string"
+ },
+ "warnings": {
+ "$ref": "#/$defs/s2"
+ }
+ },
+ "required": [
+ "status",
+ "confirm_token",
+ "expires_at",
+ "summary"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "approval_request"
+ ]
+ },
+ {
+ "properties": {
+ "missing_requirements": {
+ "items": {
+ "properties": {
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "override_path": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "safe_to_retry_with_user_input": {
+ "const": true
+ },
+ "status": {
+ "const": "needs_input"
+ },
+ "user_instruction": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "user_instruction",
+ "safe_to_retry_with_user_input"
+ ]
+ },
+ {
+ "properties": {
+ "account_blocker_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "account_blocker_label": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ad_account_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ad_account_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "automatic_retry_allowed": {
+ "type": "boolean"
+ },
+ "category": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "invalid_fields": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "manual_new_task_allowed": {
+ "type": "boolean"
+ },
+ "narrative": {
+ "properties": {
+ "details": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "headline": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "user_instruction": {
+ "type": "string"
+ },
+ "what_happens_next": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "operator_review_required": {
+ "type": "boolean"
+ },
+ "status": {
+ "const": "blocked"
+ },
+ "warnings": {
+ "$ref": "#/$defs/s2"
+ }
+ },
+ "required": [
+ "status",
+ "narrative"
+ ]
+ }
+]