Neynar · Schema

OembedVideoData

Video OEmbed data

FarcasterSocialDecentralizedWeb3BlockchainSocial GraphCastsChannelsFeedsReactionsNotificationsWebhooksOnchain

Properties

Name Type Description
author_name string The name of the author/owner of the resource.
author_url string A URL for the author/owner of the resource.
cache_age string The suggested cache lifetime for this resource, in seconds. Consumers may choose to use this value or not.
height number The height in pixels required to display the HTML.
html string The HTML required to embed a video player. The HTML should have no padding or margins. Consumers may wish to load the HTML in an off-domain iframe to avoid XSS vulnerabilities.
provider_name string The name of the resource provider.
provider_url string The url of the resource provider.
thumbnail_height number The height of the optional thumbnail. If this parameter is present, thumbnail_url and thumbnail_width must also be present.
thumbnail_url string A URL to a thumbnail image representing the resource. The thumbnail must respect any maxwidth and maxheight parameters. If this parameter is present, thumbnail_width and thumbnail_height must also be
thumbnail_width number The width of the optional thumbnail. If this parameter is present, thumbnail_url and thumbnail_height must also be present.
title string A text title, describing the resource.
type string
version string
width number The width in pixels required to display the HTML.
View JSON Schema on GitHub

JSON Schema

oembedvideodata.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://neynar.com/schemas/OembedVideoData",
  "title": "OembedVideoData",
  "description": "Video OEmbed data",
  "properties": {
    "author_name": {
      "description": "The name of the author/owner of the resource.",
      "nullable": true,
      "type": "string"
    },
    "author_url": {
      "description": "A URL for the author/owner of the resource.",
      "nullable": true,
      "type": "string"
    },
    "cache_age": {
      "description": "The suggested cache lifetime for this resource, in seconds. Consumers may choose to use this value or not.",
      "nullable": true,
      "type": "string"
    },
    "height": {
      "description": "The height in pixels required to display the HTML.",
      "nullable": true,
      "type": "number"
    },
    "html": {
      "description": "The HTML required to embed a video player. The HTML should have no padding or margins. Consumers may wish to load the HTML in an off-domain iframe to avoid XSS vulnerabilities.",
      "nullable": true,
      "type": "string"
    },
    "provider_name": {
      "description": "The name of the resource provider.",
      "nullable": true,
      "type": "string"
    },
    "provider_url": {
      "description": "The url of the resource provider.",
      "nullable": true,
      "type": "string"
    },
    "thumbnail_height": {
      "description": "The height of the optional thumbnail. If this parameter is present, thumbnail_url and thumbnail_width must also be present.",
      "nullable": true,
      "type": "number"
    },
    "thumbnail_url": {
      "description": "A URL to a thumbnail image representing the resource. The thumbnail must respect any maxwidth and maxheight parameters. If this parameter is present, thumbnail_width and thumbnail_height must also be present.",
      "nullable": true,
      "type": "string"
    },
    "thumbnail_width": {
      "description": "The width of the optional thumbnail. If this parameter is present, thumbnail_url and thumbnail_height must also be present.",
      "nullable": true,
      "type": "number"
    },
    "title": {
      "description": "A text title, describing the resource.",
      "nullable": true,
      "type": "string"
    },
    "type": {
      "enum": [
        "video"
      ],
      "type": "string"
    },
    "version": {
      "nullable": true,
      "type": "string"
    },
    "width": {
      "description": "The width in pixels required to display the HTML.",
      "nullable": true,
      "type": "number"
    }
  },
  "required": [
    "type",
    "version",
    "html"
  ],
  "type": "object"
}