{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apidirect-io/json-schema/apidirect-io-instagram-user-posts-response-schema.json",
  "title": "InstagramUserPostsResponse",
  "description": "Inferred from a live response. Any field can be null or absent, and new fields may be added at any time.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apidirect-io-instagram-api-openapi.yml#/components/schemas/InstagramUserPostsResponse",
  "type": "object",
  "properties": {
    "count": {
      "type": [
        "number",
        "null"
      ]
    },
    "pages": {
      "type": [
        "number",
        "null"
      ]
    },
    "posts": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "author": {
            "type": [
              "string",
              "null"
            ]
          },
          "author_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "author_verified": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "comments": {
            "type": [
              "number",
              "null"
            ]
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "domain": {
            "type": [
              "string",
              "null"
            ]
          },
          "hashtags": {
            "type": [
              "array",
              "null"
            ],
            "items": {}
          },
          "is_video": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "likes": {
            "type": [
              "number",
              "null"
            ]
          },
          "media_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "mentions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "reposts": {
            "type": [
              "number",
              "null"
            ]
          },
          "shares": {
            "type": [
              "number",
              "null"
            ]
          },
          "snippet": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "views": {},
          "media_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "thumbnail_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "video_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "video_duration": {},
          "width": {
            "type": [
              "number",
              "null"
            ]
          },
          "height": {
            "type": [
              "number",
              "null"
            ]
          },
          "carousel_media_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "is_paid_partnership": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "ai_label": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "label": {},
              "detection_method": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "location": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "city": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "lat": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "lng": {
                "type": [
                  "number",
                  "null"
                ]
              }
            }
          },
          "tagged_users": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "username": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "full_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "user_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "coauthors": {
            "type": [
              "array",
              "null"
            ],
            "items": {}
          },
          "carousel_media": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "media_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "is_video": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "image_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "video_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "width": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "height": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              }
            }
          },
          "audio": {},
          "is_pinned": {
            "type": [
              "boolean",
              "null"
            ]
          }
        }
      }
    }
  }
}