Skip to content

Commit

Permalink
Add Offer class to Activity Vocabulary API
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Jun 20, 2024
1 parent fd936ae commit d5a0074
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ To be released.
- The default `rules` for `kvCache()` function are now 5 minutes for all
URLs.

- Added `Offer` class to Activity Vocabulary API.
[[#65], [#76]]

[#74]: https://github.com/dahlia/fedify/issues/74
[#76]: https://github.com/dahlia/fedify/pull/76


Version 0.10.0
Expand Down
13 changes: 13 additions & 0 deletions vocab/offer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
$schema: ../codegen/schema.yaml
name: Offer
uri: "https://www.w3.org/ns/activitystreams#Offer"
extends: "https://www.w3.org/ns/activitystreams#Activity"
entity: true
description: |
Indicates that the actor is offering the object.
If specified, the target indicates the entity to which
the object is being offered.
defaultContext:
- "https://www.w3.org/ns/activitystreams"
- "https://w3id.org/security/data-integrity/v1"
properties: []

0 comments on commit d5a0074

Please sign in to comment.