1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-05 11:46:04 +00:00

FEP-e232: Add more examples (#173)

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/173
This commit is contained in:
silverpill
2023-10-14 16:24:46 +00:00
+23 -1
View File
@@ -27,7 +27,29 @@ If an object's `name`, `summary`, or `content` has qualified links to other obje
- `name` (OPTIONAL): the `name` SHOULD match the microsyntax used in object's content.
- `rel` (OPTIONAL): if relevant, the `rel` SHOULD specify how the link is related to the current resource. Using `rel` can provide additional purpose to object links by signaling specific intended use-cases.
Example:
## Examples
(This section is non-normative.)
A link to an issue in a bug tracker:
```json
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Note",
"content": "The bug was reported in #1374",
"tag": [
{
"type": "Link",
"mediaType": "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"",
"href": "https://forge.example/tickets/1374",
"name": "#1374"
}
]
}
```
An inline quote:
```json
{