{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A link post. Share something from elsewhere.",
      "key": "tid",
      "record": {
        "properties": {
          "blueskyPostUri": {
            "description": "AT URI of the cross-posted Bluesky post.",
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when the post was created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Page description (often from og:description).",
            "maxLength": 1000,
            "type": "string"
          },
          "facets": {
            "description": "Rich text annotations for the commentary.",
            "items": {
              "ref": "place.pollen.richtext.facet#main",
              "type": "ref"
            },
            "type": "array"
          },
          "siteName": {
            "description": "Site name from og:site_name.",
            "maxLength": 200,
            "type": "string"
          },
          "tags": {
            "description": "Hashtags for discovery.",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "text": {
            "description": "Optional commentary.",
            "maxLength": 500,
            "type": "string"
          },
          "thumbnail": {
            "accept": [
              "image/jpeg",
              "image/png",
              "image/webp"
            ],
            "description": "Uploaded thumbnail image for the link card.",
            "maxSize": 1000000,
            "type": "blob"
          },
          "thumbnailUrl": {
            "description": "External image URL from Open Graph metadata.",
            "format": "uri",
            "type": "string"
          },
          "title": {
            "description": "Page title (often from og:title).",
            "maxLength": 300,
            "type": "string"
          },
          "url": {
            "description": "The shared URL.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "url",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.pollen.post.link",
  "lexicon": 1
}
