ai.newnal.illi.device.link
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
-
"description": "The caller enters the device's onboarding code and becomes the root admin: creates the home and the family sphere on the caller's PDN with parent 1 and the caller as first members (D-27).",
5
+
"description": "The caller enters the device's onboarding code and becomes the root admin: creates the home and the family sphere on the caller's PDN with parent 1 and the caller as first members.",
6
6
"errors": [
7
7
{
8
8
"name": "InvalidOnboardingCode"
9
9
},
10
10
{
11
11
"name": "CodeExpired"
12
12
},
13
13
{
14
14
"name": "DeviceAlreadyLinked"
15
15
},
16
16
{
17
17
"name": "ScopeMissing"
18
18
},
19
19
{
20
20
"name": "PdsUnavailable"
21
21
},
22
22
{
23
23
"name": "RateLimitExceeded"
24
24
}
25
25
],
26
26
"input": {
27
27
"encoding": "application/json",
28
28
"schema": {
29
29
"properties": {
30
30
"code": {
31
31
"maxLength": 16,
32
32
"type": "string"
33
33
},
34
34
"displayName": {
35
35
"description": "The root admin's name as the family and the device see it (e.g. 김은수). Required by the family app; optional on the wire for compatibility.",
36
36
"maxLength": 64,
37
37
"type": "string"
38
38
},
39
39
"homeId": {
40
40
"format": "tid",
41
41
"type": "string"
42
42
},
43
43
"homeName": {
44
44
"maxLength": 64,
45
45
"type": "string"
46
46
},
47
47
"parentHonorific": {
48
48
"description": "How the family calls parent 1 (e.g. 할머니, 어머니); written to the parentSlot record. Required by the family app.",
49
49
"maxLength": 32,
50
50
"type": "string"
51
51
},
52
52
"parentName": {
53
53
"description": "Parent 1's name as the family and the device show it (e.g. 이순자); written to the parentSlot record. Required by the family app.",
54
54
"maxLength": 64,
55
55
"type": "string"
56
56
},
57
57
"relationship": {
58
58
"description": "The root admin's relationship to the parents (e.g. 큰아들).",
59
59
"maxLength": 32,
60
60
"type": "string"
61
61
}
62
62
},
63
63
"required": [
64
64
"code",
65
65
"homeName"
66
66
],
67
67
"type": "object"
68
68
}
69
69
},
70
70
"output": {
71
71
"encoding": "application/json",
72
72
"schema": {
73
73
"properties": {
74
74
"device": {
75
75
"ref": "ai.newnal.illi.home.defs#deviceView",
76
76
"type": "ref"
77
77
},
78
78
"homeId": {
79
79
"format": "tid",
80
80
"type": "string"
81
81
},
82
82
"role": {
83
83
"knownValues": [
84
84
"rootAdmin"
85
85
],
86
86
"type": "string"
87
87
},
88
88
"sphere": {
89
89
"type": "string"
90
90
}
91
91
},
92
92
"required": [
93
93
"homeId",
94
94
"sphere",
95
95
"role",
96
96
"device"
97
97
],
98
98
"type": "object"
99
99
}
100
100
},
101
101
"type": "procedure"
102
102
}
103
103
},
104
104
"id": "ai.newnal.illi.device.link",
105
105
"lexicon": 1
106
106
}