Sorsa · Schema

TweetEntity

JSON Schema for Sorsa common.TweetEntity extracted from the OpenAPI v3 spec.

TwitterXSocial MediaData ExtractionReal-Time

Properties

Name Type Description
link string Direct URL of the entity.
preview string Preview or thumbnail URL for the entity.
type string Entity type (e.g. `photo`, `video`, `url`).
View JSON Schema on GitHub

JSON Schema

sorsa-tweet-entity-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/sorsa/json-schema/sorsa-tweet-entity-schema.json",
  "title": "TweetEntity",
  "description": "JSON Schema for Sorsa common.TweetEntity extracted from the OpenAPI v3 spec.",
  "properties": {
    "link": {
      "description": "Direct URL of the entity.",
      "example": "https://t.co/example",
      "type": "string"
    },
    "preview": {
      "description": "Preview or thumbnail URL for the entity.",
      "example": "https://pbs.twimg.com/preview",
      "type": "string"
    },
    "type": {
      "description": "Entity type (e.g. `photo`, `video`, `url`).",
      "example": "photo",
      "type": "string"
    }
  },
  "type": "object"
}