site.standard.publication

standard.site

Schema Diff

+7 -1

From

CID
bafyreigrsjktb6o...
Indexed At
2026-03-03 01:30 UTC
View this version

To

CID
bafyreiapvnarfn3...
Indexed At
2026-04-19 21:11 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 6 non-breaking changes.

Non-Breaking Changes (6)
  • AddedVertex AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }
  • AddedVertex AddedVertex { vertex_id: "site.standard.publication:body.labels" }
  • AddedVertex AddedVertex { vertex_id: "site.standard.publication:body.labels:variant0" }
  • AddedEdge AddedEdge { src: "site.standard.publication:body", tgt: "site.standard.publication:body.labels", kind: "prop", name: Some("labels") }
  • AddedEdge AddedEdge { src: "site.standard.publication:body.labels", tgt: "site.standard.publication:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
  • AddedEdge AddedEdge { src: "site.standard.publication:body.labels:variant0", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }
  • AddedVertex { vertex_id: "site.standard.publication:body.labels" }
  • AddedVertex { vertex_id: "site.standard.publication:body.labels:variant0" }

Additional Notes

  • Non-breaking: AddedEdge { src: "site.standard.publication:body", tgt: "site.standard.publication:body.labels", kind: "prop", name: Some("labels") }
  • Non-breaking: AddedEdge { src: "site.standard.publication:body.labels", tgt: "site.standard.publication:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
  • Non-breaking: AddedEdge { src: "site.standard.publication:body.labels:variant0", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "A publication record representing a blog, website, or content platform. Publications serve as containers for documents and define the overall branding and settings.",
6 6
      "key": "tid",
7 7
      "record": {
8 8
        "properties": {
9 9
          "basicTheme": {
10 10
            "description": "Simplified publication theme for tools and apps to utilize when displaying content.",
11 11
            "ref": "site.standard.theme.basic",
12 12
            "type": "ref"
13 13
          },
14 14
          "description": {
15 15
            "description": "Brief description of the publication.",
16 16
            "maxGraphemes": 3000,
17 17
            "maxLength": 30000,
18 18
            "type": "string"
19 19
          },
20 20
          "icon": {
21 21
            "accept": [
22 22
              "image/*"
23 23
            ],
24 24
            "description": "Square image to identify the publication. Should be at least 256x256.",
25 25
            "maxSize": 1000000,
26 26
            "type": "blob"
27 27
          },
28 +
          "labels": {
29 +
            "description": "Self-label values for this publication. Effectively content warnings.",
30 +
            "refs": [
31 +
              "com.atproto.label.defs#selfLabels"
32 +
            ],
33 +
            "type": "union"
34 +
          },
28 35
          "name": {
29 36
            "description": "Name of the publication.",
30 37
            "maxGraphemes": 500,
31 38
            "maxLength": 5000,
32 39
            "type": "string"
33 40
          },
34 41
          "preferences": {
35 42
            "description": "Object containing platform specific preferences (with a few shared properties).",
36 43
            "ref": "#preferences",
37 44
            "type": "ref"
38 45
          },
39 46
          "url": {
40 47
            "description": "Base publication url (ex: https://standard.site). The canonical document URL is formed by combining this value with the document path.",
41 48
            "format": "uri",
42 49
            "type": "string"
43 50
          }
44 51
        },
45 52
        "required": [
46 53
          "url",
47 54
          "name"
48 55
        ],
49 56
        "type": "object"
50 57
      },
51 58
      "type": "record"
52 59
    },
53 60
    "preferences": {
54 -
      "description": "Platform-specific preferences for the publication, including discovery and visibility settings.",
55 61
      "properties": {
56 62
        "showInDiscover": {
57 63
          "default": true,
58 64
          "description": "Boolean which decides whether the publication should appear in discovery feeds.",
59 65
          "type": "boolean"
60 66
        }
61 67
      },
62 68
      "type": "object"
63 69
    }
64 70
  },
65 71
  "id": "site.standard.publication",
66 72
  "lexicon": 1
67 73
}

Compare Other Versions

Lexicon Garden

@