{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/konbiniapi/main/json-schema/konbiniapi-instagram-attachment-schema.json",
  "title": "InstagramAttachment",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "ActivityStreams object type",
      "example": "Video"
    },
    "url": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "description": "Media download URLs",
      "example": [
        "https://scontent.cdninstagram.com/v/t50.2886-16/video.mp4"
      ]
    },
    "mediaType": {
      "type": "string",
      "description": "MIME type",
      "example": "video/mp4"
    },
    "width": {
      "type": "integer",
      "description": "Width in pixels",
      "example": 576
    },
    "height": {
      "type": "integer",
      "description": "Height in pixels",
      "example": 1024
    }
  },
  "required": [
    "type",
    "url"
  ],
  "description": "Media file attachment"
}