====== Extension (object) ======
**Extensions** represent any arbitrary object, whose content and semantics are defined by a third-party [[:extension]], and are one of the 5 types of pushable [[:object]].
**Careful!** A stand-alone "extension object" (as described on this page) is not the same thing as an "extension property" on another object, such as a [[note]] or [[actor]]. Extension properties do not need to have any of the fields specified here, can be any JSON type (not just objects), and should not be accessible at their own URI.
===== Schema =====
* type: "extension"
* self: uri(extension) required
* extension: uri
* [other fields as defined by the extension]
===== Example =====
(note that this is completely made up and is not meant to represent any real extension)
{
"type": "extension",
"self": "https://social.example/presence/10",
"extension": "https://example.org/extension/presence",
"actor": "https://social.example/actor/10",
"presence": "online",
"timestamp": "2025-03-22T07:42:32+00:00",
"message": "hi guys"
}