Skip to content

Commit 8090f24

Browse files
totegammaclaude
andcommitted
add activitypub follow schemas
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 6d96081 commit 8090f24

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

ap/accept-state.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"type": "object",
3+
"properties": {
4+
"ccid": { "type": "string" },
5+
"actorURI": { "type": "string" },
6+
"status": { "type": "string", "enum": ["accepted", "rejected"] }
7+
},
8+
"additionalProperties": false,
9+
"required": ["ccid", "actorURI", "status"]
10+
}

ap/follow.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"type": "object",
3+
"properties": {
4+
"actorURI": { "type": "string" }
5+
},
6+
"additionalProperties": false,
7+
"required": ["actorURI"]
8+
}

ap/follower.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"type": "object",
3+
"properties": {
4+
"ccid": { "type": "string" },
5+
"actorURI": { "type": "string" },
6+
"inbox": { "type": "string" },
7+
"sharedInbox": { "type": "string" }
8+
},
9+
"additionalProperties": false,
10+
"required": ["ccid", "actorURI", "inbox"]
11+
}

0 commit comments

Comments
 (0)