at.locale.translation
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"record": {
7
7
"properties": {
8
8
"createdAt": {
9
9
"format": "datetime",
10
10
"type": "string"
11
11
},
12
12
"key": {
13
13
"description": "Stable source key/id from the source file.",
14
14
"maxLength": 4096,
15
15
"minLength": 1,
16
16
"type": "string"
17
17
},
18
18
"locale": {
19
19
"description": "BCP-47 target locale.",
20
20
"maxLength": 35,
21
21
"minLength": 2,
22
22
"type": "string"
23
23
},
24
24
"message": {
25
25
"description": "Optional note from the translator.",
26
26
"maxGraphemes": 1000,
27
27
"maxLength": 2000,
28
28
"type": "string"
29
29
},
30
30
"parentRevision": {
31
31
"description": "Previous revision by this author (the history chain).",
32
32
"format": "at-uri",
33
33
"type": "string"
34
34
},
35
35
"project": {
36
36
"description": "AT-URI of the at.locale.project this targets.",
37
37
"format": "at-uri",
38
38
"type": "string"
39
39
},
40
40
"sourceHash": {
41
41
"description": "Hash of the source string this was translated against; lets the appview flag staleness.",
42
42
"maxLength": 128,
43
43
"minLength": 1,
44
44
"type": "string"
45
45
},
46
46
"value": {
47
47
"description": "Inline translation (ICU-aware). For small values; capped well under the record-size ceiling. Empty when valueBlob is set.",
48
48
"maxLength": 10240,
49
49
"type": "string"
50
50
},
51
51
"valueBlob": {
52
52
"accept": [
53
53
"text/*",
54
54
"application/json",
55
55
"application/octet-stream"
56
56
],
57
57
"description": "Blob ref for large values, used instead of value.",
58
58
"maxSize": 1000000,
59
59
"type": "blob"
60
60
}
61
61
},
62
62
"required": [
63
63
"project",
64
64
"locale",
65
65
"key",
66
66
"sourceHash",
67
67
"createdAt"
68
68
],
69
69
"type": "object"
70
70
},
71
71
"type": "record"
72
72
}
73
73
},
74
-
"description": "One contributor's translation of one source key in one locale. Translator-owned — this is the portability primitive. Revisions chain via parentRevision. Exactly one of value / valueBlob is set.",
74
+
"description": "A translation of one source key in one locale. Translator-owned.",
75
75
"id": "at.locale.translation",
76
76
"lexicon": 1
77
77
}