If someone posts a workout they completed to Nostr, would it be appropriate to link to a new note kind, or just use kind1? Use case would be to allow for client import of the workout specifics JSON without having to type a bunch of stuff out for a user.

If it’s a kind1, then the workout JSON would be needed in some tag, and the content would just be some plaintext version.

If it’s a new kind, the JSON would be embedded in a tag as well as provide content for display.

What way is the best for a use case such as this?

#asknostr #devstr

Reply to this note

Please Login to reply.

Discussion

Create an event with a new kind number and put all the data in tags and/or the content. Don't put a JSON inside the event, especially not inside tags.