···
"encoding": "application/json",
12
-
"required": ["community", "type", "title"],
12
+
"required": ["community", "postType"],
"format": "at-identifier",
"description": "DID or handle of the community to post in"
21
-
"enum": ["text", "image", "video", "article", "microblog"],
21
+
"enum": ["text", "article", "image", "video", "microblog"],
"description": "Type of post to create"
28
-
"description": "Post title (required for text, article, image, video posts)"
28
+
"description": "Post title (optional for microblog, image, and video posts)"
32
-
"maxGraphemes": 10000,
34
-
"description": "Post body text"
33
+
"description": "Post content - main text for text posts, description for media, etc."
38
-
"description": "Rich text annotations for body",
37
+
"description": "Rich text annotations for content",
"ref": "social.coves.richtext.facet"
47
-
"description": "Images for image posts",
50
-
"required": ["image"],
54
-
"accept": ["image/png", "image/jpeg", "image/webp"],
60
-
"description": "Alt text for accessibility"
45
+
"description": "Embedded content - images, videos, external links, or quoted posts",
47
+
"social.coves.embed.images",
48
+
"social.coves.embed.video",
49
+
"social.coves.embed.external",
50
+
"social.coves.embed.post"
67
-
"description": "Video for video posts",
68
-
"required": ["video"],
72
-
"accept": ["video/mp4", "video/webm"],
73
-
"maxSize": 100000000
77
-
"accept": ["image/png", "image/jpeg", "image/webp"],
55
+
"ref": "social.coves.post.record#originalAuthor",
56
+
"description": "For microblog posts - information about the original author"
88
-
"description": "External link embed",
89
-
"required": ["uri"],
105
-
"accept": ["image/png", "image/jpeg", "image/webp"],
60
+
"ref": "social.coves.federation.post",
61
+
"description": "Reference to original federated post (for microblog posts)"
65
+
"description": "Self-applied content labels",
117
-
"description": "Tags for categorization"
68
+
"knownValues": ["nsfw", "spoiler", "violence"],
122
-
"description": "Whether the post contains NSFW content"
126
-
"format": "language",
127
-
"description": "Language of the post"
74
+
"ref": "social.coves.actor.profile#geoLocation",
75
+
"description": "Geographic location where post was created"
···
"name": "InvalidContent",
"description": "Post content violates community rules"
117
+
"name": "InvalidPostType",
118
+
"description": "Community does not allow this post type"