{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rizamo-com/json-schema/rizamo-com-analytics-overview-schema.json",
  "title": "AnalyticsOverview",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rizamo-com-openapi.json#/components/schemas/AnalyticsOverview",
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "format": "date",
      "description": "The period's first day, in `timeZone`."
    },
    "to": {
      "type": "string",
      "format": "date",
      "description": "Its last day: yesterday, the last complete day in `timeZone`, unless `to` was given."
    },
    "timeZone": {
      "type": "string",
      "description": "The time zone the days are in."
    },
    "attribution": {
      "enum": [
        "received",
        "publish"
      ],
      "type": "string",
      "description": "received (the default): what arrived in the period, on posts of any age, on the day it arrived. publish: the posts published in the period, with their numbers so far, on the day each went out."
    },
    "previous": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "format": "date"
        },
        "to": {
          "type": "string",
          "format": "date"
        }
      },
      "required": [
        "from",
        "to"
      ],
      "description": "The period compared against: as many days, right before."
    },
    "kpis": {
      "type": "object",
      "properties": {
        "views": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "previous": {
              "type": "number",
              "description": "The same number for the period before. Missing when Rizamo does not have all of it, and `notes` says why: an account connected after it began (what its posts gathered before then is on no day), an account's own days starting later, or posts not known that far back."
            }
          },
          "description": "The main number. received: each account's own views of the period's days, as its network counts them on its own screen (Business Suite, TikTok Studio, YouTube Studio): every post, reel, story or video of any age. An account's days are its network's own (Meta's and YouTube's run on Pacific time, TikTok's on UTC), matched to the period's days by date whatever `timeZone` is. An account whose days give no views (not collected yet, or a network that gives none) counts what its posts gained instead, by the day it arrived; with `fields`, only the posts' views count. A day not in yet (Meta's are read from 10:00 UTC, TikTok's come 2 days late, YouTube's 3) adds nothing, and as many days at the end of the period before are left out of `previous`, so like is compared with like. publish: the views so far of the posts published in it (the period before had longer to gather them). Instagram and Facebook stopped counting impressions in 2025, and views (which count replays) are never impressions."
        },
        "reach": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "previous": {
              "type": "number",
              "description": "The same number for the period before. Missing when Rizamo does not have all of it, and `notes` says why: an account connected after it began (what its posts gathered before then is on no day), an account's own days starting later, or posts not known that far back."
            }
          },
          "description": "People reached, per post and per network: one person who saw two posts counts twice. received: what the period added to the posts, by the day it arrived; publish: so far, on the posts published in it. The accounts' own reach is `accountMetrics.reach`."
        },
        "engagements": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "previous": {
              "type": "number",
              "description": "The same number for the period before. Missing when Rizamo does not have all of it, and `notes` says why: an account connected after it began (what its posts gathered before then is on no day), an account's own days starting later, or posts not known that far back."
            }
          },
          "description": "Interactions with the posts, as each network counts them: Instagram, its own total (total_interactions); Facebook, its likes, comments and shares added up (stories: their own total, story_interaction); TikTok, its likes, comments, shares and saves added up; Threads, its likes, comments, reposts, quotes and shares added up; LinkedIn, its likes, comments, reposts, shares and saves added up; YouTube, none. received: those that arrived in the period; publish: those so far on the posts published in it."
        },
        "engagementRate": {
          "type": "object",
          "properties": {
            "value": {
              "type": "number"
            },
            "previous": {
              "type": "number",
              "description": "The same number for the period before. Missing when Rizamo does not have all of it, and `notes` says why: an account connected after it began (what its posts gathered before then is on no day), an account's own days starting later, or posts not known that far back."
            }
          },
          "description": "Engagements per 100 people reached, to two decimals, of the posts published in the period, with their numbers so far, as each post's own rate is reckoned, in both attributions: over the posts whose reach is above 0, on every network alike. Posts with no reach, such as Threads posts, YouTube videos and Facebook reels Meta gave no viewers for, are left out rather than measured against their views, which count replays, and so is a post whose engagements or reach the network hides. Missing when no post of the period has reach; `previous` is the posts published in the period before, with their numbers so far, so they had longer to gather them. It is not capped at 100: engagements can outnumber the people reached."
        },
        "posts": {
          "type": "object",
          "properties": {
            "value": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "previous": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Missing when Rizamo's post history does not reach back that far: it reads each account's posts back 12 months from its connection."
            }
          },
          "required": [
            "value"
          ],
          "description": "Posts published in the period, made in Rizamo or anywhere else."
        },
        "followers": {
          "type": "object",
          "properties": {
            "value": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Followers on the period's last day, every account added up."
            },
            "change": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Followers gained in the period, net of those lost."
            },
            "previous": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "The change in the period before."
            }
          },
          "description": "From each account's own days. Missing, with a note, where they were not collected."
        }
      },
      "required": [
        "views",
        "reach",
        "engagements",
        "engagementRate",
        "posts",
        "followers"
      ]
    },
    "accountMetrics": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/Kpi"
      },
      "description": "The accounts' own numbers, added up over the period's days: views, engagements, follows, unfollows, profile_actions (taps on a profile's buttons) and more, as each network gives them, such as Facebook's profile_visits and video_views, Threads' views (its posts' views, which Meta's reference calls profile views), reposts, quotes and clicks (on links the profile shared), or YouTube's watch_time (in milliseconds, as every watch time) and follows and unfollows (subscribers gained and lost), 2 to 3 days late. Views and reach come split too, each part as the network gives it, so the parts need not add up to the whole: by followers (views_followers and views_non_followers on Instagram, Facebook Pages and YouTube, where they are subscribers or not; reach_followers and reach_non_followers on Instagram), by format (views_feed, views_carousel, views_reel and views_story on Instagram; views_short, views_video and views_live on YouTube) and by ads (views_paid on Instagram and Facebook Pages, views_organic on Facebook Pages). Only metrics in each network's reference are read. reach (people who saw the accounts' content: Instagram, Facebook Pages, and TikTok accounts with advanced access) and accounts_engaged (Instagram, and TikTok with advanced access) are each day's people added up, so someone reached on two days counts twice; missing where no account gives them. A day not collected adds nothing, and `notes` says so."
    },
    "series": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date",
            "description": "The day. With `interval` week or month, the first day the point covers."
          },
          "to": {
            "type": "string",
            "format": "date",
            "description": "With `interval` week or month: the last day the point covers, so a point is its week or month cut to the period. Missing by day, where a point covers `date` alone."
          },
          "views": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "received: the accounts' own views that day (posts' gains for an account whose days give none). publish: the views so far of the posts published that day."
          },
          "engagements": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "received: engagements that arrived that day. publish: those so far on the posts published that day."
          },
          "followers": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Followers at the end of the network's day of that date (Meta's and YouTube's run on Pacific time, TikTok's on UTC), every account added up. Missing on a day an account was not collected. YouTube's are its subscribers as Rizamo read them that day (YouTube rounds them), never worked out for days before. A week's or month's: on its last day, as `kpis.followers.value` counts them, each account's latest count up to 7 days before when that day was not collected."
          },
          "accountReach": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "People who saw the accounts' content on the network's day of that date, each account's count added up: Instagram, Facebook Pages, and TikTok accounts with advanced access. Missing on a day none of them gives it."
          },
          "accountsEngaged": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Accounts that interacted with the accounts' content on the network's day of that date, added up: Instagram, and TikTok accounts with advanced access. Missing on a day none gives it."
          },
          "byNetwork": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "network": {
                  "$ref": "#/$defs/Network"
                },
                "views": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991,
                  "description": "That network's part of the day's `views`."
                },
                "engagements": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991,
                  "description": "That network's part of the day's `engagements`."
                }
              },
              "required": [
                "network"
              ]
            },
            "description": "The day's views and engagements by network, which add up to `views` and `engagements`: every network in reach that gives them, 0 on a day with none, and a network's views missing on a day not in yet. Missing when the day has neither. Each network counts views its own way, so compare a network with itself. TikTok's days come 2 days late and YouTube's 3: their last days fill in later."
          }
        },
        "required": [
          "date"
        ]
      },
      "description": "Every day of the period, or with `interval` week or month every ISO week or calendar month, cut to the period. received: each account's own views of that day; each change between two of Rizamo's reads of a post (engagements, and views where an account's days give none) on the day it arrived, from the day its account was connected, a late network's first numbers (TikTok's, YouTube's) on the day the post went out, even a day before the period (left out of it then, and `notes` says so). publish: each post's numbers so far go on the day it was published. A week's or month's point is the period's totals over its days, as `kpis` and `byNetwork` count them: what arrived over them, a change over several of them included (by day it is in `combined`), followers on its last day, and the accounts' reach and accounts engaged added up. A number none of its days has is missing, never 0."
    },
    "combined": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "format": "date"
          },
          "to": {
            "type": "string",
            "format": "date"
          },
          "views": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Views that arrived over these days."
          },
          "engagements": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Engagements that arrived over these days."
          }
        },
        "required": [
          "from",
          "to"
        ]
      },
      "description": "received only (empty with publish): changes of posts Rizamo cannot place on one day (with `interval` week or month, in one week or month), never split, such as a stretch it could not read an account, or a post read every 30 days (YouTube every 28) after its first 90: engagements, and views only of accounts whose own days give none. In the totals and `byNetwork`, not in `series`. One that began before the period is left out, and what a post gathered before its account was connected is on no day."
    },
    "byNetwork": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "network": {
            "$ref": "#/$defs/Network"
          },
          "views": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Views, as in `kpis`."
          },
          "engagements": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Engagements, as in `kpis`."
          },
          "posts": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Posts published in the period."
          },
          "followers": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Followers on the period's last day."
          },
          "accountReach": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Its accounts' own reach, each day's added up over the period: someone reached on two days counts twice. Missing where its accounts give none (Threads, YouTube, TikTok without advanced access)."
          },
          "accountsEngaged": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Its accounts engaged, each day's added up over the period. Instagram, and TikTok with advanced access; missing elsewhere."
          }
        },
        "required": [
          "network",
          "posts"
        ]
      }
    },
    "topPosts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PostResult"
      },
      "description": "Up to 10 posts published in the period and still on their network, by their views so far; then posts whose network gives no views, by engagements. Every post of the period: `List how each post did`."
    },
    "notes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AnalyticsNote"
      },
      "description": "Why a number is missing or partial, such as a Facebook Page read without insights, or an account that needs a new login."
    }
  },
  "required": [
    "from",
    "to",
    "timeZone",
    "attribution",
    "previous",
    "kpis",
    "accountMetrics",
    "series",
    "combined",
    "byNetwork",
    "topPosts",
    "notes"
  ],
  "$defs": {
    "AnalyticsNote": {
      "type": "object",
      "properties": {
        "accountId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "The account it is about. Null when it is about every account."
        },
        "metric": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "The number it is about, such as views or followers. Null when it is about all of them."
        },
        "reason": {
          "type": "string"
        }
      },
      "required": [
        "accountId",
        "metric",
        "reason"
      ]
    },
    "AudienceBreakdowns": {
      "type": "object",
      "properties": {
        "age": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudienceShare"
          }
        },
        "gender": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudienceShare"
          }
        },
        "country": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudienceShare"
          },
          "description": "The top 45, as the network gives them (LinkedIn its top 100)."
        },
        "city": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudienceShare"
          },
          "description": "The top 45, as the network gives them; on LinkedIn, its market areas, its top 100."
        },
        "industry": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudienceShare"
          },
          "description": "LinkedIn only: a Page's followers by industry, its top 100."
        },
        "jobFunction": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudienceShare"
          },
          "description": "LinkedIn only: a Page's followers by job function."
        },
        "seniority": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudienceShare"
          },
          "description": "LinkedIn only: a Page's followers by seniority."
        },
        "companySize": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AudienceShare"
          },
          "description": "LinkedIn only: a Page's followers by the size of the company they work at."
        }
      },
      "required": [
        "age",
        "gender",
        "country",
        "city"
      ]
    },
    "AudienceShare": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "The group: an age range (25-34), a gender (female, male, unknown), a country code (PT), a city (Lisbon, Lisbon District) or, on LinkedIn, a market area (Greater Lisbon), an industry, a job function, a seniority or a company size (2-10 employees), as LinkedIn names them."
        },
        "count": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991,
          "description": "People in the group; views where the network counts views (YouTube's countries, a Facebook reel's viewers). 0 where the network gives only a share (`percent`)."
        },
        "percent": {
          "type": "number",
          "description": "The group's share in percent, where the network gives shares and no counts: YouTube's viewers by age and gender, of the views of signed-in viewers."
        }
      },
      "required": [
        "value",
        "count"
      ]
    },
    "DetailsAt": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string",
        "format": "date-time"
      },
      "description": "When each of `details` was read, by its key. A read that does not bring a detail (TikTok stops giving them after a week with no views) leaves its last value and time, so a detail read before `metricsAt` is from an earlier read than the numbers. Null when `details` is."
    },
    "Kpi": {
      "type": "object",
      "properties": {
        "value": {
          "type": "number"
        },
        "previous": {
          "type": "number",
          "description": "The same number for the period before. Missing when Rizamo does not have all of it, and `notes` says why: an account connected after it began (what its posts gathered before then is on no day), an account's own days starting later, or posts not known that far back."
        }
      }
    },
    "Network": {
      "enum": [
        "instagram",
        "facebook",
        "threads",
        "linkedin",
        "tiktok",
        "youtube",
        "x",
        "pinterest",
        "google"
      ],
      "type": "string"
    },
    "PostDetails": {
      "type": "object",
      "properties": {
        "skip_rate": {
          "type": "number",
          "description": "The share of views skipped in the first 3 seconds, in percent. From Instagram reels."
        },
        "completion_rate": {
          "type": "number",
          "description": "The share of viewers who watched the whole video, in percent. From TikTok videos."
        },
        "avg_view_percentage": {
          "type": "number",
          "description": "How much of the video a view watched on average, in percent. From YouTube posts."
        },
        "traffic_sources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "description": "Where the views came from: `for_you`, `following`, `profile`, `search`, `sound`, `hashtag`, `direct_message`, `other`, or the network's own name in lower case with underscores."
              },
              "percent": {
                "type": "number",
                "description": "Its share of the views, in percent, where the network gives shares."
              },
              "views": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991,
                "description": "Its views, where the network gives counts. Never worked out from a share, or a share from them."
              }
            },
            "required": [
              "source"
            ]
          },
          "description": "Where its views came from, as the network gives it: each source's share of the views in percent (`percent`), or its views (`views`), never one worked out from the other. From TikTok posts and YouTube posts. Largest first."
        },
        "viewer_types": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "enum": [
                  "new",
                  "returning",
                  "followers",
                  "non_followers"
                ],
                "type": "string",
                "description": "new and returning viewers make one split, followers and non_followers another: each adds up to the whole on its own."
              },
              "percent": {
                "type": "number",
                "description": "Its share of the views, in percent, where the network gives shares."
              },
              "views": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991,
                "description": "Its views, where the network gives counts. Never worked out from a share, or a share from them."
              }
            },
            "required": [
              "type"
            ]
          },
          "description": "New and returning viewers, followers and non-followers: each type's share of the viewers in percent (`percent`), or its views (`views`), as the network gives it. From TikTok posts."
        },
        "retention": {
          "type": "object",
          "properties": {
            "unit": {
              "enum": [
                "second",
                "fraction"
              ],
              "type": "string",
              "description": "second: `at` is seconds into the video. fraction: `at` is the share of its length, from 0 to 1."
            },
            "points": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "at": {
                    "type": "number"
                  },
                  "percent": {
                    "type": "number",
                    "description": "Viewers still watching, in percent of those who started."
                  }
                },
                "required": [
                  "at",
                  "percent"
                ]
              },
              "description": "In order of `at`, at most 100: a longer curve (TikTok's, one a second) is picked down to that many of the network's own points, evenly along it, the first and last kept."
            }
          },
          "required": [
            "unit",
            "points"
          ],
          "description": "How many viewers were still watching at each point of the video, in percent of those who started: by the second (`unit` second) or by the share of the video's length from 0 to 1 (`unit` fraction; YouTube's first point is at 0.01, its last at 1, Facebook's first at 0, where the reel starts). From Facebook reels, TikTok videos and YouTube posts."
        },
        "viewer_demographics": {
          "$ref": "#/$defs/AudienceBreakdowns",
          "description": "Who watched it, by age, gender, country and city: the groups the network gives, largest first, each as a share in percent (`percent`, its `count` 0) or as views (`count`), as the network gives it, never one worked out from the other. From Facebook reels and TikTok posts. A part the network does not give is empty (TikTok gives no ages per video, Facebook no cities)."
        }
      },
      "description": "What the network says about the post that is not a count: rates in percent, where its views came from, who watched and for how long. The latest read only, with no history (`metrics` has the counts and the timeline their days); each part is the last one a read brought, read when `detailsAt` says. Null until a read brings one, and on networks that give none."
    },
    "PostFormat": {
      "enum": [
        "feed",
        "carousel",
        "reel",
        "story",
        "video",
        "short",
        "photo",
        "document",
        "pin"
      ],
      "type": "string",
      "description": "What a target publishes: feed, carousel, reel, story, video, short, photo, document or pin."
    },
    "PostResult": {
      "type": "object",
      "properties": {
        "networkPostId": {
          "type": "string",
          "description": "The post on its network, as `Get a post on a network` returns it."
        },
        "postId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "The Rizamo post it went out as. Null when it was made elsewhere."
        },
        "accountId": {
          "type": "string"
        },
        "network": {
          "$ref": "#/$defs/Network"
        },
        "format": {
          "$ref": "#/$defs/PostFormat"
        },
        "caption": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "thumbnailUrl": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "A small copy of its picture on Rizamo's media host: the link works for a few hours."
        },
        "publishedAt": {
          "type": "string",
          "format": "date-time"
        },
        "deletedAt": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "description": "When Rizamo found it gone from the network: its numbers are the last read, and it keeps no caption or picture."
        },
        "metricsAt": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "description": "When its numbers were read. Null until the first read, an hour after it went out."
        },
        "views": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991,
          "description": "Its views so far."
        },
        "reach": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991,
          "description": "People it reached so far."
        },
        "engagements": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991,
          "description": "Its engagements so far."
        },
        "engagementRate": {
          "type": "number",
          "description": "Engagements per 100 people reached, to two decimals. Missing where the post has no reach, such as a Threads post, a YouTube video or a Facebook reel Meta gave no viewers for, or its reach is 0. It is not capped at 100: a post with more engagements than people reached, as when one person likes, comments and shares, rates above it."
        },
        "metrics": {
          "anyOf": [
            {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            {
              "type": "null"
            }
          ],
          "description": "Every number of its latest read, by the names a network post's `metrics` uses: views, reach and engagements again, and the likes, comments, shares, saves, follows, profile_visits, watch times (watch_time and avg_watch_time, in milliseconds) or a story's replies and taps its network gives. A null value is one the network hides. Null until the first read."
        },
        "masked": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Its numbers the network hides because they are small (Meta: under 5): they count as nothing."
        },
        "metricsUnavailable": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Why it has no numbers and will get none, as `Get a post on a network` says it: a Facebook story that ended before Rizamo read it, or a post deleted with no numbers kept. Null otherwise."
        },
        "details": {
          "anyOf": [
            {
              "$ref": "#/$defs/PostDetails"
            },
            {
              "type": "null"
            }
          ]
        },
        "detailsAt": {
          "anyOf": [
            {
              "$ref": "#/$defs/DetailsAt"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "networkPostId",
        "postId",
        "accountId",
        "network",
        "format",
        "caption",
        "url",
        "thumbnailUrl",
        "publishedAt",
        "deletedAt",
        "metricsAt",
        "metrics",
        "masked",
        "metricsUnavailable"
      ]
    }
  }
}