at.locale.project
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "at.locale.project",
3
3
"defs": {
4
4
"main": {
5
5
"key": "any",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"name",
11
11
"slug",
12
12
"sourceLocale",
13
13
"source",
14
14
"createdAt"
15
15
],
16
16
"properties": {
17
17
"name": {
18
18
"type": "string",
19
19
"maxLength": 1000,
20
20
"minLength": 1,
21
21
"description": "Display name.",
22
22
"maxGraphemes": 200
23
23
},
24
24
"slug": {
25
25
"type": "string",
26
26
"maxLength": 128,
27
27
"minLength": 1,
28
28
"description": "Stable, URL-safe slug used to address the project."
29
29
},
30
30
"source": {
31
31
"ref": "#source",
32
32
"type": "ref"
33
33
},
34
34
"createdAt": {
35
35
"type": "string",
36
36
"format": "datetime"
37
37
},
38
38
"description": {
39
39
"type": "string",
40
40
"maxLength": 6000,
41
41
"maxGraphemes": 2000
42
42
},
43
43
"permissions": {
44
44
"ref": "#permissions",
45
45
"type": "ref",
46
46
"description": "Default access policy for the project."
47
47
},
48
48
"sourceLocale": {
49
49
"type": "string",
50
50
"maxLength": 35,
51
51
"minLength": 2,
52
52
"description": "BCP-47 language tag of the source strings, e.g. \"en-US\"."
53
53
},
54
54
"targetLocales": {
55
55
"type": "array",
56
56
"items": {
57
57
"type": "string",
58
58
"maxLength": 35,
59
59
"minLength": 2
60
60
},
61
61
"maxLength": 1000,
62
62
"description": "BCP-47 tags the project is translated into."
63
63
}
64
64
}
65
65
}
66
66
},
67
67
"source": {
68
68
"type": "object",
69
69
"required": [
70
70
"type",
71
71
"url",
72
72
"format"
73
73
],
74
74
"properties": {
75
75
"url": {
76
76
"type": "string",
77
77
"format": "uri",
78
78
"maxLength": 2048
79
79
},
80
80
"type": {
81
81
"type": "string",
82
82
"default": "git",
83
83
"knownValues": [
84
84
"git"
85
85
]
86
86
},
87
87
"paths": {
88
88
"type": "array",
89
89
"items": {
90
90
"type": "string",
91
91
"maxLength": 1024
92
92
},
93
93
"maxLength": 100,
94
94
"description": "Glob(s) matching the translation files inside the repo."
95
95
},
96
96
"branch": {
97
97
"type": "string",
98
98
"default": "main",
99
99
"maxLength": 255
100
100
},
101
101
"format": {
102
102
"type": "string",
103
103
"knownValues": [
104
104
"json",
105
105
"yaml",
106
106
"po",
107
107
"xliff",
108
108
"arb",
109
109
"strings",
110
110
"properties",
111
111
"androidxml",
112
112
"csv",
113
113
"ini"
114
114
]
115
115
}
116
116
},
117
117
"description": "Where the source strings live and how to read them — the content host (the \"knot\")."
118
118
},
119
119
"permissions": {
120
120
"type": "object",
121
121
"properties": {
122
122
"policy": {
123
123
"type": "string",
124
124
"default": "closed",
125
125
"description": "Who can contribute translations.",
126
126
"knownValues": [
127
127
"closed",
128
128
"open"
129
129
]
130
130
},
131
131
"defaultRole": {
132
132
"type": "string",
133
133
"default": "translator",
134
134
"description": "Role assigned to authenticated users in open projects.",
135
135
"knownValues": [
136
136
"viewer",
137
137
"translator",
138
138
"reviewer"
139
139
]
140
140
}
141
141
},
142
142
"description": "Default access policy for the project."
143
143
}
144
144
},
145
145
"$type": "com.atproto.lexicon.schema",
146
146
"lexicon": 1,
147
-
"description": "A localization project container. Maintainer-owned. Points at the source content (a git repo); it does NOT contain the strings themselves."
147
+
"description": "A localization project pointing at a source repo. Maintainer-owned."
148
148
}