at.margin.preferences

margin.at

Schema Diff

+0 -0

From

CID
bafyreibjlbp6lht...
Indexed At
2026-09-06 01:11 UTC
View this version

To

CID
bafyreibjlbp6lht...
Indexed At
2026-09-06 01:11 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "labelPreference": {
5 5
      "properties": {
6 6
        "label": {
7 7
          "description": "The label identifier (e.g. sexual, violence, spam).",
8 8
          "type": "string"
9 9
        },
10 10
        "labelerDid": {
11 11
          "description": "DID of the labeler service.",
12 12
          "type": "string"
13 13
        },
14 14
        "visibility": {
15 15
          "description": "How to handle content with this label: hide, warn, or ignore.",
16 16
          "knownValues": [
17 17
            "hide",
18 18
            "warn",
19 19
            "ignore"
20 20
          ],
21 21
          "type": "string"
22 22
        }
23 23
      },
24 24
      "required": [
25 25
        "labelerDid",
26 26
        "label",
27 27
        "visibility"
28 28
      ],
29 29
      "type": "object"
30 30
    },
31 31
    "labelerSubscription": {
32 32
      "properties": {
33 33
        "did": {
34 34
          "description": "DID of the labeler service.",
35 35
          "type": "string"
36 36
        }
37 37
      },
38 38
      "required": [
39 39
        "did"
40 40
      ],
41 41
      "type": "object"
42 42
    },
43 43
    "main": {
44 44
      "description": "User preferences for the Margin application.",
45 45
      "key": "literal:self",
46 46
      "record": {
47 47
        "properties": {
48 48
          "createdAt": {
49 49
            "format": "datetime",
50 50
            "type": "string"
51 51
          },
52 52
          "disableExternalLinkWarning": {
53 53
            "description": "If true, do not show the confirmation modal when opening external links.",
54 54
            "type": "boolean"
55 55
          },
56 56
          "externalLinkSkippedHostnames": {
57 57
            "description": "List of hostnames to skip the external link warning modal for.",
58 58
            "items": {
59 59
              "maxLength": 255,
60 60
              "type": "string"
61 61
            },
62 62
            "maxLength": 100,
63 63
            "type": "array"
64 64
          },
65 65
          "labelPreferences": {
66 66
            "description": "Per-label visibility preferences for subscribed labelers.",
67 67
            "items": {
68 68
              "ref": "#labelPreference",
69 69
              "type": "ref"
70 70
            },
71 71
            "maxLength": 500,
72 72
            "type": "array"
73 73
          },
74 74
          "subscribedLabelers": {
75 75
            "description": "List of labeler services the user subscribes to for content moderation.",
76 76
            "items": {
77 77
              "ref": "#labelerSubscription",
78 78
              "type": "ref"
79 79
            },
80 80
            "maxLength": 50,
81 81
            "type": "array"
82 82
          }
83 83
        },
84 84
        "required": [
85 85
          "createdAt"
86 86
        ],
87 87
        "type": "object"
88 88
      },
89 89
      "type": "record"
90 90
    }
91 91
  },
92 92
  "id": "at.margin.preferences",
93 93
  "lexicon": 1
94 94
}

Compare Other Versions

Lexicon Garden

@