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

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#
as2
https://www.w3.org/ns/activitystreams#
schema
http://schema.org/
dcterms
http://purl.org/dc/terms/
ldp
http://www.w3.org/ns/ldp#
odrl
http://www.w3.org/ns/odrl/2/
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

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

The canonical URI identifying an LWS storage.
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

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

access

access

The access policies associated with an access request or grant.
Relevant @context:
https://www.w3.org/ns/lws/v1

conformsTo

conforms to

An established standard to which the described resource conforms.

This term is formally defined in another vocabulary (as dcterms:conformsTo), 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

action

action

The operation relating to the asset of the rule.

This term is formally defined in another vocabulary (as odrl:action), 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

assignee

assignee

The party that is assigned the rule.

This term is formally defined in another vocabulary (as odrl:assignee), 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 asset that is the target of the rule.

This term is formally defined in another vocabulary (as odrl: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

constraint

constraint

A constraint that refines the semantics of an action or rule.

This term is formally defined in another vocabulary (as odrl:constraint), 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

leftOperand

left operand

The left operand of a constraint.

This term is formally defined in another vocabulary (as odrl:leftOperand), 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

operator

operator

The operator of a constraint.

This term is formally defined in another vocabulary (as odrl:operator), 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

rightOperand

right operand

The right operand of a constraint.

This term is formally defined in another vocabulary (as odrl:rightOperand), 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
Relevant @context:
https://www.w3.org/ns/lws/v1

StorageRoot

Storage Root

A service endpoint for a storage root container.
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

AccessProfile

Access Profile

An access profile describes the requirements for expressing a valid access policy.
Relevant @context:
https://www.w3.org/ns/lws/v1

AccessPolicy

Access Policy

An access policy expresses the actions, targets, and constraints for a particular access request or grant.
Domain of:
action, assignee, target, constraint, leftOperand, operator, rightOperand
Relevant @context:
https://www.w3.org/ns/lws/v1

AccessGrant

Access Grant

An authorization by a storage controller granting access to resources.
Relevant @context:
https://www.w3.org/ns/lws/v1

AccessGrantService

Access Grant Service

A service endpoint for managing access grants.
Relevant @context:
https://www.w3.org/ns/lws/v1

AccessRequestService

Access Request Service

A service endpoint for managing access requests.
Relevant @context:
https://www.w3.org/ns/lws/v1

Definitions for individuals

The following are definitions for individuals in the lws namespace.

create

create

An action representing the creation of a new resource within a container.
Relevant @context:
https://www.w3.org/ns/lws/v1

client

client

A left operand representing the client identifier for an HTTP request.
Relevant @context:
https://www.w3.org/ns/lws/v1