{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/influship-com/json-schema/influship-com-live-profile-response-schema.json",
  "title": "LiveProfileResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/influship-com-openapi.json#/components/schemas/LiveProfileResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string"
        },
        "user_id": {
          "type": "string"
        },
        "full_name": {
          "type": "string"
        },
        "biography": {
          "type": "string"
        },
        "follower_count": {
          "type": "number"
        },
        "following_count": {
          "type": "number"
        },
        "media_count": {
          "description": "Total profile media count, or null when unavailable. Zero means an observed empty profile; this is not the number of posts returned.",
          "type": [
            "number",
            "null"
          ]
        },
        "is_verified": {
          "type": "boolean"
        },
        "is_private": {
          "type": "boolean"
        },
        "profile_pic_url": {
          "type": "string",
          "format": "uri"
        },
        "profile_pic_url_hd": {
          "type": "string",
          "format": "uri"
        },
        "external_url": {
          "anyOf": [
            {
              "type": "string",
              "format": "uri"
            },
            {
              "type": "null"
            }
          ]
        },
        "bio_links": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "link_type": {
                "type": "string"
              }
            },
            "required": [
              "title",
              "url"
            ],
            "additionalProperties": false
          }
        },
        "pronouns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "category_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "engagement_rate": {
          "description": "Observed engagement rate, or null without a measurable sample.",
          "type": [
            "number",
            "null"
          ]
        },
        "posts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "shortcode": {
                "type": "string"
              },
              "owner_username": {
                "type": "string"
              },
              "owner_id": {
                "type": "string",
                "pattern": "^[1-9][0-9]{0,255}$"
              },
              "display_url": {
                "type": "string",
                "format": "uri"
              },
              "is_video": {
                "type": "boolean"
              },
              "post_type": {
                "type": "string",
                "enum": [
                  "image",
                  "video",
                  "carousel"
                ]
              },
              "share_count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "save_count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "like_count": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Observed likes, or null when hidden."
              },
              "comment_count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "caption": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "taken_at": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "accessibility_caption": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "video_url": {
                "type": "string",
                "format": "uri"
              },
              "thumbnail_url": {
                "type": "string",
                "format": "uri"
              },
              "view_count": {
                "type": "number"
              },
              "carousel_items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "platform_media_id": {
                      "type": "string",
                      "minLength": 1
                    },
                    "index": {
                      "type": "number"
                    },
                    "display_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "is_video": {
                      "type": "boolean"
                    },
                    "video_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "thumbnail_url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "required": [
                    "index",
                    "display_url",
                    "is_video"
                  ],
                  "additionalProperties": false
                }
              },
              "carousel_manifest": {
                "description": "Observed carousel child positions, identities and media types, including children whose media URLs are unavailable.",
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "index": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 99
                    },
                    "platform_media_id": {
                      "type": "string",
                      "minLength": 1
                    },
                    "is_video": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "index",
                    "is_video"
                  ],
                  "additionalProperties": false
                }
              },
              "carousel_media_count": {
                "description": "Total carousel media count when available. Some children may be absent from carousel_items if unavailable.",
                "type": "integer",
                "minimum": 0,
                "maximum": 100
              },
              "coauthor_usernames": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "is_paid_partnership": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "sponsor_usernames": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "tagged_usernames": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "product_mentions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "product_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "product_name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "merchant_username": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "display_resources": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "src": {
                      "type": "string",
                      "format": "uri"
                    },
                    "config_width": {
                      "type": "number"
                    },
                    "config_height": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "src",
                    "config_width",
                    "config_height"
                  ],
                  "additionalProperties": false
                }
              },
              "video_versions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "type": {
                      "type": "number"
                    },
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "width": {
                      "type": "number"
                    },
                    "height": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "url"
                  ],
                  "additionalProperties": false
                }
              },
              "music_attribution": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "artist_name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "song_name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "audio_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "uses_original_audio": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "should_mute_audio": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "location": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "slug": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "has_public_page": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "lat": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "lng": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "address_json": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": {
                              "x-stainless-any": true
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_pinned": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "engagement_visibility": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "viewer_can_reshare": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "comments_disabled": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "like_and_view_counts_disabled": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "shortcode",
              "display_url",
              "is_video",
              "post_type",
              "like_count",
              "comment_count",
              "caption",
              "taken_at"
            ],
            "additionalProperties": false
          }
        },
        "related_profiles": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "username": {
                "type": "string"
              },
              "full_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "profile_pic_url": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "is_verified": {
                "type": "boolean"
              },
              "is_private": {
                "type": "boolean"
              }
            },
            "required": [
              "username",
              "full_name",
              "profile_pic_url",
              "is_verified",
              "is_private"
            ],
            "additionalProperties": false
          }
        },
        "scraped_at": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
        }
      },
      "required": [
        "username",
        "user_id",
        "full_name",
        "biography",
        "follower_count",
        "following_count",
        "media_count",
        "is_verified",
        "is_private",
        "profile_pic_url",
        "external_url",
        "bio_links",
        "pronouns",
        "category_name",
        "engagement_rate",
        "posts",
        "related_profiles",
        "scraped_at"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false
}