Conform L and l tags to NIP-32

This commit is contained in:
Josh 2025-10-05 11:35:47 -04:00
parent 42f5563123
commit 4b750618ad
2 changed files with 9 additions and 5 deletions

10
41.md
View File

@ -30,7 +30,8 @@ Clients need a simple, relay-indexable way to discover physical places (e.g., RV
- `["address", "<street>", "<city>", "<region>", "<postal>", "<country>"]`
- `["amenity", "<amenity type>"]`
- `["hours", "<day of week abbrevation>", "<shift one>", "<shift two>", ...]` - e.g., ["hours","thu","09:00/12:30","13:30/17:00"]
- `["l", "<type>"]` — freeform type labels used to reduce results for usecase (e.g., `business`, `rv_park`, `restaurant`, etc.)
- `["L", "physical-location"]`
- `["l", "<physical-location-type>", "physical-location"]` - freeform type labels used to reduce results for usecase (e.g., `business`, `rv-park`, `restaurant`, etc.)
### 3.3. Optional tags
@ -89,7 +90,7 @@ Clients need a simple, relay-indexable way to discover physical places (e.g., RV
"djj2",
"djj8"
],
"#l": ["rv_park"]
"#l": ["rv-park"]
}
```
@ -116,8 +117,9 @@ Clients need a simple, relay-indexable way to discover physical places (e.g., RV
"created_at": 1758720595,
"tags": [
["d", "permit:FL:1234567"],
["l", "business"],
["l", "rv_park"],
["L", "physical-location"],
["l", "business", "physical-location"],
["l", "rv-park", "physical-location"],
["name", "Lochloosa Harbor RV Park"],
["payment_method", "USD", "credit_card"],
["payment_method", "USD", "apple_pay"],

View File

@ -57,6 +57,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
- [NIP-38: User Statuses](38.md)
- [NIP-39: External Identities in Profiles](39.md)
- [NIP-40: Expiration Timestamp](40.md)
- [NIP-41: Physical Locations](41.md)
- [NIP-42: Authentication of clients to relays](42.md)
- [NIP-44: Encrypted Payloads (Versioned)](44.md)
- [NIP-45: Counting results](45.md)
@ -264,9 +265,10 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
| `31990` | Handler information | [89](89.md) |
| `32267` | Software Application | |
| `34550` | Community Definition | [72](72.md) |
| `37515` | Physical Location | [42](42.md) |
| `37516` | Geocache listing | [geocaching](geocaching) |
| `38172` | Cashu Mint Announcement | [87](87.md) |
| `38173` | Fedimint Announcement | [87](87.md) |
| `37516` | Geocache listing | [geocaching](geocaching) |
| `38383` | Peer-to-peer Order events | [69](69.md) |
| `39000-9` | Group metadata events | [29](29.md) |
| `39089` | Starter packs | [51](51.md) |