Dashboard > The DataPortability Project > ... > Technical Specifications > DP-REC-008 Service Catalogue Types
  The DataPortability Project Log In | Sign Up   View a printable version of the current page.  
  DP-REC-008 Service Catalogue Types
Added by Julian Bond , last edited by Julian Bond on May 29, 2008  (view change)
Labels: 
(None)

Overview

This document is a temporary holding page for the list of recommended Service Types to be used in an XRDS Service Catalogue. It is expected that this will move to http://xrdstype.net/ once that is up and running. It follows the definitions in http://xrds-simple.net/core/1.0/. XRDS-Simple defines the following parts to a Service

  • Type - A URI that identifies the service type
  • MediaType - the media-type of the content available at this Resource
  • URI - Provides the Endpoint where the Resource can be found
  • LocalID - The identifier associated with the Resource. It's expected that this generally applies to the owner of the XRDS file
  • simple:MustSupport - Optional. A URI that defines required additional information that must be supported.

This document is primarily interested in the first two (Type, MediaType) although specific services may need entries for the last two (LocalID, simple:MustSupport). Note that it's perfectly acceptable to define two Types for a single Service if the Service URL contains both types.

Proposals here should get buy in from the relevant standards group responsible for them.

An example service entry that defines the location of my FOAF file :-
<Service priority="1">
<Type>http://xmlns.com/foaf/0.1/</Type>
<MediaType>application/rdf+xml</MediaType>
<URI>http://www.voidstar.com/foaf.xml</URI>
</Service>

seeAlso: http://en.wikipedia.org/wiki/XRDS

Atom

Type: http://www.w3.org/2005/Atom
MediaType: text/xml, application/xml, application/atom+xml

AtomPub

Type: TBD
MediaType: TBD

FOAF

Type: http://xmlns.com/foaf/spec/
MediaType: application/rdf+xml

Group Membership protocol

Comment: a simple protocol for enumerating the members of a group and for determining whether a given identifier is a member of a group. For the purpose of this protocol, a "group" is defined as a set of URIs. These URIs might be OpenID identifier URLs, mailto: URIs representing email accounts, xmpp: URIs representing Jabber IDs or even urn:isbn: URIs representing books.
seeAlso: http://wiki.openid.net/Group_Membership_Protocol
*Service xmlns:*gm http://openid.net/xmlns/groupmembership/xrds
Type: http://openid.net/xmlns/groupmembership

Personal Profile Pages - hCard

Comment: To point at this person's profile page containing at least hCard microformats
seeAlso: http://microformats.org/wiki/profile-uris
Type: http://www.w3.org/2006/03/hcard
MediaType: text/html, application/xhtml+xml

oAuth

Multiple Types defined here: http://oauth.net/discovery/1.0

OpenID

Type: http://specs.openid.net/auth/2.0/signon
seeAlso: http://openid.net/specs/openid-authentication-2_0.html#discovery

OpenSocial RESTful API

seeAlso: http://docs.google.com/View?docid=dc43mmng_2g6k9qzfb section 6

xmlns: os="http://ns.opensocial.org/"

Type: http://ns.opensocial.org/people/0.8
os:URI-Template http://api.example.org/people/{guid]/{selector]{-prefix|/|pid]

Type: http://ns.opensocial.org/activities/0.8
os:URI-Template http://api.example.org/activities/{guid]/{selector]

Type: http://ns.opensocial.org/appdata/0.8
os:URI-Template>http://api.example.org/appdata/{guid]/{selector]

XFN

Comment: It looks like we need two. One for a page containing lists of profile pages marked with rel="me" and one for pages containing contact lists marked with rel="contact" and all the other contact types.
seeAlso: http://microformats.org/wiki/profile-uris
Type: http://gmpg.org/xfn/11
MediaType: text/html, application/xhtml+xml

XFN - Contact lists

Comment: A page with mainly links to contacts and friends
seeAlso: http://microformats.org/wiki/profile-uris
Type: http://gmpg.org/xfn/11#contact
MediaType: text/html, application/xhtml+xml

XFN - Profile URLs

Comment: A page with mainly links to external profiles
seeAlso: http://microformats.org/wiki/profile-uris
Type: http://gmpg.org/xfn/11#me
MediaType: text/html, application/xhtml+xml

Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators