ai.syui.log.post

syui.ai

Schema Diff

+39 -3

From

CID
bafyreierk4uytd5...
Indexed At
2026-01-18 04:58 UTC
View this version

To

CID
bafyreia355eeyh6...
Indexed At
2026-01-28 14:32 UTC
View this version
1 1
{
2 2
  "id": "ai.syui.log.post",
3 3
  "defs": {
4 4
    "main": {
5 5
      "key": "tid",
6 6
      "type": "record",
7 7
      "record": {
8 8
        "type": "object",
9 9
        "required": [
10 10
          "title",
11 11
          "content",
12 12
          "createdAt"
13 13
        ],
14 14
        "properties": {
15 15
          "lang": {
16 16
            "type": "string",
17 -
            "maxLength": 10
17 +
            "maxLength": 10,
18 +
            "description": "Language code of the original content (e.g., 'ja', 'en')."
18 19
          },
19 20
          "title": {
20 21
            "type": "string",
21 22
            "maxLength": 3000,
23 +
            "description": "The title of the post.",
22 24
            "maxGraphemes": 300
23 25
          },
24 26
          "content": {
25 27
            "type": "string",
26 28
            "maxLength": 1000000,
29 +
            "description": "The content of the post (markdown).",
27 30
            "maxGraphemes": 100000
28 31
          },
29 32
          "createdAt": {
30 33
            "type": "string",
31 -
            "format": "datetime"
34 +
            "format": "datetime",
35 +
            "description": "Client-declared timestamp when this post was originally created."
32 36
          },
33 37
          "translations": {
34 -
            "type": "unknown"
38 +
            "ref": "#translationMap",
39 +
            "type": "ref",
40 +
            "description": "Translations of the post in other languages."
35 41
          }
36 42
        }
37 43
      },
38 44
      "description": "Record containing a blog post."
45 +
    },
46 +
    "translation": {
47 +
      "type": "object",
48 +
      "properties": {
49 +
        "title": {
50 +
          "type": "string",
51 +
          "maxLength": 3000,
52 +
          "maxGraphemes": 300
53 +
        },
54 +
        "content": {
55 +
          "type": "string",
56 +
          "maxLength": 1000000,
57 +
          "maxGraphemes": 100000
58 +
        }
59 +
      },
60 +
      "description": "A translation of a post."
61 +
    },
62 +
    "translationMap": {
63 +
      "type": "object",
64 +
      "properties": {
65 +
        "en": {
66 +
          "ref": "#translation",
67 +
          "type": "ref"
68 +
        },
69 +
        "ja": {
70 +
          "ref": "#translation",
71 +
          "type": "ref"
72 +
        }
73 +
      },
74 +
      "description": "Map of language codes to translations."
39 75
    }
40 76
  },
41 77
  "$type": "com.atproto.lexicon.schema",
42 78
  "lexicon": 1
43 79
}

Compare Other Versions

Lexicon Garden

@