In nostr there is only one object type called an event. An object is kind of a way to define a thing. For example, contrary to popular belief, humans are objects. Even me. We have attributes that are common between us. Like eyes, hair, melanin, etc.
These attributes are in general the same, they can be described differently. For example my eyes might be blue, yours might be green.
This is true for events in nostr. Events, in general, will have the following attributes:
- id - a unique id
- pubkey - a public key
- created_at - timestamp of even creation
- kind - kind of event
- tags - list of tags
- content - content as a string (in simple terms, a string is text, this whole post is a string)
- sig - the signature