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

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