{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openhandle/json-schema/openhandle-twitter-post-schema.json",
  "title": "TwitterPost",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openhandle-twitter-api-openapi.yml#/components/schemas/TwitterPost",
  "additionalProperties": false,
  "properties": {
    "article": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterArticle"
        },
        {
          "type": "null"
        }
      ]
    },
    "author": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterProfileReference"
        },
        {
          "type": "null"
        }
      ]
    },
    "authorId": {
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "card": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterCard"
        },
        {
          "type": "null"
        }
      ]
    },
    "communityNote": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterCommunityNote"
        },
        {
          "type": "null"
        }
      ]
    },
    "conversationId": {
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "format": "date-time",
      "minLength": 1,
      "type": "string"
    },
    "displayTextRange": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterRange"
        },
        {
          "type": "null"
        }
      ]
    },
    "edit": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterEdit"
        },
        {
          "type": "null"
        }
      ]
    },
    "entities": {
      "items": {
        "$ref": "#/$defs/TwitterEntity"
      },
      "type": "array"
    },
    "hasGrokAnalysisButton": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "id": {
      "minLength": 1,
      "type": "string"
    },
    "inReplyToHandle": {
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "inReplyToPostId": {
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "inReplyToUserId": {
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "isPromoted": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "isQuote": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "isRepost": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "isSensitive": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "language": {
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "longText": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterLongText"
        },
        {
          "type": "null"
        }
      ]
    },
    "media": {
      "items": {
        "$ref": "#/$defs/TwitterMedia"
      },
      "type": "array"
    },
    "metrics": {
      "$ref": "#/$defs/TwitterPostMetrics"
    },
    "preview": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterPreview"
        },
        {
          "type": "null"
        }
      ]
    },
    "previousMetrics": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterPreviousMetrics"
        },
        {
          "type": "null"
        }
      ]
    },
    "promotion": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterPromotion"
        },
        {
          "type": "null"
        }
      ]
    },
    "quotedPost": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterPostReference"
        },
        {
          "type": "null"
        }
      ]
    },
    "quotedPostId": {
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "repostedPost": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterPostReference"
        },
        {
          "type": "null"
        }
      ]
    },
    "restrictions": {
      "items": {
        "$ref": "#/$defs/TwitterRestriction"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "text": {
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    },
    "timeline": {
      "anyOf": [
        {
          "$ref": "#/$defs/TwitterTimelinePlacement"
        },
        {
          "type": "null"
        }
      ]
    },
    "url": {
      "format": "uri",
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "id",
    "text",
    "language",
    "isSensitive",
    "isQuote",
    "createdAt",
    "conversationId",
    "authorId",
    "inReplyToPostId",
    "inReplyToUserId",
    "inReplyToHandle",
    "quotedPostId",
    "author",
    "url",
    "metrics",
    "displayTextRange",
    "media",
    "entities",
    "edit",
    "hasGrokAnalysisButton",
    "communityNote",
    "isRepost",
    "repostedPost",
    "quotedPost",
    "preview",
    "longText",
    "article",
    "previousMetrics",
    "card",
    "restrictions",
    "isPromoted",
    "promotion",
    "timeline"
  ],
  "type": "object",
  "$defs": {
    "TwitterAppMetrics": {
      "additionalProperties": false,
      "properties": {
        "rating": {
          "type": [
            "number",
            "null"
          ]
        },
        "ratings": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "rating",
        "ratings"
      ],
      "type": "object"
    },
    "TwitterArticle": {
      "additionalProperties": false,
      "properties": {
        "cover": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterMedia"
            },
            {
              "type": "null"
            }
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "previewText": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "title",
        "previewText",
        "cover"
      ],
      "type": "object"
    },
    "TwitterAspectRatio": {
      "additionalProperties": false,
      "properties": {
        "height": {
          "type": "integer"
        },
        "width": {
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "TwitterBroadcast": {
      "additionalProperties": false,
      "properties": {
        "broadcaster": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterBroadcaster"
            },
            {
              "type": "null"
            }
          ]
        },
        "height": {
          "type": [
            "integer",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "isHighLatency": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "media": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterBroadcastMedia"
            },
            {
              "type": "null"
            }
          ]
        },
        "orientationCode": {
          "type": [
            "integer",
            "null"
          ]
        },
        "replayEditedStartTime": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "scheduledStartAt": {
          "format": "date-time",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "width": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "url",
        "title",
        "source",
        "state",
        "isHighLatency",
        "width",
        "height",
        "orientationCode",
        "scheduledStartAt",
        "media",
        "broadcaster",
        "replayEditedStartTime"
      ],
      "type": "object"
    },
    "TwitterBroadcastMedia": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "key": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "key"
      ],
      "type": "object"
    },
    "TwitterBroadcaster": {
      "additionalProperties": false,
      "properties": {
        "displayName": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "handle": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "handle",
        "displayName"
      ],
      "type": "object"
    },
    "TwitterCard": {
      "additionalProperties": false,
      "properties": {
        "apps": {
          "items": {
            "$ref": "#/$defs/TwitterCardApp"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "broadcast": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterBroadcast"
            },
            {
              "type": "null"
            }
          ]
        },
        "components": {
          "items": {
            "$ref": "#/$defs/TwitterCardComponent"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "description": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "destinations": {
          "items": {
            "$ref": "#/$defs/TwitterCardDestination"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "displayUrl": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "domain": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "event": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterEvent"
            },
            {
              "type": "null"
            }
          ]
        },
        "imageAltText": {
          "items": {
            "$ref": "#/$defs/TwitterImageAltText"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "images": {
          "items": {
            "$ref": "#/$defs/TwitterImage"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "layoutType": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "media": {
          "items": {
            "$ref": "#/$defs/TwitterMedia"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "mediaType": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "poll": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterPoll"
            },
            {
              "type": "null"
            }
          ]
        },
        "profiles": {
          "items": {
            "$ref": "#/$defs/TwitterProfileReference"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "publisherId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "type",
        "url",
        "profiles",
        "title",
        "description",
        "domain",
        "displayUrl",
        "mediaType",
        "broadcast",
        "event",
        "publisherId",
        "images",
        "imageAltText",
        "poll",
        "layoutType",
        "components",
        "destinations",
        "media",
        "apps"
      ],
      "type": "object"
    },
    "TwitterCardApp": {
      "additionalProperties": false,
      "properties": {
        "category": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterCardText"
            },
            {
              "type": "null"
            }
          ]
        },
        "countryCode": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterCardText"
            },
            {
              "type": "null"
            }
          ]
        },
        "groupId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "hasInAppPurchases": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "iconKey": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "isEditorsChoice": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isFree": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "metrics": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterAppMetrics"
            },
            {
              "type": "null"
            }
          ]
        },
        "resolvedUrl": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "sizeBytes": {
          "type": [
            "integer",
            "null"
          ]
        },
        "title": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterCardText"
            },
            {
              "type": "null"
            }
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "groupId",
        "id",
        "type",
        "countryCode",
        "url",
        "resolvedUrl",
        "isEditorsChoice",
        "isFree",
        "iconKey",
        "sizeBytes",
        "hasInAppPurchases",
        "category",
        "title",
        "description",
        "metrics"
      ],
      "type": "object"
    },
    "TwitterCardButton": {
      "additionalProperties": false,
      "properties": {
        "action": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "destinationId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "style": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "action",
        "style",
        "type",
        "destinationId"
      ],
      "type": "object"
    },
    "TwitterCardComponent": {
      "additionalProperties": false,
      "properties": {
        "appGroupId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "buttons": {
          "items": {
            "$ref": "#/$defs/TwitterCardButton"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "destinationId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "media": {
          "items": {
            "$ref": "#/$defs/TwitterCardMediaRef"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "mediaKey": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "subtitle": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterCardText"
            },
            {
              "type": "null"
            }
          ]
        },
        "title": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterCardText"
            },
            {
              "type": "null"
            }
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "type",
        "destinationId",
        "mediaKey",
        "appGroupId",
        "title",
        "subtitle",
        "media",
        "buttons"
      ],
      "type": "object"
    },
    "TwitterCardDestination": {
      "additionalProperties": false,
      "properties": {
        "appGroupId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "displayUrl": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "mediaKey": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "type",
        "mediaKey",
        "appGroupId",
        "url",
        "displayUrl"
      ],
      "type": "object"
    },
    "TwitterCardMediaRef": {
      "additionalProperties": false,
      "properties": {
        "destinationId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "key": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "key",
        "destinationId"
      ],
      "type": "object"
    },
    "TwitterCardText": {
      "additionalProperties": false,
      "properties": {
        "isRightToLeft": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "text": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "text",
        "isRightToLeft"
      ],
      "type": "object"
    },
    "TwitterColor": {
      "additionalProperties": false,
      "properties": {
        "percentage": {
          "type": "number"
        },
        "rgb": {
          "$ref": "#/$defs/TwitterRGB"
        }
      },
      "required": [
        "percentage",
        "rgb"
      ],
      "type": "object"
    },
    "TwitterCommunityNote": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "presentation": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterNotePresentation"
            },
            {
              "type": "null"
            }
          ]
        },
        "preview": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterRichText"
            },
            {
              "type": "null"
            }
          ]
        },
        "shortTitle": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "summary": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterRichText"
            },
            {
              "type": "null"
            }
          ]
        },
        "title": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "url",
        "title",
        "shortTitle",
        "summary",
        "preview",
        "presentation"
      ],
      "type": "object"
    },
    "TwitterEdit": {
      "additionalProperties": false,
      "properties": {
        "editableUntil": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "historyIds": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "initialPostId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "remaining": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "historyIds",
        "editableUntil",
        "remaining",
        "initialPostId"
      ],
      "type": "object"
    },
    "TwitterEntity": {
      "additionalProperties": false,
      "properties": {
        "displayName": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "displayUrl": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "handle": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "mediaId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "range": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterRange"
            },
            {
              "type": "null"
            }
          ]
        },
        "shortUrl": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "text": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "type",
        "range",
        "shortUrl",
        "url",
        "displayUrl",
        "text",
        "handle",
        "id",
        "displayName",
        "mediaId"
      ],
      "type": "object"
    },
    "TwitterEvent": {
      "additionalProperties": false,
      "properties": {
        "category": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "subtitle": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "timelineId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "title",
        "subtitle",
        "category",
        "timelineId"
      ],
      "type": "object"
    },
    "TwitterFormatting": {
      "additionalProperties": false,
      "properties": {
        "range": {
          "$ref": "#/$defs/TwitterRange"
        },
        "types": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "range",
        "types"
      ],
      "type": "object"
    },
    "TwitterImage": {
      "additionalProperties": false,
      "properties": {
        "altText": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "height": {
          "type": [
            "integer",
            "null"
          ]
        },
        "isNft": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "role": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "shape": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "width": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "type",
        "url",
        "role",
        "width",
        "height",
        "altText",
        "shape",
        "isNft"
      ],
      "type": "object"
    },
    "TwitterImageAltText": {
      "additionalProperties": false,
      "properties": {
        "role": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "text": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "role",
        "text"
      ],
      "type": "object"
    },
    "TwitterLabel": {
      "additionalProperties": false,
      "properties": {
        "description": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterRichText"
            },
            {
              "type": "null"
            }
          ]
        },
        "icon": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterImage"
            },
            {
              "type": "null"
            }
          ]
        },
        "text": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "type",
        "text",
        "icon",
        "url",
        "description"
      ],
      "type": "object"
    },
    "TwitterLongText": {
      "additionalProperties": false,
      "properties": {
        "formatting": {
          "items": {
            "$ref": "#/$defs/TwitterFormatting"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "inlineMedia": {
          "items": {},
          "type": [
            "array",
            "null"
          ]
        },
        "isExpandable": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "timestamps": {
          "items": {},
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "isExpandable",
        "inlineMedia",
        "formatting",
        "timestamps"
      ],
      "type": "object"
    },
    "TwitterMedia": {
      "additionalProperties": false,
      "properties": {
        "altText": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "aspectRatio": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterAspectRatio"
            },
            {
              "type": "null"
            }
          ]
        },
        "availability": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterMediaAvailability"
            },
            {
              "type": "null"
            }
          ]
        },
        "duration": {
          "type": [
            "number",
            "null"
          ]
        },
        "features": {
          "items": {
            "$ref": "#/$defs/TwitterMediaFeature"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "focusRegions": {
          "items": {
            "$ref": "#/$defs/TwitterRectangle"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "height": {
          "type": [
            "integer",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "isAnimated": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isMonetizable": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "key": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "palette": {
          "items": {
            "$ref": "#/$defs/TwitterColor"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "restrictions": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterMediaRestrictions"
            },
            {
              "type": "null"
            }
          ]
        },
        "sizes": {
          "items": {
            "$ref": "#/$defs/TwitterMediaSize"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "source": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterMediaSource"
            },
            {
              "type": "null"
            }
          ]
        },
        "thumbnail": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterImage"
            },
            {
              "type": "null"
            }
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "variants": {
          "items": {
            "$ref": "#/$defs/TwitterMediaVariant"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "width": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "type",
        "key",
        "altText",
        "isAnimated",
        "source",
        "width",
        "height",
        "focusRegions",
        "features",
        "sizes",
        "duration",
        "aspectRatio",
        "variants",
        "url",
        "thumbnail",
        "availability",
        "restrictions",
        "isMonetizable",
        "palette"
      ],
      "type": "object"
    },
    "TwitterMediaAvailability": {
      "additionalProperties": false,
      "properties": {
        "status": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "status"
      ],
      "type": "object"
    },
    "TwitterMediaFeature": {
      "additionalProperties": false,
      "properties": {
        "faceRegions": {
          "items": {
            "$ref": "#/$defs/TwitterRectangle"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "size": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "taggedProfiles": {
          "items": {
            "$ref": "#/$defs/TwitterProfileReference"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "size",
        "faceRegions",
        "taggedProfiles"
      ],
      "type": "object"
    },
    "TwitterMediaRestrictions": {
      "additionalProperties": false,
      "properties": {
        "isDmca": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "isDmca"
      ],
      "type": "object"
    },
    "TwitterMediaSize": {
      "additionalProperties": false,
      "properties": {
        "height": {
          "type": [
            "integer",
            "null"
          ]
        },
        "name": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "resizeMode": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "width": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "name",
        "width",
        "height",
        "resizeMode"
      ],
      "type": "object"
    },
    "TwitterMediaSource": {
      "additionalProperties": false,
      "properties": {
        "authorId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "postId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "postId",
        "authorId"
      ],
      "type": "object"
    },
    "TwitterMediaVariant": {
      "additionalProperties": false,
      "properties": {
        "bitrate": {
          "type": [
            "integer",
            "null"
          ]
        },
        "contentType": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "url",
        "bitrate",
        "contentType"
      ],
      "type": "object"
    },
    "TwitterNotePresentation": {
      "additionalProperties": false,
      "properties": {
        "iconType": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "style": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "iconType",
        "style"
      ],
      "type": "object"
    },
    "TwitterPlace": {
      "additionalProperties": false,
      "properties": {
        "country": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "countryCode": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "fullName": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "fullName",
        "type",
        "country",
        "countryCode"
      ],
      "type": "object"
    },
    "TwitterPoll": {
      "additionalProperties": false,
      "properties": {
        "choices": {
          "items": {
            "$ref": "#/$defs/TwitterPollChoice"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "countsAreFinal": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "duration": {
          "type": [
            "integer",
            "null"
          ]
        },
        "endsAt": {
          "format": "date-time",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "metrics": {
          "additionalProperties": false,
          "properties": {
            "choices": {
              "type": "integer"
            }
          },
          "required": [
            "choices"
          ],
          "type": "object"
        },
        "updatedAt": {
          "format": "date-time",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "metrics",
        "choices",
        "endsAt",
        "updatedAt",
        "countsAreFinal",
        "duration"
      ],
      "type": "object"
    },
    "TwitterPollChoice": {
      "additionalProperties": false,
      "properties": {
        "images": {
          "items": {
            "$ref": "#/$defs/TwitterImage"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "label": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "metrics": {
          "additionalProperties": false,
          "properties": {
            "votes": {
              "type": "integer"
            }
          },
          "required": [
            "votes"
          ],
          "type": [
            "object",
            "null"
          ]
        },
        "position": {
          "type": "integer"
        }
      },
      "required": [
        "position",
        "label",
        "metrics",
        "images"
      ],
      "type": "object"
    },
    "TwitterPostMetrics": {
      "additionalProperties": false,
      "properties": {
        "comments": {
          "type": [
            "integer",
            "null"
          ]
        },
        "likes": {
          "type": [
            "integer",
            "null"
          ]
        },
        "quotes": {
          "type": [
            "integer",
            "null"
          ]
        },
        "reposts": {
          "type": [
            "integer",
            "null"
          ]
        },
        "saves": {
          "type": [
            "integer",
            "null"
          ]
        },
        "views": {
          "type": [
            "integer",
            "null"
          ]
        },
        "viewsState": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "likes",
        "comments",
        "reposts",
        "quotes",
        "saves",
        "views",
        "viewsState"
      ],
      "type": "object"
    },
    "TwitterPostReference": {
      "additionalProperties": false,
      "properties": {
        "article": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterArticle"
            },
            {
              "type": "null"
            }
          ]
        },
        "author": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterProfileReference"
            },
            {
              "type": "null"
            }
          ]
        },
        "authorId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "card": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterCard"
            },
            {
              "type": "null"
            }
          ]
        },
        "communityNote": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterCommunityNote"
            },
            {
              "type": "null"
            }
          ]
        },
        "conversationId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "createdAt": {
          "format": "date-time",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "displayTextRange": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterRange"
            },
            {
              "type": "null"
            }
          ]
        },
        "edit": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterEdit"
            },
            {
              "type": "null"
            }
          ]
        },
        "entities": {
          "items": {
            "$ref": "#/$defs/TwitterEntity"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "hasGrokAnalysisButton": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "inReplyToHandle": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "inReplyToPostId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "inReplyToUserId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "isPromoted": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isQuote": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isRepost": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isSensitive": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "language": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "longText": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterLongText"
            },
            {
              "type": "null"
            }
          ]
        },
        "media": {
          "items": {
            "$ref": "#/$defs/TwitterMedia"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "metrics": {
          "$ref": "#/$defs/TwitterPostMetrics"
        },
        "preview": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterPreview"
            },
            {
              "type": "null"
            }
          ]
        },
        "previousMetrics": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterPreviousMetrics"
            },
            {
              "type": "null"
            }
          ]
        },
        "promotion": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterPromotion"
            },
            {
              "type": "null"
            }
          ]
        },
        "quotedPost": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterPostReference"
            },
            {
              "type": "null"
            }
          ]
        },
        "quotedPostId": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "repostedPost": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterPostReference"
            },
            {
              "type": "null"
            }
          ]
        },
        "restrictions": {
          "items": {
            "$ref": "#/$defs/TwitterRestriction"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "text": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "timeline": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterTimelinePlacement"
            },
            {
              "type": "null"
            }
          ]
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "text",
        "language",
        "isSensitive",
        "isQuote",
        "createdAt",
        "conversationId",
        "authorId",
        "inReplyToPostId",
        "inReplyToUserId",
        "inReplyToHandle",
        "quotedPostId",
        "author",
        "url",
        "metrics",
        "displayTextRange",
        "media",
        "entities",
        "edit",
        "hasGrokAnalysisButton",
        "communityNote",
        "isRepost",
        "repostedPost",
        "quotedPost",
        "preview",
        "longText",
        "article",
        "previousMetrics",
        "card",
        "restrictions",
        "isPromoted",
        "promotion",
        "timeline"
      ],
      "type": "object"
    },
    "TwitterPreview": {
      "additionalProperties": false,
      "properties": {
        "displayTextRange": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterRange"
            },
            {
              "type": "null"
            }
          ]
        },
        "entities": {
          "items": {
            "$ref": "#/$defs/TwitterEntity"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "text": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "text",
        "entities",
        "displayTextRange"
      ],
      "type": "object"
    },
    "TwitterPreviousMetrics": {
      "additionalProperties": false,
      "properties": {
        "comments": {
          "type": [
            "integer",
            "null"
          ]
        },
        "likes": {
          "type": [
            "integer",
            "null"
          ]
        },
        "quotes": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "likes",
        "quotes",
        "comments"
      ],
      "type": "object"
    },
    "TwitterProfessional": {
      "additionalProperties": false,
      "properties": {
        "categories": {
          "items": {
            "$ref": "#/$defs/TwitterProfessionalCategory"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "type",
        "categories"
      ],
      "type": "object"
    },
    "TwitterProfessionalCategory": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object"
    },
    "TwitterProfileEntities": {
      "additionalProperties": false,
      "properties": {
        "bio": {
          "items": {
            "$ref": "#/$defs/TwitterEntity"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "externalUrl": {
          "items": {
            "$ref": "#/$defs/TwitterEntity"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "bio",
        "externalUrl"
      ],
      "type": "object"
    },
    "TwitterProfileLocation": {
      "additionalProperties": false,
      "properties": {
        "place": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterPlace"
            },
            {
              "type": "null"
            }
          ]
        },
        "text": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "text",
        "place"
      ],
      "type": "object"
    },
    "TwitterProfileMetrics": {
      "additionalProperties": false,
      "properties": {
        "affiliates": {
          "type": [
            "integer",
            "null"
          ]
        },
        "creatorSubscriptions": {
          "type": [
            "integer",
            "null"
          ]
        },
        "followers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "following": {
          "type": [
            "integer",
            "null"
          ]
        },
        "likedPosts": {
          "type": [
            "integer",
            "null"
          ]
        },
        "mediaPosts": {
          "type": [
            "integer",
            "null"
          ]
        },
        "posts": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "followers",
        "following",
        "posts",
        "likedPosts",
        "mediaPosts",
        "creatorSubscriptions",
        "affiliates"
      ],
      "type": "object"
    },
    "TwitterProfileReference": {
      "additionalProperties": false,
      "properties": {
        "avatar": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterImage"
            },
            {
              "type": "null"
            }
          ]
        },
        "banner": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterImage"
            },
            {
              "type": "null"
            }
          ]
        },
        "bio": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "createdAt": {
          "format": "date-time",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "displayName": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "entities": {
          "$ref": "#/$defs/TwitterProfileEntities"
        },
        "externalUrl": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "handle": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "hasCustomTimelines": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "id": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "isLifelineInstitution": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isPrivate": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isSuspended": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "isVerified": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "labels": {
          "items": {
            "$ref": "#/$defs/TwitterLabel"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "location": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterProfileLocation"
            },
            {
              "type": "null"
            }
          ]
        },
        "metrics": {
          "$ref": "#/$defs/TwitterProfileMetrics"
        },
        "pinnedPostIds": {
          "items": {
            "minLength": 1,
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "professional": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterProfessional"
            },
            {
              "type": "null"
            }
          ]
        },
        "subscriptions": {
          "$ref": "#/$defs/TwitterSubscriptions"
        },
        "url": {
          "format": "uri",
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "verification": {
          "$ref": "#/$defs/TwitterVerification"
        },
        "visibility": {
          "$ref": "#/$defs/TwitterVisibility"
        },
        "withheld": {
          "$ref": "#/$defs/TwitterWithheld"
        }
      },
      "required": [
        "id",
        "handle",
        "displayName",
        "bio",
        "url",
        "externalUrl",
        "createdAt",
        "location",
        "avatar",
        "banner",
        "isPrivate",
        "isSuspended",
        "isVerified",
        "hasCustomTimelines",
        "isLifelineInstitution",
        "metrics",
        "verification",
        "pinnedPostIds",
        "entities",
        "withheld",
        "subscriptions",
        "visibility",
        "professional",
        "labels"
      ],
      "type": "object"
    },
    "TwitterPromotion": {
      "additionalProperties": false,
      "properties": {
        "advertiser": {
          "anyOf": [
            {
              "$ref": "#/$defs/TwitterProfileReference"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "advertiser"
      ],
      "type": "object"
    },
    "TwitterRGB": {
      "additionalProperties": false,
      "properties": {
        "blue": {
          "type": "integer"
        },
        "green": {
          "type": "integer"
        },
        "red": {
          "type": "integer"
        }
      },
      "required": [
        "red",
        "green",
        "blue"
      ],
      "type": "object"
    },
    "TwitterRange": {
      "additionalProperties": false,
      "properties": {
        "end": {
          "type": "integer"
        },
        "start": {
          "type": "integer"
        }
      },
      "required": [
        "start",
        "end"
      ],
      "type": "object"
    },
    "TwitterRectangle": {
      "additionalProperties": false,
      "properties": {
        "height": {
          "type": [
            "integer",
            "null"
          ]
        },
        "width": {
          "type": [
            "integer",
            "null"
          ]
        },
        "x": {
          "type": [
            "integer",
            "null"
          ]
        },
        "y": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "x",
        "y",
        "width",
        "height"
      ],
      "type": "object"
    },
    "TwitterRestriction": {
      "additionalProperties": false,
      "properties": {
        "action": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "message": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "action",
        "message"
      ],
      "type": "object"
    },
    "TwitterRichText": {
      "additionalProperties": false,
      "properties": {
        "entities": {
          "items": {
            "$ref": "#/$defs/TwitterEntity"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "text": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "text",
        "entities"
      ],
      "type": "object"
    },
    "TwitterSubscriptions": {
      "additionalProperties": false,
      "properties": {
        "isEligible": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "isEligible"
      ],
      "type": "object"
    },
    "TwitterTimelinePlacement": {
      "additionalProperties": false,
      "properties": {
        "conversationSection": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "displayType": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "moduleDisplayType": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "position": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "position",
        "conversationSection",
        "moduleDisplayType",
        "displayType"
      ],
      "type": "object"
    },
    "TwitterVerification": {
      "additionalProperties": false,
      "properties": {
        "isBlueVerified": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "legacyVerified": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "type": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "legacyVerified",
        "type",
        "isBlueVerified"
      ],
      "type": "object"
    },
    "TwitterVisibility": {
      "additionalProperties": false,
      "properties": {
        "hasHiddenLikesOnProfile": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "hasHiddenSubscriptionsOnProfile": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "hasHiddenLikesOnProfile",
        "hasHiddenSubscriptionsOnProfile"
      ],
      "type": "object"
    },
    "TwitterWithheld": {
      "additionalProperties": false,
      "properties": {
        "copyright": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "description": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        },
        "scope": {
          "minLength": 1,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "copyright",
        "description",
        "scope"
      ],
      "type": "object"
    }
  }
}