SWORD (protocol)

SWORD (Simple Web-service Offering Repository Deposit) is an interoperability standard that allows digital repositories to accept the deposit of content from multiple sources in different formats (such as XML documents) via a standardized protocol. In the same way that the HTTP protocol allows any web browser to talk to any web server, so SWORD allows clients to talk to repository servers. SWORD is a profile (specialism) of the Atom Publishing Protocol, but restricts itself solely to the scope of depositing resources into scholarly systems.

History
The first version of the SWORD protocol was created in 2007 by a consortium of UK institutional repository experts. The project to develop SWORD was funded by the JISC and managed by UKOLN. An overview of the initial development of SWORD is given in "SWORD: Simple Web-service Offering Repository Deposit." The standard grew out of a need for an interoperable method by which resources could be deposited into repositories. Interoperable standards existed to allow the harvesting of content (e.g. Open Archives Initiative Protocol for Metadata Harvesting) or for searching (e.g. OpenSearch) but not for deposit.

Between the original release in 2007, two subsequent projects were undertaken until 2009 to further refine the version 1.0 specification and perform advocacy work. The resulting release was numbered 1.3. Further descriptions of the work is available in Lewis et al., "If SWORD is the answer, what is the question? Use of the Simple Web service Offering Repository Deposit protocol."

In 2011 a new project began to extend the "fire and forget" approach of the SWORD 1.x specification into a full CRUD (Create, Retrieve, Update, Delete) interface, and the result was a new version (designated 2.0). This was followed by extensive development work on client environments in several programming languages, and incorporation into the development of several Jisc-funded efforts.

Use cases
Many different use cases exist where it may be desirable to remotely deposit resources into scholarly systems. These include:


 * Deposit to multiple repositories at once.
 * Deposit from a desktop client (rather from within the repository system itself)
 * Deposit by third party systems (for example by automated laboratory equipment)
 * Repository to repository deposit

Implementations
Three categories of implementation exist: repository implementations for existing repository servers, client implementations that can be used to perform SWORD deposits, and code libraries to assist in the creation of new SWORD clients or servers.

SWORD-compliant repositories
The following digital repositories are SWORD compliant:


 * arXiv
 * Dataverse
 * DSpace
 * EPrints
 * Fedora
 * HAL
 * Intralibrary (project deprecated)
 * Microsoft Zentity (project deprecated)
 * MyCoRe

SWORD clients

 * EasyDeposit
 * Open Journal Systems
 * Pressbooks client

SWORD code libraries

 * PHP SWORD client library
 * Ruby SWORD client library
 * Java SWORD client and server library
 * Python client library
 * Python server library and SWORD 2.0 reference implementation

Other resources
The SWORD Course