Expand description
Vocabulary types generated from Fedify’s schemas.
Do not edit this file. It is written by cargo run -p ojak-vocab-gen
from crates/ojak-vocab/schemas, which are Fedify’s work under the MIT
license in that directory, and a test fails when it differs from what the
generator would write now.
Each type reads a document in the form crate::read produces and writes
one in the same spelling. A property that may take several types takes an
enum of them, with Iri for a reference and Other for anything no
schema describes.
Structs§
- Accept
- Indicates that the
actoraccepts theobject. Thetargetproperty can be used in certain circumstances to indicate the context into which theobjecthas been accepted. - Activity
- An Activity is a subtype of {@link Object} that describes some form of action that may happen, is currently happening, or has already happened. The {@link Activity} type itself serves as an abstract base type for all types of activities. It is important to note that the {@link Activity} type itself does not carry any specific semantics about the kind of action being taken.
- Add
- Indicates that the
actorhas added theobjectto thetarget. If thetargetproperty is not explicitly specified, the target would need to be determined implicitly by context. Theorigincan be used to identify the context from which theobjectoriginated. - Agreement
- The agreement reached between parties responding to a {@link Proposal}.
- Announce
- Indicates that the
actoris calling thetarget’s attention theobject. - Announce
Authorization - Proves that an {@link Announce} interaction has been approved by the post author.
- Announce
Request - A request to announce (boost) a post that requires approval from the post author.
- Application
- Describes a software application.
- Arrive
- An
IntransitiveActivitythat indicates that theactorhas arrived at thelocation. Theorigincan be used to identify the context from which theactororiginated. Thetargettypically has no defined meaning. - Article
- Represents any kind of multi-paragraph written work.
- Audio
- Represents an audio document of any kind.
- Block
- Indicates that the
actoris blocking theobject. Blocking is a stronger form of {@link Ignore}. The typical use is to support social systems that allow one user to block activities or content of other users. Thetargetandorigintypically have no defined meaning. - Chat
Message ChatMessages are the messages sent in 1-on-1 chats. They are similar to {@link Note}s, but the addressing is done by having a single AP actor in thetofield. Addressing multiple actors is not allowed. These messages are always private, there is no public version of them. They are created with a {@link Create} activity.- Collection
- A
Collectionis a subtype of {@link Object} that represents ordered or unordered sets of {@link Object} or {@link Link} instances. - Collection
Page - Used to represent distinct subsets of items from a
Collection. Refer to the Activity Streams 2.0 Core for a complete description of theCollectionPageobject. - Commitment
- A promised economic transaction, referenced by an {@link Agreement}.
- Create
- Indicates that the
actorhas created theobject. - Cryptographic
Key - A key owned by an actor.
- Data
Integrity Proof - A proof that can be added to any activity or object, allowing recipients to verify the identity of the actor and the integrity of the data.
- Delete
- Indicates that the
actorhas deleted theobject. If specified, theoriginindicates the context from which theobjectwas deleted. - DidService
- Means of communicating or interacting with the DID subject or associated entities via one or more service endpoints. Examples include discovery services, agent services, social networking services, file storage services, and verifiable credential repository services.
- Dislike
- Indicates that the
actordislikes theobject. - Document
- Represents a document of any kind.
- Emoji
- Represents a custom emoji.
- Emoji
React - Represents an emoji reaction. See also FEP-c0e0.
- Endpoints
- Contents of {@link Actor}’s
endpoints. - Event
- Represents any kind of event.
- Export
- “Export Actor” service.
- Feature
Authorization - Proves that an actor consented to being included in a {@link FeaturedCollection}.
- Feature
Request - A request for consent before featuring an actor in a {@link FeaturedCollection}.
- Featured
Collection - A curated collection of recommended actors or other objects.
- Featured
Item - A single entry in a {@link FeaturedCollection}.
- Flag
- Indicates that the
actoris “flagging” theobject. Flagging is defined in the sense common to many social platforms as reporting content as being inappropriate for any number of reasons. - Follow
- Indicates that the
actoris “following” theobject. Following is defined in the sense typically used within Social systems in which the actor is interested in any activity performed by or on the object. Thetargetandorigintypically have no defined meaning. - Group
- Represents a formal or informal collective of Actors.
- Hashtag
- A specialized {@link Link} that represents an #hashtag.
- Ignore
- Indicates that the
actoris ignoring theobject. Thetargetandorigintypically have no defined meaning. - Image
- An image document of any kind.
- Intent
- A proposed economic transaction describing what is being offered or requested in a {@link Proposal}.
- Interaction
Policy - Represents an interaction policy attached to a post, specifying who can like, reply to, announce, or quote it. Each sub-policy ({@link InteractionRule}) defines which actors receive automatic or manual approval.
- Interaction
Rule - Represents a sub-policy within an {@link InteractionPolicy}, defining which actors receive automatic or manual approval for a specific interaction type (like, reply, or announce).
- Intransitive
Activity - Instances of
IntransitiveActivityare a subtype of {@link Activity} representing intransitive actions. Theobjectproperty is therefore inappropriate for these activities. - Invite
- A specialization of
Offerin which theactoris extending an invitation for theobjectto thetarget. - Join
- Indicates that the
actorhas joined theobject. Thetargetandorigintypically have no defined meaning. - Leave
- Indicates that the
actorhas left theobject. Thetargetandorigintypically have no meaning. - Like
- Indicates that the
actorlikes, recommends or endorses theobject. Thetargetandorigintypically have no defined meaning. - Like
Authorization - Proves that a {@link Like} interaction has been approved by the post author.
- Like
Request - A request to like a post that requires approval from the post author.
- Link
- A Link is an indirect, qualified reference to a resource identified by a URL.
The fundamental model for links is established by RFC 5988. Many of the
properties defined by the Activity Vocabulary allow values that are either
instances of {@link Object} or {@link Link}. When a {@link Link} is used,
it establishes a qualified relation connecting the subject (the containing
object) to the resource identified by the
href. Properties of the {@link Link} are properties of the reference as opposed to properties of the resource. - Listen
- Indicates that the
actorhas listened to theobject. - Measure
- A quantity with a unit of measure.
- Mention
- A specialized {@link Link} that represents an @mention.
- Move
- Indicates that the
actorhas movedobjectfromorigintotarget. If theoriginortargetare not specified, either can be determined by context. - Multikey
- Represents a key owned by an actor according to FEP-521a: Representing actor’s public keys.
- Note
- Represents a short written work typically less than a single paragraph in length.
- Object
- Describes an object of any kind. The Object type serves as the base type for most of the other kinds of objects defined in the Activity Vocabulary, including other Core types such as {@link Activity}, {@link IntransitiveActivity}, {@link Collection} and {@link OrderedCollection}.
- Offer
- Indicates that the actor is offering the object. If specified, the target indicates the entity to which the object is being offered.
- Ordered
Collection - A subtype of {@link Collection} in which members of the logical collection are assumed to always be strictly ordered.
- Ordered
Collection Page - Used to represent ordered subsets of items from an
OrderedCollection. Refer to the Activity Streams 2.0 Core for a complete description of theOrderedCollectionPageobject. - Organization
- Represents an organization.
- Page
- Represents a Web Page.
- Person
- Represents an individual person.
- Place
- Represents a logical or physical location. See 5.3 Representing Places for additional information.
- Profile
- A {@link Profile} is a content object that describes another {@link Object}, typically used to describe Actor Type objects. The {@link Profile.describes} property is used to reference the object being described by the profile.
- Property
Value - A pair of property name and value.
- Proposal
- A published request or offer, sometimes with what is expected in return.
- Question
- Represents a question being asked. Question objects are an extension of
{@link IntransitiveActivity}. That is, the Question object is an Activity,
but the direct object is the question itself and therefore it would not
contain an
objectproperty. - Quote
Authorization - Proves that a quote interaction has been approved by the quoted object’s author.
- Quote
Request - A request to quote an object that requires approval from the quoted object’s author.
- Read
- Indicates that the
actorhas read theobject. - Reject
- Indicates that the
actoris rejecting theobject. Thetargetandorigintypically have no defined meaning. - Relationship
- Describes a relationship between two individuals. The {@link Relationship.subject} and {@link Relationship.object} properties are used to identify the connected individuals.
- Remove
- Indicates that the
actoris removing theobject. If specified, theoriginindicates the context from which theobjectis being removed. - Reply
Authorization - Proves that a reply interaction has been approved by the post author.
- Reply
Request - A request to reply to a post that requires approval from the post author.
- Service
- Represents a service of any kind.
- Source
- Contents of {@link Object}’s
source. - Tentative
Accept - A specialization of {@link Accept} indicating that the acceptance is tentative.
- Tentative
Reject - A specialization of {@link Reject} in which the rejection is considered tentative.
- Tombstone
- A
Tombstonerepresents a content object that has been deleted. It can be used in {@link Collection}s to signify that there used to be an object at this position, but it has been deleted. - Translation
- Translator credit and source freshness for one language version of an {@link Object}, as defined by the draft FEP-22cd. This is embedded metadata, not an independent post or activity target. Its optional identifier need not be dereferenceable and does not establish trust in embedded translator actors.
- Travel
- Indicates that the
actoris traveling totargetfromorigin.Travelis anIntransitiveObjectwhoseactorspecifies the direct object. If thetargetororiginare not specified, either can be determined by context. - Undo
- Indicates that the
actoris undoing theobject. In most cases, theobjectwill be an {@link Activity} describing some previously performed action (for instance, a person may have previously “liked” an article but, for whatever reason, might choose to undo that like at some later point in time). - Update
- Indicates that the
actorhas updated theobject. Note, however, that this vocabulary does not define a mechanism for describing the actual set of modifications made toobject. - Video
- Represents a video document of any kind.
- View
- Indicates that the
actorhas viewed the object.
Enums§
- AnyActor
- A value of
Application,Group,Organization,Person,Service, or of a type extending one of them. - AnyCollection
- A value of
Collection, or of a type extending one of them. - AnyCollection
Page - A value of
CollectionPage, or of a type extending one of them. - AnyDid
Service - A value of
DidService, or of a type extending one of them. - AnyObject
- A value of
Object, or of a type extending one of them. - AnyOrdered
Collection - A value of
OrderedCollection, or of a type extending one of them. - Boolean
OrDate Time - A value of
Boolean,DateTime, or of a type extending one of them. - IriOr
Units - A value of
Iri,Units, or of a type extending one of them. - Link
OrIri - A value of
Iri,Link, or of a type extending one of them. - Link
OrObject - A value of
Link,Object, or of a type extending one of them. - Link
OrObject OrProperty Value - A value of
PropertyValue,Link,Object, or of a type extending one of them. - Ordered
Collection OrOrdered Collection Page - A value of
OrderedCollection,OrderedCollectionPage, or of a type extending one of them.