upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2026-01-30 11:25:30 -0600
committerGitHub <noreply@github.com>2026-01-30 09:25:30 -0800
commit06593632a83563a2a4172901209ae10beb5decfa (patch)
tree3e67d0479c674d6e43216032b9d7816182cdf5aa
parentd071018d5a38e1a8a338bd81684fc3029705f5b9 (diff)
Add ISO 3166 countries to NIP-73 (#2205)
-rw-r--r--73.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/73.md b/73.md
index 7fb9a3c..3e975ae 100644
--- a/73.md
+++ b/73.md
@@ -18,6 +18,7 @@ There are certain established global content identifiers such as [Book ISBNs](ht
18| URLs | "`<URL, normalized, no fragment>`" | "web" | 18| URLs | "`<URL, normalized, no fragment>`" | "web" |
19| Books | "isbn:`<id, without hyphens>`" | "isbn" | 19| Books | "isbn:`<id, without hyphens>`" | "isbn" |
20| Geohashes | "geo:`<geohash, lowercase>`" | "geo" | 20| Geohashes | "geo:`<geohash, lowercase>`" | "geo" |
21| Countries | "iso3166:`<code, uppercase>`" | "iso3166" |
21| Movies | "isan:`<id, without version part>`" | "isan" | 22| Movies | "isan:`<id, without version part>`" | "isan" |
22| Papers | "doi:`<id, lowercase>`" | "doi" | 23| Papers | "doi:`<id, lowercase>`" | "doi" |
23| Hashtags | "#`<topic, lowercase>`" | "#" | 24| Hashtags | "#`<topic, lowercase>`" | "#" |
@@ -43,6 +44,21 @@ For the webpage "https://myblog.example.com/post/2012-03-27/hello-world" the "i"
43] 44]
44``` 45```
45 46
47### Geohashes:
48
49- Geohash: `["i", "geo:ezs42e44yx96"]` - https://www.movable-type.co.uk/scripts/geohash.html
50
51Geohashes are a geocoding system that encodes geographic locations into short strings of letters and digits. They MUST be lowercase.
52
53### Countries:
54
55ISO 3166 codes can reference countries (ISO 3166-1 alpha-2) or subdivisions like states/provinces (ISO 3166-2).
56
57- Country (Venezuela): `["i", "iso3166:VE"]`
58- Subdivision (California, USA): `["i", "iso3166:US-CA"]`
59
60ISO 3166 codes MUST be uppercase. More info: https://en.wikipedia.org/wiki/ISO_3166
61
46### Books: 62### Books:
47 63
48- Book ISBN: `["i", "isbn:9780765382030"]` - https://isbnsearch.org/isbn/9780765382030 64- Book ISBN: `["i", "isbn:9780765382030"]` - https://isbnsearch.org/isbn/9780765382030