app.bivri.feed.createArtwork
Schema Diff
+6 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
+
"errors": [
6
+
{
7
+
"description": "The authenticated member has not confirmed age and accepted the Terms and Privacy Policy.",
8
+
"name": "ConsentRequired"
9
+
}
10
+
],
5
11
"input": {
6
12
"encoding": "application/json",
7
13
"schema": {
8
14
"properties": {
9
15
"description": {
10
16
"description": "Free-form description of the artwork.",
11
17
"maxGraphemes": 300,
12
18
"maxLength": 3000,
13
19
"type": "string"
14
20
},
15
21
"labels": {
16
22
"description": "Self-label values the author declares on this artwork, such as a spoiler warning. These are author metadata, not platform moderation decisions.",
17
23
"refs": [
18
24
"com.atproto.label.defs#selfLabels"
19
25
],
20
26
"type": "union"
21
27
},
22
28
"langs": {
23
29
"description": "Human languages of the artwork's title and description.",
24
30
"items": {
25
31
"format": "language",
26
32
"type": "string"
27
33
},
28
34
"maxLength": 3,
29
35
"type": "array"
30
36
},
31
37
"media": {
32
38
"description": "Images making up the artwork, in display order. At least one is required. Blobs are uploaded beforehand through com.atproto.repo.uploadBlob, and the items together may not exceed 200MB — a total this schema cannot express.",
33
39
"items": {
34
40
"ref": "app.bivri.feed.artwork#mediaItem",
35
41
"type": "ref"
36
42
},
37
43
"maxLength": 50,
38
44
"minLength": 1,
39
45
"type": "array"
40
46
},
41
47
"tags": {
42
48
"description": "Author-chosen tags used for discovery and search.",
43
49
"items": {
44
50
"maxGraphemes": 64,
45
51
"maxLength": 640,
46
52
"minLength": 1,
47
53
"type": "string"
48
54
},
49
55
"maxLength": 8,
50
56
"type": "array"
51
57
},
52
58
"title": {
53
59
"description": "Title of the artwork. An artwork cannot be published without one.",
54
60
"maxGraphemes": 50,
55
61
"maxLength": 500,
56
62
"minLength": 1,
57
63
"type": "string"
58
64
}
59
65
},
60
66
"required": [
61
67
"title",
62
68
"media"
63
69
],
64
70
"type": "object"
65
71
}
66
72
},
67
73
"output": {
68
74
"encoding": "application/json",
69
75
"schema": {
70
76
"properties": {
71
77
"cid": {
72
78
"description": "CID of the artwork record that was written.",
73
79
"format": "cid",
74
80
"type": "string"
75
81
},
76
82
"uri": {
77
83
"description": "AT URI of the artwork record that was written.",
78
84
"format": "at-uri",
79
85
"type": "string"
80
86
}
81
87
},
82
88
"required": [
83
89
"uri",
84
90
"cid"
85
91
],
86
92
"type": "object"
87
93
}
88
94
},
89
95
"type": "procedure"
90
96
}
91
97
},
92
98
"description": "Publish a new artwork to the authenticated member's repository. Requires an OAuth session; the record is written to the member's own PDS.",
93
99
"id": "app.bivri.feed.createArtwork",
94
100
"lexicon": 1
95
101
}