dev.knotless.pull
Schema Diff
+11 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 8 non-breaking changes.
Non-Breaking Changes (8)
- AddedVertex AddedVertex { vertex_id: "dev.knotless.defs#image" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.pull:body.attachments" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.pull:body.attachments:items" }
- AddedVertex AddedVertex { vertex_id: "dev.knotless.pull:body.attachments:items:variant0" }
- AddedEdge AddedEdge { src: "dev.knotless.pull:body", tgt: "dev.knotless.pull:body.attachments", kind: "prop", name: Some("attachments") }
- AddedEdge AddedEdge { src: "dev.knotless.pull:body.attachments", tgt: "dev.knotless.pull:body.attachments:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "dev.knotless.pull:body.attachments:items", tgt: "dev.knotless.pull:body.attachments:items:variant0", kind: "variant", name: Some("dev.knotless.defs#image") }
- AddedEdge AddedEdge { src: "dev.knotless.pull:body.attachments:items:variant0", tgt: "dev.knotless.defs#image", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "dev.knotless.defs#image" }AddedVertex { vertex_id: "dev.knotless.pull:body.attachments" }AddedVertex { vertex_id: "dev.knotless.pull:body.attachments:items" }AddedVertex { vertex_id: "dev.knotless.pull:body.attachments:items:variant0" }
Additional Notes
- Non-breaking: AddedEdge { src: "dev.knotless.pull:body", tgt: "dev.knotless.pull:body.attachments", kind: "prop", name: Some("attachments") }
- Non-breaking: AddedEdge { src: "dev.knotless.pull:body.attachments", tgt: "dev.knotless.pull:body.attachments:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "dev.knotless.pull:body.attachments:items", tgt: "dev.knotless.pull:body.attachments:items:variant0", kind: "variant", name: Some("dev.knotless.defs#image") }
- Non-breaking: AddedEdge { src: "dev.knotless.pull:body.attachments:items:variant0", tgt: "dev.knotless.defs#image", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"head": {
5
5
"description": "Where the changes to merge are.",
6
6
"properties": {
7
7
"branch": {
8
8
"description": "Without refs/heads/.",
9
9
"maxLength": 255,
10
10
"type": "string"
11
11
},
12
12
"repo": {
13
13
"description": "The repository holding the branch: the target, or a fork.",
14
14
"ref": "dev.knotless.defs#repoRef",
15
15
"type": "ref"
16
16
}
17
17
},
18
18
"required": [
19
19
"repo",
20
20
"branch"
21
21
],
22
22
"type": "object"
23
23
},
24
24
"main": {
25
25
"description": "For a private repository, written in the requester's repo inside the repository's space.",
26
26
"key": "tid",
27
27
"record": {
28
28
"properties": {
29
+
"attachments": {
30
+
"description": "What it carries beside its body: the pictures the body shows. Kinds unknown to a reader are passed over, and kept by a client changing it.",
31
+
"items": {
32
+
"refs": [
33
+
"dev.knotless.defs#image"
34
+
],
35
+
"type": "union"
36
+
},
37
+
"maxLength": 32,
38
+
"type": "array"
39
+
},
29
40
"base": {
30
41
"description": "The branch to merge into, without refs/heads/.",
31
42
"maxLength": 255,
32
43
"type": "string"
33
44
},
34
45
"body": {
35
46
"description": "Markdown.",
36
47
"maxLength": 20000,
37
48
"type": "string"
38
49
},
39
50
"createdAt": {
40
51
"format": "datetime",
41
52
"type": "string"
42
53
},
43
54
"head": {
44
55
"ref": "#head",
45
56
"type": "ref"
46
57
},
47
58
"repo": {
48
59
"description": "The target repository.",
49
60
"ref": "dev.knotless.defs#repoRef",
50
61
"type": "ref"
51
62
},
52
63
"title": {
53
64
"maxGraphemes": 300,
54
65
"maxLength": 3000,
55
66
"type": "string"
56
67
},
57
68
"updatedAt": {
58
69
"description": "When its author last changed its title or body.",
59
70
"format": "datetime",
60
71
"type": "string"
61
72
}
62
73
},
63
74
"required": [
64
75
"repo",
65
76
"base",
66
77
"head",
67
78
"title",
68
79
"createdAt"
69
80
],
70
81
"type": "object"
71
82
},
72
83
"type": "record"
73
84
}
74
85
},
75
86
"description": "A request to merge a branch into a repository, kept in the requester's account.",
76
87
"id": "dev.knotless.pull",
77
88
"lexicon": 1
78
89
}