This document describes the Linked Web Storage Vocabulary, i.e., the RDFS [[RDF-SCHEMA]] vocabulary used by the Linked Web Storage Protocol [[lws-protocol]].

Alternate versions of the vocabulary definition exist in Turtle and JSON-LD.

Published:
Version Info:
1.0
See Also: https://www.w3.org/TR/lws-protocol/

This vocabulary has been defined by the W3C Linked Web Storage Working Group and provides the official RDFS vocabulary for the Linked Web Storage Protocol. Comments regarding this document are welcome. Please file issues directly on GitHub.

Namespaces

This specification makes use of the following namespaces:

lws
https://www.w3.org/ns/lws#
as
https://www.w3.org/ns/activitystreams#
schema
http://schema.org/
sec
https://w3id.org/security#
ldp
http://www.w3.org/ns/ldp#
dc
http://purl.org/dc/terms/
owl
http://www.w3.org/2002/07/owl#
rdf
http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs
http://www.w3.org/2000/01/rdf-schema#
xsd
http://www.w3.org/2001/XMLSchema#

@context files

The following @context files make use of the terms defined in this specification:

Term definitions

Property definitions

The following are property definitions in the lws namespace.

items

items

The list of resources contained in a container.
Domain:
Container
Relevant @context:
https://www.w3.org/ns/lws/v1

totalItems

total items

The total number of items in a container.

This term is formally defined in another vocabulary (as as:totalItems), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

mediaType

media type

The media type of a data resource.

This term is formally defined in another vocabulary (as as:mediaType), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

updated

modified

The date and time the resource was last modified.

This term is formally defined in another vocabulary (as as:updated), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

size

size

The size of the resource in bytes.

This term is formally defined in another vocabulary (as schema:size), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

capability

capability

A capability supported by the storage.
Domain:
Storage
Relevant @context:
https://www.w3.org/ns/lws/v1

service

service

A service associated with the storage.
Domain:
Storage
Relevant @context:
https://www.w3.org/ns/lws/v1

serviceEndpoint

service endpoint

The URI of a service endpoint.
Range:
xsd:anyURI
Relevant @context:
https://www.w3.org/ns/lws/v1

storageDescription

storage description

Link relation pointing to a storage description resource.
Range:
xsd:anyURI
Relevant @context:
https://www.w3.org/ns/lws/v1

PreferLinkRelations

Prefer Link Relations

A preference URI for including or omitting specific link relations in responses.
Relevant @context:
https://www.w3.org/ns/lws/v1

subscriptionType

subscription type

See the formal definition of the term.

The subscription types supported by a notification service.
Domain:
NotificationService
Relevant @context:
https://www.w3.org/ns/lws/v1

subscription

subscription

See the formal definition of the term.

The URL of the subscription resource or connection endpoint.
Range:
xsd:anyURI
Relevant @context:
https://www.w3.org/ns/lws/v1

activity

activity

See the formal definition of the term.

The Activity Streams 2.0 activity payload within a notification.
Domain:
Notification
Relevant @context:
https://www.w3.org/ns/lws/v1

topic

topic

See the formal definition of the term.

An array of resource URIs covered by a subscription.
Range:
xsd:anyURI
Relevant @context:
https://www.w3.org/ns/lws/v1

storage

storage

See the formal definition of the term.

The URI identifying the LWS storage that emitted the notification.
Range:
xsd:anyURI
Relevant @context:
https://www.w3.org/ns/lws/v1

Create

Create

An activity representing the creation of a resource.

This term is formally defined in another vocabulary (as as:Create), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

Update

Update

An activity representing the update of a resource.

This term is formally defined in another vocabulary (as as:Update), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

Delete

Delete

An activity representing the deletion of a resource.

This term is formally defined in another vocabulary (as as:Delete), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

object

object

The primary object of an activity.

This term is formally defined in another vocabulary (as as:object), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

actor

actor

The agent that performed the activity.

This term is formally defined in another vocabulary (as as:actor), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

target

target

The target of the activity.

This term is formally defined in another vocabulary (as as:target), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

origin

origin

The origin of a Move activity.

This term is formally defined in another vocabulary (as as:origin), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

published

published

The date and time the activity was published.

This term is formally defined in another vocabulary (as as:published), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

verificationMethod

verification method

A verification method associated with a key or identity.

This term is formally defined in another vocabulary (as sec:verificationMethod), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

authentication

authentication

An authentication method associated with an identity.

This term is formally defined in another vocabulary (as sec:authentication), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

controller

controller

The entity that controls a verification method.

This term is formally defined in another vocabulary (as sec:controller), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

publicKeyJwk

public key JWK

A public key expressed as a JSON Web Key.

This term is formally defined in another vocabulary (as sec:publicKeyJwk), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

inbox

inbox

A URL to which notifications are delivered via HTTP POST.

This term is formally defined in another vocabulary (as ldp:inbox), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

expires

expires

The date and time at which a subscription expires.

This term is formally defined in another vocabulary (as schema:expires), but is frequently used with this vocabulary and has been included to aid readability of this document.

Relevant @context:
https://www.w3.org/ns/lws/v1

Class definitions

The following are class definitions in the lws namespace.

Container

Container

A resource that contains other resources.
Domain of:
items, totalItems
Relevant @context:
https://www.w3.org/ns/lws/v1

DataResource

Data Resource

A data-bearing resource such as a document, image, or structured data file.
Domain of:
mediaType, updated, size
Relevant @context:
https://www.w3.org/ns/lws/v1

Storage

Storage

A Linked Web Storage instance.
Domain of:
capability, service
Relevant @context:
https://www.w3.org/ns/lws/v1

StorageDescription

Storage Description

A service that provides a storage description resource.
Relevant @context:
https://www.w3.org/ns/lws/v1

OpenIdProvider

OpenID Provider

See the formal definition of the term.

An OpenID Connect identity provider service.
Relevant @context:
https://www.w3.org/ns/lws/v1

Notification

Notification

See the formal definition of the term.

A notification envelope describing an event that occurred on a resource.
Domain of:
activity
Relevant @context:
https://www.w3.org/ns/lws/v1

NotificationService

Notification Service

See the formal definition of the term.

A service through which clients subscribe to resource change notifications.
Domain of:
subscriptionType
Relevant @context:
https://www.w3.org/ns/lws/v1

WebhookSubscription

Webhook Subscription

See the formal definition of the term.

A subscription type that delivers notifications via HTTP POST to a subscriber-provided inbox URL.
Relevant @context:
https://www.w3.org/ns/lws/v1