@prefix notify: <http://www.w3.org/ns/solid/notifications#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix vann: <http://purl.org/vocab/vann/> .

<http://www.w3.org/ns/solid/notifications#>
    a owl:Ontology ;
    dc:license <https://creativecommons.org/publicdomain/zero/1.0/> ;
    rdfs:label "Solid Notifications"@en ;
    rdfs:comment "The vocabulary used by the Solid Notifications Protocol specification."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    rdfs:seeAlso <https://solidproject.org/TR/notifications-protocol> ;
    dc:issued "2022-12-31"^^xsd:date ;
    vann:preferredNamespacePrefix "notify" ;
    vann:preferredNamespaceUri "http://www.w3.org/ns/solid/notifications#"^^xsd:anyURI .

# ---------
#  Classes
# ---------
notify:EventSourceChannel2023
    a rdf:Class ;
    rdfs:label "EventSourceChannel2023" ;
    rdfs:comment "A notification channel type that uses the EventSource Web API."@en ;
    rdfs:isDefinedBy <https://solid.github.io/notifications/eventsource-channel-2023> ;
    vs:term_status "testing" .

notify:LDNChannel2023
    a rdf:Class ;
    rdfs:label "LDNChannel2023" ;
    rdfs:comment "A notification channel type that uses the Linked Data Notifications protocol."@en ;
    rdfs:isDefinedBy <https://solid.github.io/notifications/ldn-channel-2023> ;
    vs:term_status "testing" .

notify:StreamingHTTPChannel2023
    a rdf:Class ;
    rdfs:label "StreamingHTTPChannel2023" ;
    rdfs:comment "A notification channel type that uses the Fetch API."@en ;
    rdfs:isDefinedBy <https://solid.github.io/notifications/streaming-http-channel-2023> ;
    vs:term_status "testing" .

notify:WebhookChannel2023
    a rdf:Class ;
    rdfs:label "WebhookChannel2023" ;
    rdfs:comment "A notification channel type that uses Webhooks."@en ;
    rdfs:isDefinedBy <https://solid.github.io/notifications/webhook-channel-2023> ;
    vs:term_status "testing" .

notify:WebSocketChannel2023
    a rdf:Class ;
    rdfs:label "WebSocketChannel2023" ;
    rdfs:comment "A notification channel type that uses the WebSocket API."@en ;
    rdfs:isDefinedBy <https://solid.github.io/notifications/websocket-channel-2023> ;
    vs:term_status "testing" .

# ------------
#  Properties
# ------------
notify:accept
    a rdf:Property ;
    rdfs:label "accept"@en ;
    rdfs:comment "The media types that are acceptable by the recipient of a notification with value corresponding to the HTTP Accept header value [RFC7231]."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:channel
    a rdf:Property ;
    rdfs:label "notification channel"@en ;
    rdfs:comment "A property used to indicate an available notification channel."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:channelType
    a rdf:Property ;
    rdfs:label "notification channel type"@en ;
    rdfs:comment "A property used to indicate the notification channel type."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:endAt
    a rdf:Property ;
    rdfs:label "end at"@en ;
    rdfs:comment "The proposed or actual ending date and time of a notification channel with value represented in the xsd:dateTime datatype."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:feature
    a rdf:Property ;
    rdfs:label "feature"@en ;
    rdfs:comment "A property used to describe the features supported by a particular notification channel."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:rate
    a rdf:Property ;
    rdfs:label "rate"@en ;
    rdfs:comment "The minimum amount of time to elapse between notifications sent to receiver with value represented in the xsd:duration datatype."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:receiveFrom
    a rdf:Property ;
    rdfs:label "receive from"@en ;
    rdfs:comment "The property used to identify the resource that can be used to establish a connection to receive notifications."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:sender
    a rdf:Property ;
    rdfs:label "sender"@en ;
    rdfs:comment "The property used to identify the party that sends notifications."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:sendTo
    a rdf:Property ;
    rdfs:label "send to"@en ;
    rdfs:comment "The property used to identify the resource that can accept notifications."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:startAt
    a rdf:Property ;
    rdfs:label "start at"@en ;
    rdfs:comment "The proposed or actual starting date and time of a notification channel with value represented in the xsd:dateTime datatype."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:state
    a rdf:Property ;
    rdfs:label "state"@en ;
    rdfs:comment "The last known state of a resource (topic) with value represented in the xsd:string datatype."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:subscription
    a rdf:Property ;
    rdfs:label "subscription"@en ;
    rdfs:comment "A property used to indicate an available subscription service."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .

notify:topic
    a rdf:Property ;
    rdfs:label "topic"@en ;
    rdfs:comment "The IRI of a resource about which a client would like to receive notifications."@en ;
    rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ;
    vs:term_status "testing" .
