changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "coverage": {
- "additionalProperties": false,
- "properties": {
- "baseline_ready": {
- "type": "boolean"
- },
- "eligible_sites": {
- "type": "integer"
- },
- "indexed_sites": {
- "type": "integer"
- },
- "partial_sites": {
- "type": "integer"
- },
- "pending_files": {
- "type": "integer"
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "eligible_sites",
- "indexed_sites",
- "partial_sites",
- "pending_files",
- "baseline_ready",
- "updated_at"
- ],
- "type": "object"
- },
- "filters": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "type": [
- "string",
- "null"
- ]
- },
- "country": {
- "type": [
- "string",
- "null"
- ]
- },
- "sectionMatch": {
- "enum": [
- "all",
- "any"
- ]
- },
- "sections": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "sections",
- "sectionMatch"
- ],
- "type": "object"
- },
- "page": {
- "type": "integer"
- },
- "per_page": {
- "type": "integer"
- },
- "results": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "change_7d": {
- "type": "integer"
- },
- "emerged_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "first_seen": {
- "type": "string"
- },
- "key": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "sites": {
- "type": "integer"
- },
- "total_sites": {
- "type": "integer"
- },
- "trend_evidence": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "publisher_groups": {
- "type": "integer"
- }
- },
- "required": [
- "publisher_groups"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "key",
- "label",
- "sites",
- "total_sites",
- "first_seen",
- "emerged_at",
- "change_7d",
- "trend_evidence"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "total": {
- "type": "integer"
- },
- "trend_policy": {
- "type": "string"
- }
- },
- "required": [
- "total",
- "page",
- "per_page",
- "results",
- "trend_policy",
- "filters",
- "coverage"
- ],
- "type": "object"
- },
- {
- "additionalProperties": true,
- "properties": {
- "detail": {
- "type": "string"
- },
- "domain": {
- "type": "string"
- },
- "error": {
- "type": "string"
- },
- "hint": {
- "type": "string"
- },
- "retry_after_seconds": {
- "type": "integer"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "coverage": {
+ "additionalProperties": false,
+ "properties": {
+ "baseline_ready": {
+ "type": "boolean"
+ },
+ "eligible_sites": {
+ "type": "integer"
+ },
+ "indexed_sites": {
+ "type": "integer"
+ },
+ "partial_sites": {
+ "type": "integer"
+ },
+ "pending_files": {
+ "type": "integer"
+ },
+ "statistics_stale": {
+ "type": "boolean"
+ },
+ "statistics_updated_at": {
+ "type": "string"
+ },
+ "updated_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "eligible_sites",
+ "indexed_sites",
+ "partial_sites",
+ "pending_files",
+ "baseline_ready",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "filters": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sectionMatch": {
+ "enum": [
+ "all",
+ "any"
+ ]
+ },
+ "sections": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "sections",
+ "sectionMatch"
+ ],
+ "type": "object"
+ },
+ "page": {
+ "type": "integer"
+ },
+ "per_page": {
+ "type": "integer"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "change_7d": {
+ "type": "integer"
+ },
+ "emerged_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "first_seen": {
+ "type": "string"
+ },
+ "key": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "sites": {
+ "type": "integer"
+ },
+ "total_sites": {
+ "type": "integer"
+ },
+ "trend_evidence": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "publisher_groups": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "publisher_groups"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "key",
+ "label",
+ "sites",
+ "total_sites",
+ "first_seen",
+ "emerged_at",
+ "change_7d",
+ "trend_evidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total": {
+ "type": "integer"
+ },
+ "trend_policy": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "total",
+ "page",
+ "per_page",
+ "results",
+ "trend_policy",
+ "filters",
+ "coverage"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": true,
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "domain": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "hint": {
+ "type": "string"
+ },
+ "retry_after_seconds": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]