1 x Cite
Embed
0

The SWORD deposit receipt currently provisions the following identifiers
[SWORD spec section B.9.6], with the associated possible interpretations:

2 x Cite
Embed
2
  1. An atom:content element which provides the URI to one of:
    • The splash page for the repository item;
    • A machine readable description of the repository item;
    • The originally deposited package;
    • Some combination of (i) and (ii) (for example, RDFa embedded in a splash page);
    • Some other identifier, unspecified.
  2. An atom:link element with @rel=edit-media, which provides the URI to one of:
    • A version of the resource which can be updated by HTTP PUT;
    • A representation which supplies metadata from the package and access to unpacked binary files.
  3. An arbitrary number of atom:link elements with repository specific @rel values which may contain URIs for the parts of the unpacked item.
  4. An atom:link element with @rel=edit, which provides the URI to one of:
    • The Entry document, from which an equivalent document to the deposit receipt can be obtained, and to which HTTP DELETE requests could be directed;
    • A jump-off page;
    • Users private metadata;
    • A workflow management page;
    • Some other identifier, unspecified.
3 x Cite
Embed
0

As this shows, the specification does not say anything particularly strong about any of the URIs which are returned, while making allowances for the large number of uses the a repository may wish to make of them. This is interesting, as it is indicative of the requirements that we must find a way to formally support. We should, firstly, bring the meanings of each of these URIs into line with AtomPub thus [AtomPub spec section 9.6]:

4 x Cite
Embed
3
  1. An atom:content element which resolves to the Media Resource; in the case of package deposit, the Media Resource is the package itself, and therefore this element provides a URI from which the originally deposited package can be retrieved.
  2. An atom:link element with @rel=edit-media which resolves to the Media Resource; since this is the original package, as noted in (1), this should resolve to the same content as the atom:content source during HTTP GET, but must also be able to support HTTP PUT of a new package. This means, therefore, that the server is free to use a different URI for this link to the one used in atom:content if that suits the implementation better.
  3. An atom:link element with @rel=edit which resolves to the Entry document; in the case of package deposit this would behave as follows:
    • HTTP GET returns the Atom Entry document which is equivalent to the deposit receipt produced by the server;
    • HTTP PUT has no defined behaviour, as it is used traditionally to update the item metadata, but since package deposit has no independent metadata this is meaningless;
    • HTTP DELETE would allow us to request the deletion of the repository item itself, including the original package and the associated unpackaged content.
  4. In addition to these, we should also introduce the following new links with appropriate semantics for our environment:

  5. An element which provides a link which resolves to another document which we use to describe additional repository specific information about the deposited item. This manifest document will be described in the next section.
  6. An element which provides a link to the splash page of the repository item if one exists; this page may also include embedded RDFa.
5 x Cite
Embed
2

Notice that we have not specified how these additional new links should be serialised in Atom. There are two possible routes: to use atom:link elements with @rel values specific to SWORD, or to embed new foreign markup such as sword:manifest and sword:splash. The first approach is more in line with the Atom standard approach, but formal recognition of new @rel values is strongly suggested, and this requires passing through the IANA registration procedure [16]. The second approach will be easier to implement in the standard but be less in line with Atom.

6 x Cite
Embed
0

We have also pushed a lot of the vague uses of the identifiers in the current SWORD specification into the link described in (4): this will give us the opportunity to define a document which can give the client all of the relevant additional information which the current specification alludes to.

7 x Cite
Embed
0

[16] Guidelines for Writing an IANA Considerations Section: http://www.faqs.org/rfcs/rfc2434.html