mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
formatting fixes
This commit is contained in:
parent
da8fb5663f
commit
d6c5772a9d
34
113.md
34
113.md
|
@ -27,14 +27,14 @@ Activities MAY include an `r` tag, which will include a URL to the location wher
|
|||
"kind": 30100,
|
||||
"content": "<description-of-activity>",
|
||||
"tags": [
|
||||
['title', 'Title of Activity'],
|
||||
['t', '<activity-type-from-nip>']
|
||||
['d', 'UUID generated by client'],
|
||||
['r', 'url to download activity file'],
|
||||
['published_at', '<unix-timestamp>'],
|
||||
['updated_at', '<unix-timestamp>'],
|
||||
['recorded_at', '<unix-timestamp>']
|
||||
['encrypted'] // Optional, activity file is encrypted
|
||||
["title", "Title of Activity"],
|
||||
["t", "<activity-type-from-nip>"]
|
||||
["d", "UUID generated by client"],
|
||||
["r", "url to download activity file"],
|
||||
["published_at", "<unix-timestamp>"],
|
||||
["updated_at", "<unix-timestamp>"],
|
||||
["recorded_at", "<unix-timestamp>"]
|
||||
["encrypted"] // Optional, activity file is encrypted
|
||||
],
|
||||
}
|
||||
```
|
||||
|
@ -57,14 +57,14 @@ This NIP does not attempt to describe all the different summaries that users cou
|
|||
kind: 30101,
|
||||
content: "JSON.stringify(summary)",
|
||||
tags: [
|
||||
['d', 'UUID generated by client'],
|
||||
['r', '<UUID-of-activity>'],
|
||||
['t', 'general-summary'],
|
||||
['g', 'OPTIONAL geohash'],
|
||||
['unit', 'OPTIONAL imperial | metric'],
|
||||
['published_at', '<unix-timestamp>'],
|
||||
['updated_at', '<unix-timestamp>']
|
||||
['encrypted'] // Optional, summary content is encrypted
|
||||
["d", "UUID generated by client"],
|
||||
["r", "<UUID-of-activity>"],
|
||||
["t", "general-summary"],
|
||||
["g", "OPTIONAL geohash"],
|
||||
["unit", "OPTIONAL imperial | metric"],
|
||||
["published_at", "<unix-timestamp>"],
|
||||
["updated_at", "<unix-timestamp>"]
|
||||
["encrypted"] // Optional, summary content is encrypted
|
||||
],
|
||||
}
|
||||
```
|
||||
|
@ -90,6 +90,7 @@ Examples:
|
|||
If a user wishes to encrypt a summary or activity, they should use the [NIP-44](NIP-44.md) encryption schema to encrypt the content being uploaded. i.e. if an activity is `encrypted` and it includes a link to an activity file to download, that activity file is encrypted via NIP-44.
|
||||
|
||||
## Appendix A - Activity Types
|
||||
```
|
||||
run
|
||||
trail-run
|
||||
hike
|
||||
|
@ -137,3 +138,4 @@ windsurf
|
|||
wheelchair
|
||||
workout
|
||||
yoga
|
||||
```
|
Loading…
Reference in New Issue
Block a user