{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Metadata for a named highlight shown on a user profile.",
      "key": "tid",
      "record": {
        "properties": {
          "coverUri": {
            "description": "Optional AT-URI of a post whose media is used as cover. Falls back to first item in the linked collection.",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "maxLength": 64,
            "type": "string"
          },
          "order": {
            "description": "Position in the highlight bar (ascending).",
            "type": "integer"
          }
        },
        "required": [
          "name",
          "order",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.pinkleap.highlights",
  "lexicon": 1
}
