144 source

https://w3id.org/class/redaktor/source

JSON

Inbox

Definition

In addition to all the properties defined by the Activity-Vocabulary, ActivityPub extends the Object by supplying the source property. The source property is intended to convey some sort of source from which the content markup was derived, as a form of provenance, or to support future editing by clients. In general, clients do the conversion from source to content, not the other way around.

The value of source is itself an object which uses its own content and mediaType fields to supply source information.
see (further info) https://www.w3.org/TR/activitypub/#source-property

Scope Note

ActivityPub Property

Example

Example 8

{
  "@context": ["https://www.w3.org/ns/activitystreams", {"@language": "en"}],
  "type": "Note",
  "id": "http://postparty.example/p/2415",
  "content": "<p>I <em>really</em> like strawberries!</p>",
  "source": {
    "content": "I *really* like strawberries!",
    "mediaType": "text/markdown"
  }
}