summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfr33domlover <fr33domlover@riseup.net>2019-07-02 14:50:17 +0300
committerfr33domlover <fr33domlover@riseup.net>2019-07-02 14:50:17 +0300
commitfdb4076f365c15645ae847e4124149d474320abe (patch)
tree16fd0ad14bb0aabeacaa11afec6f223baab34606
parent3e19f2f26a8d1a36b862f4163a6a03ccbdd12f9d (diff)
Tweak wording about @context on vocab spec
-rw-r--r--specification/forgefed-vocabulary.md29
1 files changed, 20 insertions, 9 deletions
diff --git a/specification/forgefed-vocabulary.md b/specification/forgefed-vocabulary.md
index c25f0ed..cc4a456 100644
--- a/specification/forgefed-vocabulary.md
+++ b/specification/forgefed-vocabulary.md
@@ -27,18 +27,29 @@ version control system hosting and collaboration platforms.
# Introduction
The ForgeFed Vocabulary describes a set of types and properties to be used by
-platforms that support the ForgeFed protocol.
+platforms that support the ForgeFed protocol. This specification describes only
+the new vocabulary called ForgeFed. The ForgeFed behavior specification
+describes how to use this vocabulary, along with standard ActivityPub
+vocabulary, to support the ForgeFed protocol.
# Types
-The base URI to be used as context for the new ForgeFed types and properties has
-been defined to be `https://forgefed.peers.community/ns#`. Therefore any ForgeFed
-activity MUST use the following `context`
-
- "@context": [
- "https://www.w3.org/ns/activitystreams",
- "https://forgefed.peers.community/ns"
- ]
+The base URI of all ForgeFed terms is `https://forgefed.peers.community/ns#`.
+The ForgeFed vocabulary has a JSON-LD context whose URI is
+`https://forgefed.peers.community/ns`. Implementers MUST either include the
+ActivityPub context and the ForgeFed contexts in their object definitions, or
+other contexts that would result with the ActivityPub and ForgeFed terms being
+assigned they correct full URIs. Implementers MAY include additional contexts
+and terms as appropriate.
+
+A typical `@context` of a ForgeFed object may look like this:
+
+```json
+"@context": [
+ "https://www.w3.org/ns/activitystreams",
+ "https://forgefed.peers.community/ns"
+]
+```
## Activity Types