{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "External reference to a Figma plugin. Captures the canonical plugin identifier alongside human-friendly metadata and links.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Short description of the plugin.",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "docs": {
            "description": "URL of the plugin's documentation.",
            "format": "uri",
            "type": "string"
          },
          "github": {
            "description": "URL of the plugin's GitHub repository.",
            "format": "uri",
            "type": "string"
          },
          "href": {
            "description": "Primary external URL for the plugin (e.g. Figma Community page).",
            "format": "uri",
            "type": "string"
          },
          "id": {
            "description": "Canonical Figma plugin identifier (the numeric id from the Figma Community plugin URL).",
            "maxGraphemes": 214,
            "maxLength": 1000,
            "type": "string"
          },
          "name": {
            "description": "Display name of the plugin as shown in user interfaces.",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "name",
          "id"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.atview.external.figmaplugin",
  "lexicon": 1
}
