Giphy · Schema

GIPHY GIF

Standard GIPHY GIF object returned by most endpoints.

PhotographyMediaGIFsStickersEmojiVideoMessagingSocialMeta

Properties

Name Type Description
type string
id string
slug string
url string
bitly_gif_url string
bitly_url string
embed_url string
username string
source string
rating string
content_url string
source_tld string
source_post_url string
import_datetime string
trending_datetime string
create_datetime string
update_datetime string
title string
alt_text string
is_low_contrast boolean
analytics_response_payload string
user object
images object
analytics object
View JSON Schema on GitHub

JSON Schema

giphy-gif-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/giphy/json-schema/giphy-gif-schema.json",
  "title": "GIPHY GIF",
  "type": "object",
  "description": "Standard GIPHY GIF object returned by most endpoints.",
  "properties": {
    "type": { "type": "string", "enum": ["gif", "sticker", "emoji"] },
    "id": { "type": "string" },
    "slug": { "type": "string" },
    "url": { "type": "string", "format": "uri" },
    "bitly_gif_url": { "type": "string", "format": "uri" },
    "bitly_url": { "type": "string", "format": "uri" },
    "embed_url": { "type": "string", "format": "uri" },
    "username": { "type": "string" },
    "source": { "type": "string" },
    "rating": { "type": "string", "enum": ["g", "pg", "pg-13", "r", "y"] },
    "content_url": { "type": "string" },
    "source_tld": { "type": "string" },
    "source_post_url": { "type": "string", "format": "uri" },
    "import_datetime": { "type": "string", "format": "date-time" },
    "trending_datetime": { "type": "string", "format": "date-time" },
    "create_datetime": { "type": "string", "format": "date-time" },
    "update_datetime": { "type": "string", "format": "date-time" },
    "title": { "type": "string" },
    "alt_text": { "type": "string" },
    "is_low_contrast": { "type": "boolean" },
    "analytics_response_payload": { "type": "string" },
    "user": { "$ref": "giphy-user-schema.json" },
    "images": { "$ref": "giphy-images-schema.json" },
    "analytics": { "$ref": "giphy-analytics-schema.json" }
  },
  "required": ["type", "id", "url"]
}