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