Adds recommendations, endorsements and changes from tags to nip-32 labels for skills

This commit is contained in:
Vitor Pamplona 2024-04-25 09:38:45 -04:00
parent 72a5bd179a
commit d1e2e58dbf

35
55.md
View File

@ -59,11 +59,42 @@ This NIP defines event kind `11000` as the pubkey's resume. Life acomplishments
"<start unix timestamp>", "<end unix timestamp>", // blank if currently working there. "<start unix timestamp>", "<end unix timestamp>", // blank if currently working there.
"<volunteer summary>" "<volunteer summary>"
], ],
["t", "<skill>"], ["L", "<skill-ontology>"],
["l", "<skill>", "<skill-ontology>"],
], ],
"content": "<summary or mini bio>", "content": "<summary or mini bio>",
//... //...
} }
``` ```
All tags can happen more than once. All tags can happen more than once.
## Skill Endorsements
NIP-32 labels SHOULD be used to endorse the resume's skills. The `a` tag MUST be added to link to the resume.
```json
{
"kind": 1985,
"tags": [
["L", "<skill-ontology>"],
["l", "<skill>", "<skill-ontology>"],
["a", "11000:<pubkey>:"]
],
...
}
```
## Recommendations
Kind `518` MUST be used to write a recommendation into a resume. The `a` tag MUST be added to link to the resume.
```json
{
"kind": 518,
"tags": [
["a", "11000:<pubkey>:"]
],
"content": "<recommendation text>"
}
```