diff options
| author | mattn <mattn.jp@gmail.com> | 2025-12-08 19:59:59 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-08 07:59:59 -0300 |
| commit | 5d64d57fc54b4765eaeb131010135e39461bfe09 (patch) | |
| tree | 410e0406b9eae343e17572c44b0085cccc131155 | |
| parent | a6db7917f250a9727a6a0380f80d74cd26e92eaa (diff) | |
fix typos (#2152)
| -rw-r--r-- | 58.md | 2 | ||||
| -rw-r--r-- | C0.md | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -11,7 +11,7 @@ user profiles: | |||
| 11 | 11 | ||
| 12 | 1. A "Badge Definition" event is defined as an addressable event with kind `30009` having a `d` tag with a value that uniquely identifies the badge (e.g. `bravery`) published by the badge issuer. Badge definitions can be updated. | 12 | 1. A "Badge Definition" event is defined as an addressable event with kind `30009` having a `d` tag with a value that uniquely identifies the badge (e.g. `bravery`) published by the badge issuer. Badge definitions can be updated. |
| 13 | 13 | ||
| 14 | 2. A "Badge Award" event is a kind `8` event with a single `a` tag referencing a "Badge Definition" event and one or more `p` tags, one for each pubkey the badge issuer wishes to award. Awarded badges are immutable and non-transferrable. | 14 | 2. A "Badge Award" event is a kind `8` event with a single `a` tag referencing a "Badge Definition" event and one or more `p` tags, one for each pubkey the badge issuer wishes to award. Awarded badges are immutable and non-transferable. |
| 15 | 15 | ||
| 16 | 3. A "Profile Badges" event is defined as an _addressable event_ with kind `30008` with a `d` tag with the value `profile_badges`. | 16 | 3. A "Profile Badges" event is defined as an _addressable event_ with kind `30008` with a `d` tag with the value `profile_badges`. |
| 17 | Profile badges contain an ordered list of pairs of `a` and `e` tags referencing a `Badge Definition` and a `Badge Award` for each badge to be displayed. | 17 | Profile badges contain an ordered list of pairs of `a` and `e` tags referencing a `Badge Definition` and a `Badge Award` for each badge to be displayed. |
| @@ -25,7 +25,7 @@ The `.content` field contains the actual code snippet text. | |||
| 25 | - `runtime` - Runtime or environment specification (e.g., "node v18.15.0", "python 3.11") | 25 | - `runtime` - Runtime or environment specification (e.g., "node v18.15.0", "python 3.11") |
| 26 | - `license` - License under which the code (along with any related data contained within the event, when available, such as the description) is shared. This MUST be a standard [SPDX](https://spdx.org/licenses/) short identifier (e.g., "MIT", "GPL-3.0-or-later", "Apache-2.0") when available. An additional parameter containing a reference to the actual text of the license MAY be provided. This tag can be repeated, to indicate multi-licensing, allowing recipients to use the code under any license of choosing among the referenced ones | 26 | - `license` - License under which the code (along with any related data contained within the event, when available, such as the description) is shared. This MUST be a standard [SPDX](https://spdx.org/licenses/) short identifier (e.g., "MIT", "GPL-3.0-or-later", "Apache-2.0") when available. An additional parameter containing a reference to the actual text of the license MAY be provided. This tag can be repeated, to indicate multi-licensing, allowing recipients to use the code under any license of choosing among the referenced ones |
| 27 | - `dep` - Dependency required for the code to run (can be repeated) | 27 | - `dep` - Dependency required for the code to run (can be repeated) |
| 28 | - `repo` - Reference to a repository where this code originates. This MUST be a either standard URL or, alternatively, the address of a [NIP-34](34.md) Git repository annoucement event in the form `"30617:<32-bytes hex a pubkey>:<d tag value>"`. If a repository announcement is referenced, a recommended relay URL where to find the event should be provided as an additional parameter | 28 | - `repo` - Reference to a repository where this code originates. This MUST be a either standard URL or, alternatively, the address of a [NIP-34](34.md) Git repository announcement event in the form `"30617:<32-bytes hex a pubkey>:<d tag value>"`. If a repository announcement is referenced, a recommended relay URL where to find the event should be provided as an additional parameter |
| 29 | 29 | ||
| 30 | ## Format | 30 | ## Format |
| 31 | 31 | ||