# A core notification shape, independent of server-specific or application-specific requirements
PREFIX schema:
PREFIX as:
PREFIX terms:
PREFIX rdfs:
PREFIX xsd:
PREFIX solid:
START=@<#CoreNotification>
<#CoreNotification> {
# A link to the license of the notification - more information is needed on how this will be used
schema:license IRI ;
# Used as a short friendly description of the notification content (required)
as:summary xsd:string {1} ;
# IRI to the webid of the person or application that triggered the notification to be sent
as:actor IRI {1} ;
# IRI to the webid or link of the person or thing that is the subject of the notification. Often this will be the recipient, and is duplicated data, but it's possible it could be something else.
as:target IRI ? ;
# IRI to the webid or link of the thing being acted on. For example, a game invitation would have a link to the game here
as:object IRI ? ;
# Date/time the notification was sent
as:published xsd:dateTime {1} ;
# Read status - read or unread
solid:read xsd:boolean ? ;
}