addedOutput schema / properties
Added value: +{
+ "granularity": {
+ "enum": [
+ "daily",
+ "weekly",
+ "raw"
+ ],
+ "type": "string"
+ },
+ "platform": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "post_id": {
+ "type": "string"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "const": "no_metrics_history",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Present only when series is empty."
+ },
+ "series": {
+ "items": {
+ "additionalProperties": true,
+ "description": "One time-series point. Metric columns (views, like_count,\nfollower_count, ...) are carried as additional properties; `bucket` is\npresent only for 'daily'/'weekly' granularity.",
+ "properties": {
+ "bucket": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Bucket label (ISO date or ISO year-week); absent for granularity='raw'."
+ },
+ "timestamp": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Snapshot time of this point."
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "window_days": {
+ "type": "integer"
+ }
+}