social.tophhie.profile

tophhie.cloud

Schema Diff

+5 -1

From

CID
bafyreiajeyu56u3...
Indexed At
2026-01-09 00:27 UTC
View this version

To

CID
bafyreifhij2bifx...
Indexed At
2026-01-20 00:52 UTC
View this version
1 1
{
2 2
  "id": "social.tophhie.profile",
3 3
  "defs": {
4 4
    "main": {
5 5
      "key": "literal:self",
6 6
      "type": "record",
7 7
      "record": {
8 8
        "type": "object",
9 9
        "required": [
10 10
          "createdAt",
11 +
          "pdsPreferences",
11 12
          "communicationPreferences"
12 13
        ],
13 14
        "properties": {
14 15
          "createdAt": {
15 16
            "type": "string",
16 17
            "format": "datetime",
17 18
            "description": "ISO 8601 timestamp when this profile record was created."
18 19
          },
19 20
          "updatedAt": {
20 21
            "type": "string",
21 22
            "format": "datetime",
22 23
            "description": "ISO 8601 timestamp when this profile record was updated."
23 24
          },
24 25
          "pdsPreferences": {
25 26
            "ref": "#pdsPreferences",
26 27
            "type": "ref",
27 28
            "description": "User's opt-in/out preferences for PDS features."
28 29
          },
29 30
          "communicationPreferences": {
30 31
            "ref": "#communicationPreferences",
31 32
            "type": "ref",
32 33
            "description": "User's opt-in/out preferences for communications."
33 34
          }
34 35
        },
35 36
        "description": "Tophhie profile record"
36 37
      }
37 38
    },
38 39
    "pdsPreferences": {
39 40
      "type": "object",
40 -
      "required": [],
41 +
      "required": [
42 +
        "showOnHomepage",
43 +
        "accessibilityScoring"
44 +
      ],
41 45
      "properties": {
42 46
        "showOnHomepage": {
43 47
          "type": "boolean",
44 48
          "description": "True if the user is shown on the Tophhie Social homepage."
45 49
        },
46 50
        "accessibilityScoring": {
47 51
          "type": "boolean",
48 52
          "description": "True if the user participates in accessibility scoring."
49 53
        }
50 54
      },
51 55
      "description": "Granular PDS preference consent flags."
52 56
    },
53 57
    "communicationPreferences": {
54 58
      "type": "object",
55 59
      "required": [
56 60
        "marketing"
57 61
      ],
58 62
      "properties": {
59 63
        "marketing": {
60 64
          "type": "boolean",
61 65
          "description": "True if the user consents to receive marketing communications."
62 66
        }
63 67
      },
64 68
      "description": "Granular communication consent flags."
65 69
    }
66 70
  },
67 71
  "$type": "com.atproto.lexicon.schema",
68 72
  "lexicon": 1,
69 73
  "revision": 0,
70 74
  "description": "Tophhie Social: profile record containing various PDS specific settings."
71 75
}

Compare Other Versions

Lexicon Garden

@