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/lws10-core/

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/
dct
http://purl.org/dc/terms/
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.
Domain:
Container
Relevant @context:
https://www.w3.org/ns/lws/v1

format

format

The media type of a data resource.

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

modified

modified

The date and time the resource was last modified.

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

appliesTo

applies to

See the formal definition of the term.

The types of LWS resource a capability applies to.
Domain:
MoveResource
Relevant @context:
https://www.w3.org/ns/lws/v1

preservesIdentifier

preserves identifier

See the formal definition of the term.

Whether a storage preserves the identifier of a moved resource.
Domain:
MoveResource
Range:
xsd:boolean
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 URI of the subscription resource or connection endpoint.

The property's value should be a URL, i.e., not a literal.
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
Range:
Activity
Relevant @context:
https://www.w3.org/ns/lws/v1

topic

topic

See the formal definition of the term.

One or more resource URIs covered by a subscription.

The property's value should be a URL, i.e., not a literal.
Relevant @context:
https://www.w3.org/ns/lws/v1

storage

storage

The canonical URI identifying an LWS storage.

The property's value should be a URL, i.e., not a literal.
Relevant @context:
https://www.w3.org/ns/lws/v1

Move

Move

An activity representing the move of a resource from one container to another.

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

The property's value should be a URL, i.e., not a literal.

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.

The property's value should be a URL, i.e., not a literal.

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.

The property's value should be a URL, i.e., not a literal.

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.

The property's value should be a URL, i.e., not a literal.

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 URI to which notifications are delivered via HTTP POST.

The property's value should be a URL, i.e., not a literal.

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.

StorageResource

Storage Resource

See the formal definition of the term.

An HTTP resource that supports the read operations defined by the Linked Web Storage Protocol.
Superclass of:
Container, DataResource
Relevant @context:
https://www.w3.org/ns/lws/v1

Container

Container

A resource that contains other resources.
Subclass of:
StorageResource
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.
Subclass of:
StorageResource
Domain of:
format, modified, 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

AccessRequest

Access Request

An request by an agent to access to resources.
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

MoveResource

Move Resource

See the formal definition of the term.

A capability indicating that clients are allowed to change the up link of a resource, and thereby to move resources between containers.
Domain of:
appliesTo, preservesIdentifier
Relevant @context:
https://www.w3.org/ns/lws/v1

Activity

Activity

Superclass of all activites.

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

Range of:
activity

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

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