changedOutput schema / else / anyOf
Previous value: -[
- {
- "properties": {
- "apps_count": {
- "type": "integer"
- },
- "available_channel_pids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "available_events_sample": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "connected": {
- "type": "boolean"
- },
- "providers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "safe_mode_reduced": {
- "const": true
- }
- },
- "required": [
- "connected",
- "providers",
- "apps_count",
- "available_channel_pids",
- "available_events_sample",
- "safe_mode_reduced"
- ]
- },
- {
- "properties": {
- "cohort_configs_by_connection": {
- "additionalProperties": {
- "additionalProperties": {
- "properties": {
- "aggregation_type": {
- "type": "string"
- },
- "cohort_type": {
- "type": "string"
- },
- "groupings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "kpis": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "last_used_from": {
- "type": [
- "string",
- "null"
- ]
- },
- "last_used_to": {
- "type": [
- "string",
- "null"
- ]
- },
- "min_cohort_size": {
- "type": "integer"
- },
- "partial_data": {
- "type": "boolean"
- },
- "period_filters": {
- "items": {
- "type": "integer"
- },
- "type": "array"
- },
- "preferred_currency": {
- "type": "boolean"
- },
- "preferred_timezone": {
- "type": "boolean"
- },
- "provider": {
- "type": "string"
- },
- "provider_app_id": {
- "type": "string"
- },
- "selected_channel_pids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "type": "object"
- },
- "type": "object"
- },
- "connections": {
- "items": {
- "properties": {
- "created_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "display_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "last_synced_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "provider": {
- "type": "string"
- },
- "status": {
- "type": [
- "string",
- "null"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "degraded": {
- "type": "boolean"
- },
- "degraded_reasons": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "metadata_by_connection": {
- "additionalProperties": {
- "items": {
- "properties": {
- "app_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "channel_pid": {
- "type": [
- "string",
- "null"
- ]
- },
- "event_mappings": {
- "items": {
- "properties": {
- "event_name": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "mapped_events": {
- "items": {
- "properties": {
- "event_name": {
- "type": "string"
- },
- "send_revenue": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "provider": {
- "type": "string"
- },
- "provider_app_id": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "type": "object"
- }
- },
- "required": [
- "connections",
- "metadata_by_connection",
- "cohort_configs_by_connection"
- ]
- }
-]New value: +[
+ {
+ "properties": {
+ "apps_count": {
+ "type": "integer"
+ },
+ "available_channel_pids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "available_events_sample": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "connected": {
+ "type": "boolean"
+ },
+ "degraded": {
+ "description": "Secondary stored configuration reads were unavailable.",
+ "type": "boolean"
+ },
+ "degraded_reasons": {
+ "description": "Allowlisted public missing-data reasons only.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "providers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "safe_mode_reduced": {
+ "const": true
+ }
+ },
+ "required": [
+ "connected",
+ "providers",
+ "apps_count",
+ "available_channel_pids",
+ "available_events_sample",
+ "safe_mode_reduced"
+ ]
+ },
+ {
+ "properties": {
+ "cohort_configs_by_connection": {
+ "additionalProperties": {
+ "additionalProperties": {
+ "properties": {
+ "aggregation_type": {
+ "type": "string"
+ },
+ "cohort_type": {
+ "type": "string"
+ },
+ "groupings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "kpis": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "last_used_from": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "last_used_to": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "min_cohort_size": {
+ "type": "integer"
+ },
+ "partial_data": {
+ "type": "boolean"
+ },
+ "period_filters": {
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "preferred_currency": {
+ "type": "boolean"
+ },
+ "preferred_timezone": {
+ "type": "boolean"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "provider_app_id": {
+ "type": "string"
+ },
+ "selected_channel_pids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "connections": {
+ "items": {
+ "properties": {
+ "created_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "display_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "last_synced_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "provider": {
+ "type": "string"
+ },
+ "status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "degraded": {
+ "type": "boolean"
+ },
+ "degraded_reasons": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "metadata_by_connection": {
+ "additionalProperties": {
+ "items": {
+ "properties": {
+ "app_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "channel_pid": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "event_mappings": {
+ "items": {
+ "properties": {
+ "event_name": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "mapped_events": {
+ "items": {
+ "properties": {
+ "event_name": {
+ "type": "string"
+ },
+ "send_revenue": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "provider_app_id": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "connections",
+ "metadata_by_connection",
+ "cohort_configs_by_connection"
+ ]
+ }
+]