In a nutshell:
const jsonLD = {
'@id': '',
mainEntity: {
'@context': 'https://w3id.org/nostr/context',
'@id': 'nostr:event:' + event.id,
'@type': 'Event',
...event
}
}
return jsonLD
In a nutshell:
const jsonLD = {
'@id': '',
mainEntity: {
'@context': 'https://w3id.org/nostr/context',
'@id': 'nostr:event:' + event.id,
'@type': 'Event',
...event
}
}
return jsonLD
No replies yet.