id.sifa.profile.publication
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "id.sifa.defs#externalRecordRef" }
- AddedVertex AddedVertex { vertex_id: "id.sifa.profile.publication:body.sameAs" }
- AddedEdge AddedEdge { src: "id.sifa.profile.publication:body", tgt: "id.sifa.profile.publication:body.sameAs", kind: "prop", name: Some("sameAs") }
- AddedEdge AddedEdge { src: "id.sifa.profile.publication:body.sameAs", tgt: "id.sifa.defs#externalRecordRef", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "id.sifa.defs#externalRecordRef" }AddedVertex { vertex_id: "id.sifa.profile.publication:body.sameAs" }
Additional Notes
- Non-breaking: AddedEdge { src: "id.sifa.profile.publication:body", tgt: "id.sifa.profile.publication:body.sameAs", kind: "prop", name: Some("sameAs") }
- Non-breaking: AddedEdge { src: "id.sifa.profile.publication:body.sameAs", tgt: "id.sifa.defs#externalRecordRef", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"author": {
5
5
"description": "A co-author of the publication.",
6
6
"properties": {
7
7
"did": {
8
8
"description": "Author's ATproto DID, if they have an account.",
9
9
"format": "did",
10
10
"type": "string"
11
11
},
12
12
"name": {
13
13
"description": "Author's display name.",
14
14
"maxGraphemes": 100,
15
15
"maxLength": 1000,
16
16
"minLength": 1,
17
17
"type": "string"
18
18
}
19
19
},
20
20
"required": [
21
21
"name"
22
22
],
23
23
"type": "object"
24
24
},
25
25
"main": {
26
26
"description": "Record representing a single publication.",
27
27
"key": "tid",
28
28
"record": {
29
29
"properties": {
30
30
"authors": {
31
31
"description": "Co-authors. The record owner is always an implicit author.",
32
32
"items": {
33
33
"ref": "#author",
34
34
"type": "ref"
35
35
},
36
36
"maxLength": 50,
37
37
"type": "array"
38
38
},
39
39
"createdAt": {
40
40
"description": "Client-declared timestamp when this record was originally created.",
41
41
"format": "datetime",
42
42
"type": "string"
43
43
},
44
44
"description": {
45
45
"description": "Description or abstract.",
46
46
"maxGraphemes": 5000,
47
47
"maxLength": 50000,
48
48
"type": "string"
49
49
},
50
50
"publishedAt": {
51
51
"description": "Publication date in YYYY-MM or YYYY-MM-DD format.",
52
52
"type": "string"
53
53
},
54
54
"publisher": {
55
55
"description": "Publisher, journal, or venue name.",
56
56
"maxGraphemes": 256,
57
57
"maxLength": 2560,
58
58
"type": "string"
59
59
},
60
+
"sameAs": {
61
+
"description": "The same publication as recorded on another person's profile. Set when you keep your own entry for work someone else has also recorded, so consumers can tell the two describe one thing rather than showing it twice. Each side stays its own record: the other person cannot edit yours, and yours does not change theirs. Resolve by AT-URI, since they will keep editing their copy.",
62
+
"ref": "id.sifa.defs#externalRecordRef",
63
+
"type": "ref"
64
+
},
60
65
"subtitle": {
61
66
"description": "Publication subtitle. Carries the distinguishing part of a title that sources such as Crossref and ORCID store separately from the main title -- for example the volume/part designation and descriptive clause of a multi-part paper series (\"III. Using cluster masses to create a cleaned catalogue\"). Absent for publications with no subtitle.",
62
67
"maxGraphemes": 200,
63
68
"maxLength": 2000,
64
69
"type": "string"
65
70
},
66
71
"title": {
67
72
"description": "Publication title.",
68
73
"maxGraphemes": 200,
69
74
"maxLength": 2000,
70
75
"minLength": 1,
71
76
"type": "string"
72
77
},
73
78
"url": {
74
79
"description": "URL to the publication.",
75
80
"format": "uri",
76
81
"type": "string"
77
82
}
78
83
},
79
84
"required": [
80
85
"title",
81
86
"createdAt"
82
87
],
83
88
"type": "object"
84
89
},
85
90
"type": "record"
86
91
}
87
92
},
88
93
"description": "A publication authored or co-authored by the user.",
89
94
"id": "id.sifa.profile.publication",
90
95
"lexicon": 1
91
96
}