@fedify/fedify 2.0.0-dev.1961 → 2.0.0-dev.211

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +66 -36
  3. package/dist/{builder-BrqBKkVi.js → builder-CBUaUcr5.js} +5 -3
  4. package/dist/{client-BsGzbnV-.d.ts → client-CUTUGgvJ.d.ts} +18 -18
  5. package/dist/{client-pY7-3icS.js → client-Dg7OfUDA.js} +28 -23
  6. package/dist/{client-94iWEfQa.d.cts → client-by-PEGAJ.d.cts} +18 -18
  7. package/dist/compat/mod.cjs +1 -1
  8. package/dist/compat/mod.d.cts +6 -10
  9. package/dist/compat/mod.d.ts +6 -10
  10. package/dist/compat/mod.js +1 -1
  11. package/dist/compat/transformers.test.js +22 -21
  12. package/dist/context-Bns6uTJq.js +109 -0
  13. package/dist/{context-V-XS2_6O.d.ts → context-C7vzWilY.d.ts} +63 -65
  14. package/dist/{context-PxGADCsD.d.cts → context-CrB9RFy5.d.cts} +63 -65
  15. package/dist/deno-Ldk6cZ5y.js +117 -0
  16. package/dist/{testing-DpRy1YTU.js → dist-B5f6a8Tt.js} +90 -110
  17. package/dist/{docloader-HB61Uc88.js → docloader-CX_8i5G9.js} +3 -3
  18. package/dist/{esm-DaZiDvFW.js → esm-DGl7uK1r.js} +1 -1
  19. package/dist/federation/builder.test.js +7 -5
  20. package/dist/federation/collection.test.js +2 -3
  21. package/dist/federation/handler.test.js +110 -22
  22. package/dist/federation/idempotency.test.js +23 -22
  23. package/dist/federation/inbox.test.js +4 -3
  24. package/dist/federation/keycache.test.js +4 -4
  25. package/dist/federation/kv.test.js +56 -3
  26. package/dist/federation/middleware.test.js +95 -93
  27. package/dist/federation/mod.cjs +8 -10
  28. package/dist/federation/mod.d.cts +7 -11
  29. package/dist/federation/mod.d.ts +7 -11
  30. package/dist/federation/mod.js +8 -11
  31. package/dist/federation/mq.test.js +5 -6
  32. package/dist/federation/negotiation.test.js +2 -3
  33. package/dist/federation/retry.test.js +2 -3
  34. package/dist/federation/router.test.js +2 -2
  35. package/dist/federation/send.test.js +51 -9
  36. package/dist/{webfinger/handler.test.js → federation/webfinger.test.js} +24 -22
  37. package/dist/{federation-CRpdnOMS.cjs → federation-B431K2gm.cjs} +22 -0
  38. package/dist/{federation-jcR8-ZxP.js → federation-BbZwNNWj.js} +28 -6
  39. package/dist/{http-M8k5mKc0.d.cts → http-ClB3pLcL.d.cts} +1 -1
  40. package/dist/{http-CUsGQiwU.js → http-CnZ1IHUS.js} +119 -9
  41. package/dist/{http-BbO0ejuk.d.ts → http-DLBDPal9.d.ts} +1 -1
  42. package/dist/{http-B2bao4EB.js → http-DNpKjQw7.js} +3 -2
  43. package/dist/{http-BxgYWxTY.cjs → http-dzRhLC1t.cjs} +132 -16
  44. package/dist/{inbox-CAojlSWc.js → inbox-DR-Gk02p.js} +2 -1
  45. package/dist/{key-Dz-KWCap.js → key-C1rxalIW.js} +3 -3
  46. package/dist/{keycache-Czcf33al.js → keycache-DRxpZ5r9.js} +1 -1
  47. package/dist/{keys-BN4nelft.js → keys-ZbcByPg9.js} +1 -1
  48. package/dist/{kv-Bxr0Q87_.d.cts → kv-B4vFhIYL.d.cts} +30 -1
  49. package/dist/{kv-BKNZ-Tb-.d.ts → kv-CYySNrsn.d.ts} +30 -1
  50. package/dist/{kv-CRZrzyXm.js → kv-QzKcOQgP.js} +22 -0
  51. package/dist/{kv-cache-DN9pfMBe.js → kv-cache-BEeqyGER.js} +14 -1
  52. package/dist/{kv-cache-5j5Pb-V6.cjs → kv-cache-BlS1sett.cjs} +2 -2
  53. package/dist/{kv-cache-Bq6kUUoG.js → kv-cache-DpIq7Isv.js} +2 -2
  54. package/dist/{ld-CEJHYq8u.js → ld-Cm6SNnYj.js} +4 -3
  55. package/dist/middleware-BJ396MAL.cjs +12 -0
  56. package/dist/{middleware-DW3rJHWy.cjs → middleware-CBBhOrXl.cjs} +210 -194
  57. package/dist/middleware-CRk4rARo.js +12 -0
  58. package/dist/middleware-DaemJ_4r.js +26 -0
  59. package/dist/{middleware-DgrceAHB.js → middleware-DmcjHVg8.js} +162 -165
  60. package/dist/{middleware-Df9OWALM.js → middleware-JPuzpoIQ.js} +164 -154
  61. package/dist/{mod-DMpuiKXi.d.cts → mod-0p9zUdzg.d.cts} +6 -6
  62. package/dist/mod-0qnPv4EC.d.cts +62 -0
  63. package/dist/{mod-DgxG-byT.d.cts → mod-BrS8tiad.d.cts} +2 -2
  64. package/dist/mod-C3SOvTD1.d.ts +64 -0
  65. package/dist/{mod-BoRKfJPE.d.cts → mod-D6pS5_xJ.d.cts} +4 -4
  66. package/dist/{mod-D5Z2tISD.d.ts → mod-jOa7W503.d.ts} +2 -2
  67. package/dist/{mod-Cdo6SYlJ.d.ts → mod-waqu-BL_.d.ts} +4 -4
  68. package/dist/{mod-aAE2wOWV.d.ts → mod-xc20HhMD.d.ts} +6 -6
  69. package/dist/mod.cjs +11 -93
  70. package/dist/mod.d.cts +11 -15
  71. package/dist/mod.d.ts +11 -15
  72. package/dist/mod.js +11 -15
  73. package/dist/nodeinfo/client.test.js +3 -4
  74. package/dist/nodeinfo/handler.test.js +22 -21
  75. package/dist/nodeinfo/mod.cjs +2 -2
  76. package/dist/nodeinfo/mod.d.cts +2 -2
  77. package/dist/nodeinfo/mod.d.ts +2 -2
  78. package/dist/nodeinfo/mod.js +2 -2
  79. package/dist/nodeinfo/types.test.js +2 -3
  80. package/dist/otel/exporter.test.js +893 -0
  81. package/dist/otel/mod.cjs +256 -0
  82. package/dist/otel/mod.d.cts +230 -0
  83. package/dist/otel/mod.d.ts +232 -0
  84. package/dist/otel/mod.js +255 -0
  85. package/dist/{owner-kQRGVXG1.d.ts → owner-BgI8C-VY.d.ts} +1 -2
  86. package/dist/{owner-B4HbyP8s.d.cts → owner-C-zfmVAD.d.cts} +1 -2
  87. package/dist/{owner-JwI-WzF-.js → owner-D-ZwLwaI.js} +44 -8
  88. package/dist/{proof-Dhqndmfg.js → proof-B-5l6HNZ.js} +3 -2
  89. package/dist/{proof-CObJuclI.cjs → proof-C2oMTHcU.cjs} +63 -28
  90. package/dist/{proof-xH0V1mdD.js → proof-lN5nVUla.js} +46 -11
  91. package/dist/router-D9eI0s4b.js +118 -0
  92. package/dist/{send-1o7D-GGL.js → send-D0AlkVEU.js} +9 -4
  93. package/dist/sig/http.test.js +6 -7
  94. package/dist/sig/key.test.js +5 -5
  95. package/dist/sig/ld.test.js +6 -6
  96. package/dist/sig/mod.cjs +3 -5
  97. package/dist/sig/mod.d.cts +3 -5
  98. package/dist/sig/mod.d.ts +3 -5
  99. package/dist/sig/mod.js +3 -5
  100. package/dist/sig/owner.test.js +29 -6
  101. package/dist/sig/proof.test.js +6 -6
  102. package/dist/testing/mod.d.ts +70 -6999
  103. package/dist/testing/mod.js +4 -3
  104. package/dist/{transformers-CoBS-oFG.cjs → transformers-BjBg6Lag.cjs} +2 -2
  105. package/dist/{transformers-BFT6d7J5.js → transformers-N_ip_y4P.js} +2 -2
  106. package/dist/{types-BtUjyi5y.js → types-8l28uC8o.js} +30 -25
  107. package/dist/{types-CWgzGaqk.cjs → types-B6z6CqIz.cjs} +30 -25
  108. package/dist/{types-C2XVl6gj.js → types-CPz01LGH.js} +3 -3
  109. package/dist/utils/docloader.test.js +7 -8
  110. package/dist/utils/kv-cache.test.js +5 -3
  111. package/dist/utils/mod.cjs +3 -5
  112. package/dist/utils/mod.d.cts +3 -4
  113. package/dist/utils/mod.d.ts +3 -4
  114. package/dist/utils/mod.js +3 -5
  115. package/package.json +24 -35
  116. package/dist/actor-DhgrrgXz.cjs +0 -42079
  117. package/dist/actor-DiKHxw_H.js +0 -41647
  118. package/dist/actor-DqFajh9s.d.ts +0 -130
  119. package/dist/actor-Kqyoic-M.js +0 -146
  120. package/dist/actor-f2NtjyCg.d.cts +0 -128
  121. package/dist/fixtures/activitypub.academy/users/brauca_darradiul.json +0 -83
  122. package/dist/fixtures/example.com/announce.json +0 -6
  123. package/dist/fixtures/example.com/collection.json +0 -19
  124. package/dist/fixtures/example.com/create.json +0 -6
  125. package/dist/fixtures/example.com/cross-origin-actor.json +0 -6
  126. package/dist/fixtures/example.com/hong-gildong.json +0 -11
  127. package/dist/fixtures/example.com/invite.json +0 -7
  128. package/dist/fixtures/example.com/key.json +0 -7
  129. package/dist/fixtures/example.com/key2.json +0 -6
  130. package/dist/fixtures/example.com/object.json +0 -6
  131. package/dist/fixtures/example.com/orderedcollectionpage.json +0 -24
  132. package/dist/fixtures/example.com/paged/a.json +0 -13
  133. package/dist/fixtures/example.com/paged/b.json +0 -16
  134. package/dist/fixtures/example.com/paged-collection.json +0 -6
  135. package/dist/fixtures/example.com/person.json +0 -22
  136. package/dist/fixtures/example.com/person2.json +0 -40
  137. package/dist/fixtures/example.com/test.json +0 -5
  138. package/dist/fixtures/example.com/users/handle.json +0 -16
  139. package/dist/fixtures/example.com/wrong-type.json +0 -3
  140. package/dist/fixtures/media.example.com/avatars/test-avatar.jpg.json +0 -6
  141. package/dist/fixtures/oeee.cafe/ap/users/3609fd4e-d51d-4db8-9f04-4189815864dd.json +0 -24
  142. package/dist/fixtures/remote.domain/users/bob.json +0 -20
  143. package/dist/fixtures/server.example/users/alice.json +0 -20
  144. package/dist/fixtures/w3id.org/identity/v1.json +0 -152
  145. package/dist/fixtures/w3id.org/security/data-integrity/v1.json +0 -74
  146. package/dist/fixtures/w3id.org/security/multikey/v1.json +0 -35
  147. package/dist/fixtures/w3id.org/security/v1.json +0 -50
  148. package/dist/fixtures/wizard.casa/users/hongminhee.json +0 -69
  149. package/dist/fixtures/www.w3.org/ns/activitystreams.json +0 -379
  150. package/dist/fixtures/www.w3.org/ns/did/v1.json +0 -58
  151. package/dist/lookup-D8hvtZHY.js +0 -42178
  152. package/dist/lookup-_Hap2IXS.cjs +0 -265
  153. package/dist/lookup-gMu_9ZKY.js +0 -253
  154. package/dist/middleware-19QFZj7b.js +0 -26
  155. package/dist/middleware-BbbcXY4w.cjs +0 -15
  156. package/dist/middleware-CSTK543z.js +0 -15
  157. package/dist/mod-BlVovdcy.d.ts +0 -309
  158. package/dist/mod-BxRCHTz-.d.cts +0 -307
  159. package/dist/mod-C58MZ7Wx.d.cts +0 -113
  160. package/dist/mod-CcDPcLJW.d.cts +0 -1
  161. package/dist/mod-Ds0mpFZU.d.ts +0 -115
  162. package/dist/mod-bjzj5QIb.d.ts +0 -2
  163. package/dist/src/vocab/accept.yaml +0 -15
  164. package/dist/src/vocab/activity.yaml +0 -98
  165. package/dist/src/vocab/add.yaml +0 -16
  166. package/dist/src/vocab/announce.yaml +0 -30
  167. package/dist/src/vocab/application.yaml +0 -324
  168. package/dist/src/vocab/arrive.yaml +0 -15
  169. package/dist/src/vocab/article.yaml +0 -46
  170. package/dist/src/vocab/audio.yaml +0 -11
  171. package/dist/src/vocab/block.yaml +0 -16
  172. package/dist/src/vocab/chatmessage.yaml +0 -50
  173. package/dist/src/vocab/collection.yaml +0 -154
  174. package/dist/src/vocab/collectionpage.yaml +0 -55
  175. package/dist/src/vocab/create.yaml +0 -28
  176. package/dist/src/vocab/dataintegrityproof.yaml +0 -56
  177. package/dist/src/vocab/delete.yaml +0 -27
  178. package/dist/src/vocab/didservice.yaml +0 -22
  179. package/dist/src/vocab/dislike.yaml +0 -14
  180. package/dist/src/vocab/document.yaml +0 -31
  181. package/dist/src/vocab/emoji.yaml +0 -12
  182. package/dist/src/vocab/emojireact.yaml +0 -17
  183. package/dist/src/vocab/endpoints.yaml +0 -85
  184. package/dist/src/vocab/event.yaml +0 -11
  185. package/dist/src/vocab/export.yaml +0 -9
  186. package/dist/src/vocab/flag.yaml +0 -15
  187. package/dist/src/vocab/follow.yaml +0 -19
  188. package/dist/src/vocab/group.yaml +0 -324
  189. package/dist/src/vocab/hashtag.yaml +0 -14
  190. package/dist/src/vocab/ignore.yaml +0 -14
  191. package/dist/src/vocab/image.yaml +0 -9
  192. package/dist/src/vocab/intransitiveactivity.yaml +0 -15
  193. package/dist/src/vocab/invite.yaml +0 -14
  194. package/dist/src/vocab/join.yaml +0 -14
  195. package/dist/src/vocab/key.yaml +0 -28
  196. package/dist/src/vocab/leave.yaml +0 -14
  197. package/dist/src/vocab/like.yaml +0 -16
  198. package/dist/src/vocab/link.yaml +0 -101
  199. package/dist/src/vocab/listen.yaml +0 -12
  200. package/dist/src/vocab/mention.yaml +0 -9
  201. package/dist/src/vocab/move.yaml +0 -15
  202. package/dist/src/vocab/multikey.yaml +0 -36
  203. package/dist/src/vocab/note.yaml +0 -48
  204. package/dist/src/vocab/object.yaml +0 -404
  205. package/dist/src/vocab/offer.yaml +0 -15
  206. package/dist/src/vocab/orderedcollection.yaml +0 -39
  207. package/dist/src/vocab/orderedcollectionpage.yaml +0 -50
  208. package/dist/src/vocab/organization.yaml +0 -324
  209. package/dist/src/vocab/page.yaml +0 -11
  210. package/dist/src/vocab/person.yaml +0 -324
  211. package/dist/src/vocab/place.yaml +0 -75
  212. package/dist/src/vocab/profile.yaml +0 -26
  213. package/dist/src/vocab/propertyvalue.yaml +0 -32
  214. package/dist/src/vocab/question.yaml +0 -103
  215. package/dist/src/vocab/read.yaml +0 -13
  216. package/dist/src/vocab/reject.yaml +0 -14
  217. package/dist/src/vocab/relationship.yaml +0 -52
  218. package/dist/src/vocab/remove.yaml +0 -14
  219. package/dist/src/vocab/service.yaml +0 -324
  220. package/dist/src/vocab/source.yaml +0 -26
  221. package/dist/src/vocab/tentativeaccept.yaml +0 -14
  222. package/dist/src/vocab/tentativereject.yaml +0 -14
  223. package/dist/src/vocab/tombstone.yaml +0 -24
  224. package/dist/src/vocab/travel.yaml +0 -16
  225. package/dist/src/vocab/undo.yaml +0 -26
  226. package/dist/src/vocab/update.yaml +0 -58
  227. package/dist/src/vocab/video.yaml +0 -11
  228. package/dist/src/vocab/view.yaml +0 -13
  229. package/dist/testing/docloader.test.js +0 -22
  230. package/dist/vocab/actor.test.js +0 -5963
  231. package/dist/vocab/lookup.test.d.ts +0 -3
  232. package/dist/vocab/lookup.test.js +0 -454
  233. package/dist/vocab/mod.cjs +0 -86
  234. package/dist/vocab/mod.d.cts +0 -4
  235. package/dist/vocab/mod.d.ts +0 -6
  236. package/dist/vocab/mod.js +0 -9
  237. package/dist/vocab/type.test.d.ts +0 -3
  238. package/dist/vocab/type.test.js +0 -24
  239. package/dist/vocab/vocab.test.d.ts +0 -3
  240. package/dist/vocab/vocab.test.js +0 -9397
  241. package/dist/vocab-BCWe1Ih5.d.ts +0 -14905
  242. package/dist/vocab-CAwj263k.js +0 -255
  243. package/dist/vocab-CeDBzu-f.d.cts +0 -14903
  244. package/dist/vocab-DgHGCFcw.cjs +0 -291
  245. package/dist/webfinger/handler.test.d.ts +0 -3
  246. package/dist/webfinger/lookup.test.d.ts +0 -3
  247. package/dist/webfinger/lookup.test.js +0 -193
  248. package/dist/webfinger/mod.cjs +0 -8
  249. package/dist/webfinger/mod.d.cts +0 -2
  250. package/dist/webfinger/mod.d.ts +0 -4
  251. package/dist/webfinger/mod.js +0 -8
  252. package/dist/webfinger-C72Y8lrh.js +0 -4
  253. package/dist/webfinger-vAtLmxOF.cjs +0 -4
  254. /package/dist/{collection-BzWsN9pB.js → collection-CcnIw1qY.js} +0 -0
  255. /package/dist/{testing/docloader.test.d.ts → federation/webfinger.test.d.ts} +0 -0
  256. /package/dist/{mod-CVgZgliM.d.ts → mod-1E3W847c.d.ts} +0 -0
  257. /package/dist/{mod-B-hUPT2N.d.cts → mod-C81L6_lQ.d.cts} +0 -0
  258. /package/dist/{negotiation-C4nFufNk.js → negotiation-5NPJL6zp.js} +0 -0
  259. /package/dist/{nodeinfo-BnthBobC.js → nodeinfo-BlLsRSiT.js} +0 -0
  260. /package/dist/{nodeinfo-CdN0rEnZ.cjs → nodeinfo-DuMYTpbZ.cjs} +0 -0
  261. /package/dist/{vocab/actor.test.d.ts → otel/exporter.test.d.ts} +0 -0
  262. /package/dist/{retry-CfF8Gn4d.js → retry-D4GJ670a.js} +0 -0
  263. /package/dist/{sig-C34-oHBl.js → sig-CwuONEzF.js} +0 -0
  264. /package/dist/{sig-YYj5tCnr.cjs → sig-DeXX2xnj.cjs} +0 -0
  265. /package/dist/{utils-DyRU1gdZ.cjs → utils-Db0ZmjcD.cjs} +0 -0
  266. /package/dist/{utils-D-Va7aXC.js → utils-Wranxuoe.js} +0 -0
@@ -1,75 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Place
3
- compactName: Place
4
- uri: "https://www.w3.org/ns/activitystreams#Place"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: |
8
- Represents a logical or physical location. See [5.3 Representing
9
- Places](https://www.w3.org/TR/activitystreams-vocabulary/#places)
10
- for additional information.
11
- defaultContext:
12
- - "https://www.w3.org/ns/activitystreams"
13
- - "https://w3id.org/security/data-integrity/v1"
14
-
15
- properties:
16
- - singularName: accuracy
17
- functional: true
18
- compactName: accuracy
19
- uri: "https://www.w3.org/ns/activitystreams#accuracy"
20
- description: |
21
- Indicates the accuracy of position coordinates on a {@link Place} objects.
22
- Expressed in properties of percentage. e.g. "94.0" means "94.0% accurate".
23
- range:
24
- - "http://www.w3.org/2001/XMLSchema#float"
25
-
26
- - singularName: altitude
27
- functional: true
28
- compactName: altitude
29
- uri: "https://www.w3.org/ns/activitystreams#altitude"
30
- description: |
31
- Indicates the altitude of a place. The measurement units is indicated
32
- using the {@link Place.units} property. If {@link Place.units} is not
33
- specified, the default is assumed to be "`m`" indicating meters.
34
- range:
35
- - "http://www.w3.org/2001/XMLSchema#float"
36
-
37
- - singularName: latitude
38
- functional: true
39
- compactName: latitude
40
- uri: "https://www.w3.org/ns/activitystreams#latitude"
41
- description: The latitude of a place.
42
- range:
43
- - "http://www.w3.org/2001/XMLSchema#float"
44
-
45
- - singularName: longitude
46
- functional: true
47
- compactName: longitude
48
- uri: "https://www.w3.org/ns/activitystreams#longitude"
49
- description: The longitude of a place.
50
- range:
51
- - "http://www.w3.org/2001/XMLSchema#float"
52
-
53
- - singularName: radius
54
- functional: true
55
- compactName: radius
56
- uri: "https://www.w3.org/ns/activitystreams#radius"
57
- description: |
58
- The radius from the given latitude and longitude for a {@link Place}.
59
- The units is expressed by the {@link Place.units} property.
60
- If {@link Place.units} is not specified, the default is assumed to be
61
- "`m`" indicating "meters".
62
- range:
63
- - "http://www.w3.org/2001/XMLSchema#float"
64
-
65
- - singularName: units
66
- functional: true
67
- compactName: units
68
- uri: "https://www.w3.org/ns/activitystreams#units"
69
- description: |
70
- Specifies the measurement units for the {@link Place.radius} and
71
- {@link Place.altitude} properties on a {@link Place} object.
72
- If not specified, the default is assumed to be "`m`" for "meters".
73
- range:
74
- - "fedify:units"
75
- - "http://www.w3.org/2001/XMLSchema#anyURI"
@@ -1,26 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Profile
3
- compactName: Profile
4
- uri: "https://www.w3.org/ns/activitystreams#Profile"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: |
8
- A {@link Profile} is a content object that describes another {@link Object},
9
- typically used to describe [Actor
10
- Type](https://www.w3.org/TR/activitystreams-vocabulary/#actor-types) objects.
11
- The {@link Profile.describes} property is used to reference the object being
12
- described by the profile.
13
- defaultContext:
14
- - "https://www.w3.org/ns/activitystreams"
15
- - "https://w3id.org/security/data-integrity/v1"
16
-
17
- properties:
18
- - singularName: describes
19
- functional: true
20
- compactName: describes
21
- uri: "https://www.w3.org/ns/activitystreams#describes"
22
- description: |
23
- On a {@link Profile} object, the {@link Profile.describes} property
24
- identifies the object described by the {@link Profile}.
25
- range:
26
- - "https://www.w3.org/ns/activitystreams#Object"
@@ -1,32 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: PropertyValue
3
- compactName: PropertyValue
4
- # The below URI intentionally lacks a path slash due to Mastodon's mistake:
5
- # See also: https://docs.joinmastodon.org/spec/activitypub/#PropertyValue
6
- uri: "http://schema.org#PropertyValue"
7
- entity: false
8
- description: A pair of property name and value.
9
- defaultContext:
10
- - "https://www.w3.org/ns/activitystreams"
11
- - schema: "http://schema.org#"
12
- PropertyValue: "schema:PropertyValue"
13
- value: "schema:value"
14
-
15
- properties:
16
- - singularName: name
17
- functional: true
18
- compactName: name
19
- uri: "https://www.w3.org/ns/activitystreams#name"
20
- description: The name of a property.
21
- range:
22
- - "http://www.w3.org/2001/XMLSchema#string"
23
- - "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"
24
-
25
- - singularName: value
26
- functional: true
27
- compactName: value
28
- uri: "http://schema.org#value"
29
- description: The value of a property.
30
- range:
31
- - "http://www.w3.org/2001/XMLSchema#string"
32
- - "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"
@@ -1,103 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Question
3
- compactName: Question
4
- uri: "https://www.w3.org/ns/activitystreams#Question"
5
- extends: "https://www.w3.org/ns/activitystreams#IntransitiveActivity"
6
- entity: true
7
- description: |
8
- Represents a question being asked. Question objects are an extension of
9
- {@link IntransitiveActivity}. That is, the Question object is an Activity,
10
- but the direct object is the question itself and therefore it would not
11
- contain an `object` property.
12
-
13
- Either of the `inclusiveOptions` and `exclusiveOptions` properties *may* be
14
- used to express possible answers, but a Question object *must not* have both
15
- properties.
16
- defaultContext:
17
- - "https://w3id.org/identity/v1"
18
- - "https://www.w3.org/ns/activitystreams"
19
- - "https://w3id.org/security/data-integrity/v1"
20
- - toot: "http://joinmastodon.org/ns#"
21
- misskey: "https://misskey-hub.net/ns#"
22
- fedibird: "http://fedibird.com/ns#"
23
- sensitive: "as:sensitive"
24
- votersCount:
25
- "@id": "toot:votersCount"
26
- "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
27
- Emoji: "toot:Emoji"
28
- Hashtag: "as:Hashtag"
29
- quoteUrl: "as:quoteUrl"
30
- _misskey_quote: "misskey:_misskey_quote"
31
- quoteUri: "fedibird:quoteUri"
32
- emojiReactions:
33
- "@id": "fedibird:emojiReactions"
34
- "@type": "@id"
35
-
36
- properties:
37
- - pluralName: exclusiveOptions
38
- singularName: exclusiveOption
39
- singularAccessor: false
40
- compactName: oneOf
41
- uri: "https://www.w3.org/ns/activitystreams#oneOf"
42
- description: |
43
- Identifies an exclusive option for a Question. Use of `exclusiveOptions`
44
- implies that the Question can have only a single answer. To indicate that
45
- a Question can have multiple answers, use `inclusiveOptions`.
46
- range:
47
- - "https://www.w3.org/ns/activitystreams#Object"
48
-
49
- - pluralName: inclusiveOptions
50
- singularName: inclusiveOption
51
- singularAccessor: false
52
- compactName: anyOf
53
- uri: "https://www.w3.org/ns/activitystreams#anyOf"
54
- description: |
55
- Identifies an inclusive option for a Question. Use of `inclusiveOptions`
56
- implies that the Question can have multiple answers. To indicate that
57
- a Question can have only one answer, use `exclusiveOptions`.
58
- range:
59
- - "https://www.w3.org/ns/activitystreams#Object"
60
-
61
- - singularName: closed
62
- functional: true
63
- compactName: closed
64
- uri: "https://www.w3.org/ns/activitystreams#closed"
65
- description: |
66
- Indicates that a question has been closed, and answers are no longer
67
- accepted.
68
- range:
69
- - "http://www.w3.org/2001/XMLSchema#dateTime"
70
- - "http://www.w3.org/2001/XMLSchema#boolean"
71
-
72
- - singularName: voters
73
- functional: true
74
- compactName: votersCount
75
- uri: "http://joinmastodon.org/ns#votersCount"
76
- description: |
77
- How many people have voted in the poll. Distinct from how many votes have
78
- been cast (in the case of multiple-choice polls).
79
- range:
80
- - "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
81
-
82
- - singularName: quoteUrl
83
- functional: true
84
- compactName: quoteUrl
85
- uri: "https://www.w3.org/ns/activitystreams#quoteUrl"
86
- redundantProperties:
87
- - compactName: _misskey_quote
88
- uri: "https://misskey-hub.net/ns#_misskey_quote"
89
- - compactName: quoteUri
90
- uri: "http://fedibird.com/ns#quoteUri"
91
- description: |
92
- The URI of the ActivityStreams object that this object quotes.
93
-
94
- This property sets three JSON-LD properties at once under the hood:
95
-
96
- 1. https://www.w3.org/ns/activitystreams#quoteUrl
97
- 2. https://misskey-hub.net/ns#_misskey_quote
98
- 3. http://fedibird.com/ns#quoteUri
99
-
100
- When a JSON-LD object is parsed, this property is filled with one of
101
- the values of those three properties in order.
102
- range:
103
- - "fedify:url"
@@ -1,13 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Read
3
- compactName: Read
4
- uri: "https://www.w3.org/ns/activitystreams#Read"
5
- extends: "https://www.w3.org/ns/activitystreams#Activity"
6
- entity: true
7
- description: |
8
- Indicates that the `actor` has read the `object`.
9
- defaultContext:
10
- - "https://w3id.org/identity/v1"
11
- - "https://www.w3.org/ns/activitystreams"
12
- - "https://w3id.org/security/data-integrity/v1"
13
- properties: []
@@ -1,14 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Reject
3
- compactName: Reject
4
- uri: "https://www.w3.org/ns/activitystreams#Reject"
5
- extends: "https://www.w3.org/ns/activitystreams#Activity"
6
- entity: true
7
- description: |
8
- Indicates that the `actor` is rejecting the `object`. The `target` and
9
- `origin` typically have no defined meaning.
10
- defaultContext:
11
- - "https://w3id.org/identity/v1"
12
- - "https://www.w3.org/ns/activitystreams"
13
- - "https://w3id.org/security/data-integrity/v1"
14
- properties: []
@@ -1,52 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Relationship
3
- compactName: Relationship
4
- uri: "https://www.w3.org/ns/activitystreams#Relationship"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: |
8
- Describes a relationship between two individuals.
9
- The {@link Relationship.subject} and {@link Relationship.object} properties
10
- are used to identify the connected individuals.
11
-
12
- See [5.2 Representing Relationships Between
13
- Entities](https://www.w3.org/TR/activitystreams-vocabulary/#connections)
14
- for additional information.
15
- defaultContext:
16
- - "https://www.w3.org/ns/activitystreams"
17
- - "https://w3id.org/security/data-integrity/v1"
18
-
19
- properties:
20
- - singularName: subject
21
- functional: true
22
- compactName: subject
23
- uri: "https://www.w3.org/ns/activitystreams#subject"
24
- description: |
25
- On a {@link Relationship} object, the {@link Relationship.subject} property
26
- identifies one of the connected individuals. For instance,
27
- for a {@link Relationship} object describing "John is related to Sally",
28
- the {@link Relationship.subject} property would refer to John.
29
- range:
30
- - "https://www.w3.org/ns/activitystreams#Object"
31
-
32
- - singularName: object
33
- pluralName: objects
34
- singularAccessor: true
35
- compactName: object
36
- uri: "https://www.w3.org/ns/activitystreams#object"
37
- description: |
38
- Describes the entity to which the {@link Relationship.subject} is related.
39
- range:
40
- - "https://www.w3.org/ns/activitystreams#Object"
41
-
42
- - singularName: relationship
43
- pluralName: relationships
44
- singularAccessor: true
45
- compactName: relationship
46
- uri: "https://www.w3.org/ns/activitystreams#relationship"
47
- description: |
48
- On a {@link Relationship} object, the {@link Relationship.relationship}
49
- property identifies the kind of relationship that exists between
50
- {@link Relationship.subject} and {@link Relationship.object}.
51
- range:
52
- - "https://www.w3.org/ns/activitystreams#Object"
@@ -1,14 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Remove
3
- compactName: Remove
4
- uri: "https://www.w3.org/ns/activitystreams#Remove"
5
- extends: "https://www.w3.org/ns/activitystreams#Activity"
6
- entity: true
7
- description: |
8
- Indicates that the `actor` is removing the `object`. If specified,
9
- the `origin` indicates the context from which the `object` is being removed.
10
- defaultContext:
11
- - "https://w3id.org/identity/v1"
12
- - "https://www.w3.org/ns/activitystreams"
13
- - "https://w3id.org/security/data-integrity/v1"
14
- properties: []
@@ -1,324 +0,0 @@
1
- $schema: ../../../vocab-tools/schema.yaml
2
- name: Service
3
- compactName: Service
4
- uri: "https://www.w3.org/ns/activitystreams#Service"
5
- extends: "https://www.w3.org/ns/activitystreams#Object"
6
- entity: true
7
- description: Represents a service of any kind.
8
- defaultContext:
9
- - "https://www.w3.org/ns/activitystreams"
10
- - "https://w3id.org/security/v1"
11
- - "https://w3id.org/security/data-integrity/v1"
12
- - "https://www.w3.org/ns/did/v1"
13
- - "https://w3id.org/security/multikey/v1"
14
- - alsoKnownAs:
15
- "@id": "as:alsoKnownAs"
16
- "@type": "@id"
17
- manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
18
- movedTo:
19
- "@id": "as:movedTo"
20
- "@type": "@id"
21
- toot: "http://joinmastodon.org/ns#"
22
- Emoji: "toot:Emoji"
23
- featured:
24
- "@id": "toot:featured"
25
- "@type": "@id"
26
- featuredTags:
27
- "@id": "toot:featuredTags"
28
- "@type": "@id"
29
- discoverable: "toot:discoverable"
30
- suspended: "toot:suspended"
31
- memorial: "toot:memorial"
32
- indexable: "toot:indexable"
33
- schema: "http://schema.org#"
34
- PropertyValue: "schema:PropertyValue"
35
- value: "schema:value"
36
- misskey: "https://misskey-hub.net/ns#"
37
- _misskey_followedMessage: "misskey:_misskey_followedMessage"
38
- isCat: "misskey:isCat"
39
-
40
- properties:
41
- - pluralName: preferredUsernames
42
- singularName: preferredUsername
43
- singularAccessor: true
44
- compactName: preferredUsername
45
- uri: "https://www.w3.org/ns/activitystreams#preferredUsername"
46
- description: |
47
- A short username which may be used to refer to the actor,
48
- with no uniqueness guarantees.
49
- range:
50
- - "http://www.w3.org/2001/XMLSchema#string"
51
- - "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"
52
-
53
- - pluralName: publicKeys
54
- singularName: publicKey
55
- singularAccessor: true
56
- compactName: publicKey
57
- uri: "https://w3id.org/security#publicKey"
58
- description: A public part of the key pair owned by this actor.
59
- untyped: true
60
- range:
61
- - "https://w3id.org/security#Key"
62
-
63
- - pluralName: assertionMethods
64
- singularName: assertionMethod
65
- singularAccessor: true
66
- compactName: assertionMethod
67
- uri: "https://w3id.org/security#assertionMethod"
68
- description: |
69
- Represents this actor's public keys. It serves as equivalent to
70
- the `publicKeys` property, but is used for [FEP-521a] compliance.
71
-
72
- [FEP-521a]: https://w3id.org/fep/521a
73
- range:
74
- - "https://w3id.org/security#Multikey"
75
-
76
- - singularName: manuallyApprovesFollowers
77
- functional: true
78
- compactName: manuallyApprovesFollowers
79
- uri: "https://www.w3.org/ns/activitystreams#manuallyApprovesFollowers"
80
- description: |
81
- When `true`, conveys that for this actor, follow requests are not usually
82
- automatically approved, but instead are examined by a person who may accept
83
- or reject the request, at some time in the future. Setting of `false`
84
- conveys no information and may be ignored. This information is typically
85
- used to affect display of accounts, such as showing an account as private or
86
- locked.
87
- range:
88
- - "http://www.w3.org/2001/XMLSchema#boolean"
89
-
90
- - singularName: inbox
91
- functional: true
92
- compactName: inbox
93
- uri: "http://www.w3.org/ns/ldp#inbox"
94
- description: |
95
- The inbox stream contains all activities received by the actor. The server
96
- SHOULD filter content according to the requester's permission. In general,
97
- the owner of an inbox is likely to be able to access all of their inbox
98
- contents. Depending on access control, some other content may be public,
99
- whereas other content may require authentication for non-owner users,
100
- if they can access the inbox at all.
101
-
102
- The server MUST perform de-duplication of activities returned by the inbox.
103
- Duplication can occur if an activity is addressed both to an actor's
104
- followers, and a specific actor who also follows the recipient actor,
105
- and the server has failed to de-duplicate the recipients list.
106
- Such deduplication MUST be performed by comparing the `id` of the activities
107
- and dropping any activities already seen.
108
- range:
109
- - "https://www.w3.org/ns/activitystreams#OrderedCollection"
110
- - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
111
-
112
- - singularName: outbox
113
- functional: true
114
- compactName: outbox
115
- uri: "https://www.w3.org/ns/activitystreams#outbox"
116
- description: |
117
- The outbox stream contains activities the user has published,
118
- subject to the ability of the requestor to retrieve the activity
119
- (that is, the contents of the outbox are filtered by the permissions of
120
- the person reading it). If a user submits a request without
121
- [Authorization](https://www.w3.org/TR/activitypub/#authorization)
122
- the server should respond with all of the
123
- [Public](https://www.w3.org/TR/activitypub/#public-addressing) posts.
124
- This could potentially be all relevant objects published by the user,
125
- though the number of available items is left to the discretion of those
126
- implementing and deploying the server.
127
- range:
128
- - "https://www.w3.org/ns/activitystreams#OrderedCollection"
129
- - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
130
-
131
- - singularName: following
132
- functional: true
133
- compactName: following
134
- uri: "https://www.w3.org/ns/activitystreams#following"
135
- description: |
136
- This is a list of everybody that the actor has followed, added as a
137
- [side effect](https://www.w3.org/TR/activitypub/#follow-activity-outbox).
138
- The `following` collection MUST be either an {@link OrderedCollection}
139
- or a {@link Collection} and MAY be filtered on privileges of
140
- an authenticated user or as appropriate when no authentication is given.
141
- range:
142
- - "https://www.w3.org/ns/activitystreams#Collection"
143
-
144
- - singularName: followers
145
- functional: true
146
- compactName: followers
147
- uri: "https://www.w3.org/ns/activitystreams#followers"
148
- description: |
149
- This is a list of everyone who has sent a {@link Follow} activity
150
- for the actor, added as a
151
- [side effect](https://www.w3.org/TR/activitypub/#follow-activity-outbox).
152
- This is where one would find a list of all the actors that are following
153
- the actor. The `followers` collection MUST be either
154
- an {@link OrderedCollection} or a {@link Collection} and MAY be filtered on
155
- privileges of an authenticated user or as appropriate when no authentication
156
- is given.
157
- range:
158
- - "https://www.w3.org/ns/activitystreams#Collection"
159
-
160
- - singularName: liked
161
- functional: true
162
- compactName: liked
163
- uri: "https://www.w3.org/ns/activitystreams#liked"
164
- description: |
165
- This is a list of every object from all of the actor's {@link Like}
166
- activities, added as a
167
- [side effect](https://www.w3.org/TR/activitypub/#like-activity-outbox).
168
- The `liked` collection MUST be either an {@link OrderedCollection} or
169
- a {@link Collection} and MAY be filtered on privileges of an authenticated
170
- user or as appropriate when no authentication is given.
171
- range:
172
- - "https://www.w3.org/ns/activitystreams#Collection"
173
-
174
- - singularName: featured
175
- functional: true
176
- compactName: featured
177
- uri: "http://joinmastodon.org/ns#featured"
178
- description: |
179
- What is known in Mastodon as "pinned statuses", or statuses that are always
180
- featured at the top of people's profiles, is implemented using an extra
181
- property `featured` on the actor object that points to a {@link Collection}
182
- of objects.
183
- range:
184
- - "https://www.w3.org/ns/activitystreams#Collection"
185
-
186
- - singularName: featuredTags
187
- functional: true
188
- compactName: featuredTags
189
- uri: "http://joinmastodon.org/ns#featuredTags"
190
- description: |
191
- What is known in Mastodon as "featured hashtags", hashtags that are featured
192
- at people's profiles, is implemented using an extra property `featuredTags`
193
- on the actor object that points to a {@link Collection} of {@link Hashtag}
194
- objects specifically.
195
- range:
196
- - "https://www.w3.org/ns/activitystreams#Collection"
197
-
198
- - pluralName: streams
199
- singularName: stream
200
- singularAccessor: false
201
- compactName: streams
202
- uri: "https://www.w3.org/ns/activitystreams#streams"
203
- description: |
204
- A list of supplementary Collections which may be of interest.
205
- range:
206
- - "https://www.w3.org/ns/activitystreams#Collection"
207
-
208
- - singularName: endpoints
209
- functional: true
210
- compactName: endpoints
211
- uri: "https://www.w3.org/ns/activitystreams#endpoints"
212
- description: |
213
- A JSON object which maps additional (typically server/domain-wide) endpoints
214
- which may be useful either for this actor or someone referencing this actor.
215
- This mapping may be nested inside the actor document as the value or may be
216
- a link to a JSON-LD document with these properties.
217
- range:
218
- - "https://www.w3.org/ns/activitystreams#Endpoints"
219
-
220
- - singularName: discoverable
221
- functional: true
222
- compactName: discoverable
223
- uri: "http://joinmastodon.org/ns#discoverable"
224
- description: |
225
- Allows users to opt-in or opt-out of discoverability features like
226
- the profile directory. This flag may also be used as an indicator of
227
- the user's preferences toward being included in external discovery services,
228
- such as search engines or other indexing tools.
229
- range:
230
- - "http://www.w3.org/2001/XMLSchema#boolean"
231
-
232
- - singularName: suspended
233
- functional: true
234
- compactName: suspended
235
- uri: "http://joinmastodon.org/ns#suspended"
236
- description: |
237
- Reports whether a user was locally suspended, for better handling of
238
- these accounts.
239
- range:
240
- - "http://www.w3.org/2001/XMLSchema#boolean"
241
-
242
- - singularName: memorial
243
- functional: true
244
- compactName: memorial
245
- uri: "http://joinmastodon.org/ns#memorial"
246
- description: Whether the actor is in-memorial state.
247
- range:
248
- - "http://www.w3.org/2001/XMLSchema#boolean"
249
-
250
- - singularName: indexable
251
- functional: true
252
- compactName: indexable
253
- uri: "http://joinmastodon.org/ns#indexable"
254
- description: Whether the actor allows to be indexed.
255
- range:
256
- - "http://www.w3.org/2001/XMLSchema#boolean"
257
-
258
- - singularName: successor
259
- functional: true
260
- compactName: movedTo
261
- uri: "https://www.w3.org/ns/activitystreams#movedTo"
262
- description: >-
263
- Signifies that an actor has been moved to a different ID.
264
- Used in Mastodon-style data portability with the {@link Move} activity;
265
- see [ActivityPub Data Portability/Move
266
- Action](https://swicg.github.io/activitypub-data-portability/#move-action)
267
- for more details.
268
- range:
269
- - "https://www.w3.org/ns/activitystreams#Application"
270
- - "https://www.w3.org/ns/activitystreams#Group"
271
- - "https://www.w3.org/ns/activitystreams#Organization"
272
- - "https://www.w3.org/ns/activitystreams#Person"
273
- - "https://www.w3.org/ns/activitystreams#Service"
274
-
275
- - pluralName: aliases
276
- singularName: alias
277
- singularAccessor: true
278
- compactName: alsoKnownAs
279
- uri: "https://www.w3.org/ns/activitystreams#alsoKnownAs"
280
- description: |
281
- The `aliases` (`alsoKnownAs`) property is used to specify alternative names
282
- or aliases for an entity. It can be used to provide additional identifiers
283
- or labels for an entity, which can be useful in scenarios where an entity
284
- may have multiple names or aliases.
285
- range:
286
- - "https://www.w3.org/ns/activitystreams#Application"
287
- - "https://www.w3.org/ns/activitystreams#Group"
288
- - "https://www.w3.org/ns/activitystreams#Organization"
289
- - "https://www.w3.org/ns/activitystreams#Person"
290
- - "https://www.w3.org/ns/activitystreams#Service"
291
-
292
- - pluralName: services
293
- singularName: service
294
- singularAccessor: true
295
- compactName: service
296
- uri: "https://www.w3.org/ns/did#service"
297
- description: |
298
- Means of communicating or interacting with the DID subject or associated
299
- entities via one or more service endpoints. Examples include discovery
300
- services, agent services, social networking services, file storage services,
301
- and verifiable credential repository services.
302
- range:
303
- - "https://www.w3.org/ns/did#Service"
304
-
305
- - singularName: followedMessage
306
- functional: true
307
- compactName: _misskey_followedMessage
308
- uri: "https://misskey-hub.net/ns#_misskey_followedMessage"
309
- description: |
310
- This value is used for `Actor` type objects to show message on followed.
311
- range:
312
- - "http://www.w3.org/2001/XMLSchema#string"
313
-
314
- - singularName: cat
315
- functional: true
316
- compactName: isCat
317
- uri: "https://misskey-hub.net/ns#isCat"
318
- description: |
319
- Used on actors to indicate that they in some way identify as a cat,
320
- expressed as a boolean value. If this property is set to `true`,
321
- displaying the actor or their notes will have some special effects
322
- attached in some clients.
323
- range:
324
- - "http://www.w3.org/2001/XMLSchema#boolean"