Nostr Schemata

JSON Schema definitions for Nostr events. Access schemas directly by kind:

Note Schemas

Access via: ./note/kind/{kind}.json

Example: ./note/kind/0.json for profile metadata

Example: ./note/kind/1.json for text note

Tag Schemas

Access via: ./tag/{tag_name}.json

Example: ./tag/e.json for event reference tags

Example: ./tag/p.json for pubkey tags

Example: ./tag/a.json for replaceable event tags

Example: ./tag/t.json for hashtag tags

Protocol Message Schemas

Access via: ./message/{message_type}.json

Example: ./message/REQ.json for request messages

Example: ./message/EVENT.json for event messages

Example: ./message/OK.json for acknowledgment messages

Repository

View source and contribute at GitHub