{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A linked account record containing external account information",
      "record": {
        "properties": {
          "icon": {
            "description": "Icon identifier or URL for the linked account",
            "type": "string"
          },
          "link": {
            "description": "URL to the linked account",
            "format": "uri",
            "type": "string"
          },
          "name": {
            "description": "Display name of the linked account",
            "type": "string"
          },
          "order": {
            "description": "Sort order for displaying linked accounts (lower numbers appear first). Defaults to 999 if not specified.",
            "type": "integer"
          }
        },
        "required": [
          "icon",
          "name",
          "link"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "io.whiteside.linkedAccount",
  "lexicon": 1
}
