com.getorbyt.community.checkName
Schema Diff
+3 -2
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "com.getorbyt.community.checkName:output.reason", sort: "knownValues", old_value: "[\"taken\",\"invalid\",\"reserved\"]", new_value: "[\"taken\",\"invalid\",\"reserved\",\"recently-released\"]" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "com.getorbyt.community.checkName:output.reason", sort: "knownValues", old_value: "[\"taken\",\"invalid\",\"reserved\"]", new_value: "[\"taken\",\"invalid\",\"reserved\",\"recently-released\"]" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Whether a lowercase Community name is free. Names are globally unique at the AppView, and a record whose name is taken is rejected at projection time rather than at write time, so clients check before writing.",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"available": {
11
11
"type": "boolean"
12
12
},
13
13
"name": {
14
14
"type": "string"
15
15
},
16
16
"reason": {
17
-
"description": "Why the name is unavailable. Absent when available.",
17
+
"description": "Why the name is unavailable. Absent when available. `recently-released` is a name a Community gave up by renaming or being deleted: links shared under it still resolve there, so it is held for a cooldown before anyone else may take it.",
18
18
"knownValues": [
19
19
"taken",
20
20
"invalid",
21
-
"reserved"
21
+
"reserved",
22
+
"recently-released"
22
23
],
23
24
"type": "string"
24
25
}
25
26
},
26
27
"required": [
27
28
"name",
28
29
"available"
29
30
],
30
31
"type": "object"
31
32
}
32
33
},
33
34
"parameters": {
34
35
"properties": {
35
36
"name": {
36
37
"maxLength": 63,
37
38
"minLength": 2,
38
39
"type": "string"
39
40
}
40
41
},
41
42
"required": [
42
43
"name"
43
44
],
44
45
"type": "params"
45
46
},
46
47
"type": "query"
47
48
}
48
49
},
49
50
"id": "com.getorbyt.community.checkName",
50
51
"lexicon": 1
51
52
}