Skip to content

Commit 98ed420

Browse files
author
Wes Biggs
committed
DIP-287 Add inReplyTo to Reply Notes
1 parent 9cb0bf8 commit 98ed420

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

pages/ActivityContent/Overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Activity Content Specification
2-
__Version 1.3.0__
2+
__Version pre-1.4.0__
33

44
Content references shared via the DSNP consist of URLs pointing to documents containing Activity Streams JSON objects.
55
For the purposes of the DSNP, restrictions are placed on the [Activity Streams 2.0](https://www.w3.org/TR/activitystreams-core/) specification.
@@ -45,11 +45,11 @@ URLs in DSNP-compatible Activity Content MUST use one of the following URL schem
4545
| [LibertyDSNP/activity-content-java](https://github.com/LibertyDSNP/activity-content-java) | Java/Kotlin |
4646
| [LibertyDSNP/activity-content-swift](https://github.com/LibertyDSNP/activity-content-swift) | Swift |
4747

48-
<!--- Uncomment for pre-release changes and prefix the version with `pre-[next version]`
48+
<!--- Uncomment for pre-release changes and prefix the version with `pre-[next version]` --->
4949
## Prerelease Changelog
5050

51-
- [DIP-xxx](https://github.com/LibertyDSNP/spec/issues/xxx) Name of Feature
52-
--->
51+
- [DIP-287](https://github.com/LibertyDSNP/spec/issues/287) DSNP Content URI Specificity
52+
5353

5454
## Releases
5555

pages/ActivityContent/Types/Note.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
| `attachment` | [Activity Vocabulary 2.0](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attachment) | no | Array of attached links or media | MUST be one of the [Supported Attachments](../Associated/Attachments.md) |
1414
| `tag` | [Activity Vocabulary 2.0](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag) | no | Array of tags/mentions | MUST follow [Tag Type](../Associated/Tag.md) |
1515
| `location` | [Activity Vocabulary 2.0](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-location) | no | For location | MUST follow [Location Type](../Associated/Location.md) |
16+
| `inReplyTo` | [Activity Vocabulary 2.0](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto) | no | Identifies the content being replied to | MUST be a [DSNP Content URI](../../DSNP/Identifiers.md#dsnp-content-uri) |
1617

1718
## Supported Content MIME Types
1819

@@ -22,6 +23,7 @@
2223

2324
## Examples
2425

26+
### Basic Note
2527
```json
2628
{
2729
"@context": "https://www.w3.org/ns/activitystreams",
@@ -32,6 +34,20 @@
3234
}
3335
```
3436

37+
### Note Replying to a DSNP Note
38+
```json
39+
{
40+
"@context": "https://www.w3.org/ns/activitystreams",
41+
"type": "Note",
42+
"inReplyTo": "dsnp://123456/bdyqdua4t4pxgy37mdmjyqv3dejp5betyqsznimpneyujsur23yubzna",
43+
"content": "Hello world!",
44+
"mediaType": "text/plain",
45+
"published": "1970-01-01T00:00:00+00:00"
46+
}
47+
```
48+
49+
### Note with a Link Attachment
50+
3551
```json
3652
{
3753
"@context": "https://www.w3.org/ns/activitystreams",

pages/DSNP/Overview.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DSNP Specification
2-
__Version 1.3.0__
2+
__Version pre-1.4.0__
33

44
DSNP (Decentralized Social Networking Protocol) is a social networking protocol designed to run on a blockchain.
55
It specifies a set of social primitives along with requirements for interoperability.
@@ -29,11 +29,10 @@ Compliant DSNP system specifications MUST document how each of the required DSNP
2929

3030
A compliant specification MUST specify a mapping from its system-specific state change data (for example, the events emitted by a blockchain) to the DSNP State Change Records that data represents.
3131

32-
<!--- Uncomment for pre-release changes and prefix the version with `pre-[next version]`
32+
<!--- Uncomment for pre-release changes and prefix the version with `pre-[next version]` --->
3333
## Prerelease Changelog
3434

35-
- [DIP-xxx](https://github.com/LibertyDSNP/spec/issues/xxx) Name of Feature
36-
--->
35+
- [DIP-287](https://github.com/LibertyDSNP/spec/issues/287) DSNP Content URI Specificity
3736

3837
## Releases
3938

0 commit comments

Comments
 (0)