TOC 
SIMPLEH. Schulzrinne
Internet-DraftColumbia U.
Expires: August 8, 2004February 8, 2004

CIPID: Contact Information in Presence Information Data Format

draft-ietf-simple-cipid-00

Status of this Memo

This document is an Internet-Draft and is in full conformance with all provisions of Section 10 of RFC2026.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt.

The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html.

This Internet-Draft will expire on August 8, 2004.

Copyright Notice

Copyright (C) The Internet Society (2004). All Rights Reserved.

Abstract

The Contact Information for Presence Information Data Format (CIPID) adds elements to the Presence Information Data Format (PIDF) that provide additional contact information about a presentity and its contacts, including references to address book entries and icons.



Table of Contents

1.  Introduction
2.  Card Element
3.  Homepage Element
4.  Icon Element
5.  Example
6.  Schema
7.  IANA Considerations
7.1  URN Sub-Namespace Registration for 'urn:ietf:params:xml:ns:pidf:cipid'
8.  Security Considerations
§  Normative References
§  Informative References
§  Author's Address
A.  Acknowledgments
§  Intellectual Property and Copyright Statements




 TOC 

1. Introduction

In its function of facilitating communication, the usefulness of presence information can be enhanced by providing basic information about a presentity or contact. This document describes a basic set of information elements that allow a watcher to retrieve additional information about a presentity or contact.

We describe elements for providing a "business card", references to the homepage and an icon. All can be used either for a presentity or for a tuple (or both).

This additional presence information can be used in PIDF[3] documents or together with RPID[4].



 TOC 

2. Card Element

The <card> element includes a URI pointing to a business card, e.g., in LDIF or vCard format.



 TOC 

3. Homepage Element

The <homepage> element provides a URI pointing to general information about the tuple or presentity, typically a web home page.



 TOC 

4. Icon Element

The <icon> element provides a URI pointing to an image (icon) representing the tuple or presentity. The watcher MAY use this information to represent the tuple or presentity in a graphical user interface. Presentities SHOULD provide images of sizes and aspect ratios that are appropriate for rendering as an icon.



 TOC 

5. Example

An example, combining RPID and CIPID, is shown in Fig. Figure 1.


<?xml version="1.0" encoding="UTF-8"?>
   <presence xmlns="urn:ietf:params:xml:ns:pidf"
        xmlns:es="urn:ietf:params:xml:ns:pidf:rpid-status"
        xmlns:et="urn:ietf:params:xml:ns:pidf:rpid-tuple"
        xmlns:ci="urn:ietf:params:xml:ns:pidf:cipid"
        entity="pres:someone@example.com">

     <ci:homepage>http://example.com/~someone</ci:homepage>
     <ci:icon>http://example.com/~someone/icon.gif</ci:icon>
     <ci:card>http://example.com/~someone/card.vcd</ci:card>

     <tuple id="7c8dqui">
       <et:class>assistant</et:class>
       <et:contact-type>presentity</et:contact-type>

       <status>
         <basic>open</basic>
         <contact>sip:secretary@example.com</contact>
         <ep:relationship>assistant</ep:relationship>
         <ci:homepage>http://example.com/~secretary</ci:homepage>
         <ci:icon>http://example.com/~secretary/icon.gif</ci:icon>
         <ci:card>http://example.com/~secretary/card.vcd</ci:card>
       </status>
       <note>My secretary</note>
     </tuple>
  </presence>

A CIPID Example



 TOC 

6. Schema

The schema is shown in Fig. Figure 2.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="urn:ietf:params:xml:ns:pidf:cipid"
    xmlns:pidf="urn:ietf:params:xml:ns:pidf"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">

  <!-- This import brings in the XML language attribute xml:lang-->
      <xs:import namespace="http://www.w3.org/XML/1998/namespace"
      schemaLocation="http://www.w3.org/2001/xml.xsd"/>

  <xs:annotation>
    <xs:documentation xml:lang="en">
      Describes CIPID tuple extensions for PIDF.
    </xs:documentation> 
  </xs:annotation>

  <xs:element name="card" type="xs:anyURI"/>
  <xs:element name="homepage" type="xs:anyURI"/>
  <xs:element name="icon" type="xs:anyURI"/>
</xs:schema>

The CIPID Schema



 TOC 

7. IANA Considerations

This document calls for IANA to register a new XML namespace URNs per [2].

7.1 URN Sub-Namespace Registration for 'urn:ietf:params:xml:ns:pidf:cipid'

URI:
urn:ietf:params:xml:ns:cipid
Description:
This is the XML namespace for XML elements defined by RFCXXXX to describe contact information presence information extensions for the status element in the PIDF presence document format in the application/cpim-pidf+xml content type.
Registrant Contact:
IETF, SIMPLE working group, simple@ietf.org; Henning Schulzrinne, hgs@cs.columbia.edu
XML:

 BEGIN
   <?xml version="1.0"?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
   "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml
   <head>
        <meta http-equiv="content-type"
        content="text/html;charset=iso-8859-1"/>
        <title>CIPID -- Contact Information in Presence Information Data Format</title>
   </head>
   <body>
       <h1>Namespace for contact information presence extension (status)</h1>
       <h2>urn:ietf:params:xml:ns:cipid</h2>
       <p>See <a href="URL of published RFC">RFCXXXX</a>.</p>
    </body>
    </html>
   END



 TOC 

8. Security Considerations

The security issues are similar to those for RPID[4]. Watchers need to restrict which types of content pointed to by <icon> elements they render.

Also, accessing these URIs may in turn provide hints that the watcher is currently using the presence application.



 TOC 

Normative References

[1] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997 (HTML, XML).
[2] Mealling, M., "The IETF XML Registry", draft-mealling-iana-xmlns-registry-05 (work in progress), June 2003.
[3] Sugano, H. and S. Fujimoto, "Presence Information Data Format (PIDF)", draft-ietf-impp-cpim-pidf-08 (work in progress), May 2003.


 TOC 

Informative References

[4] Schulzrinne, H., "RPID -- Rich Presence Information Data Format", draft-ietf-simple-rpid-00 (work in progress), July 2003.


 TOC 

Author's Address

  Henning Schulzrinne
  Columbia University
  Department of Computer Science
  450 Computer Science Building
  New York, NY 10027
  US
Phone:  +1 212 939 7042
EMail:  hgs+simple@cs.columbia.edu
URI:  http://www.cs.columbia.edu


 TOC 

Appendix A. Acknowledgments

This document is based on the discussions within the IETF SIMPLE working group. Vijay Gurbani, Paul Kyzivat, Jon Peterson and Jonathan Rosenberg have provided helpful comments.



 TOC 

Intellectual Property Statement

Full Copyright Statement

Acknowledgment