1. Introduction
The fediverse vocabulary. This vocabulary includes all terms defined in [activitypub], [activitystreams-core], and [activitystreams-vocabulary]
2. Terms
2.1. owner
An owner is an entity that claims control over a particular resource. Note that ownership is best validated as a two-way relationship where the owner claims ownership over a particular resource, and the resource clearly identifies its owner.
The property’s value should be a URL, i.e., not a literal.
Examples: § 4.2 Example
2.2. publicKey
A public key property is used to specify a URL that contains information about a public key.
The property’s value should be a URL, i.e., not a literal.
Examples: § 4.2 Example
2.3. publicKeyPem
A public key PEM property is used to specify the PEM-encoded version of the public key. This encoding is compatible with almost every Secure Sockets Layer library implementation and typically plugs directly into functions initializing public keys.
Examples: § 4.2 Example
2.4. subject
The decentralized identifier (DID) that represents a cryptographic key belonging to an actor. See [fep-c390].
Examples: § 4.3 Example
3. Types
3.1. Hashtag
Used to represent a token in the content that is made searchable. Usually these tokens start with a hashtag '#'. The object of type hashtag contains the token as name and a href with a link to other objects tagged in the same way.
Examples: § 4.1 Example
3.2. VerifiableIdentityStatement
Identity proof is a JSON document that represents a verifiable bi-directional link between a Decentralized Identifier and an ActivityPub actor.
See [fep-c390].
Examples: § 4.3 Example
4. Examples
4.1. Example
{ "@context" : "https://purl.archive.org/fedi-2023/context.json" , "id" : "https://example.com/note/1" , "type" : "Note" , "content" : "This is a note containing a #tag" , "tag" : { "type" : "Hashtag" , "name" : "#tag" , "href" : "https://example.com/hashtags/tag" } }
4.2. Example
{ "@context" : "https://purl.archive.org/fedi-2023/context.json" , "icon" : { "mediaType" : "image/png" , "type" : "Image" , "url" : "https://mymath.rocks/static/moocow.png" }, "id" : "https://mymath.rocks/endpoints/mooocow" , "inbox" : "https://mymath.rocks/endpoints/mooin" , "name" : "Mooooing Cow" , "outbox" : "https://mymath.rocks/endpoints/mooout" , "preferredUsername" : "moocow" , "publicKey" : { "id" : "https://mymath.rocks/endpoints/mooocow#serverKey" , "owner" : "https://mymath.rocks/endpoints/mooocow" , "publicKeyPem" : "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsbJRKQbgk12Vy23o0eyZ\nC3dwhbuZ3zHdeP622Gb3kuo3eG8+TAouhkEiSTiTi3cKi7Xd8S1FYq1gzdPFBPSy\nrwOJRKgNTM7aOL0df6TKASXaVPU+rLuUZWFSW7rh3FFljQa2oPtplc0lran8ZCeU\ndBjx0k+OzG4fRWqzGQhErOIDqneBMbQt4xRBQT6vQlOybk7Y+LZlimVF7ztO4KEU\n6+rDwvfXl2n6Wz3UZ4qp5K+gScj3lnEZ+CAiBbsvFlMBGq2yBgc5Pve7PxRu/xcK\nx0IlNASFK4R2oPIeU/VqiMVy8LPZkJSH34cWE60Bn0EGz1HmxMREnoYlS427kPNj\noQIDAQAB\n-----END PUBLIC KEY-----\n" }, "summary" : "Mention me and I’ll reply publicly with moooo." , "type" : "Service" }
4.3. Example
{ "@context" : [ "https://purl.archive.org/fedi-2023/context.json" , "https://www.w3.org/ns/did/v1" , "https://w3id.org/security/data-integrity/v1" ], "type" : "Person" , "id" : "https://example.com/users/alice" , "inbox" : "https://example.com/users/alice/inbox" , "attachment" : { "type" : "VerifiableIdentityStatement" , "subject" : "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK" , "alsoKnownAs" : "https://example.com/users/alice" , "proof" : { "type" : "DataIntegrityProof" , "cryptosuite" : "jcs-rsa-2022" , "created" : "2022-11-12T00:00:00Z" , "verificationMethod" : "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK" , "proofPurpose" : "assertionMethod" , "proofValue" : " " } } }