Here is my first stab at a generic data model for a neo4j relay.
It has 5 types of nodes: NostrUser, NostrEvent, NostrEventTag, NostrRelay, and a node that stores personalized trust metrics called NostrUserWotMetricsCard.
It also defines relationships to indicate replies (NIP-10), reposts (NIP-18), comments (NIP-22), and reactions (NIP-25).
There are more details I could flesh out (like support for NIP-21, nostr:URI scheme) but this is a start.
Thoughts?
@ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ
@Jay
Thoughts?
@ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ
@Jay