<?xml version="1.0"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="no"?>
<?rfc compact="yes" ?>
<?rfc sortrefs="no" ?>
<rfc ipr="full2026" docName="draft-jennings-impp-vcard-02" category="std">
<front>
    <title abbrev="vCard-IMPP">vCard Extensions for IMPP</title>
    <author initials="C." surname="Jennings" fullname="Cullen
                                                       Jennings">
      <organization>Cisco Systems</organization>
      <address>
	<postal>
	  <street>170 West Tasman Drive</street>
	  <street>MS: SJC-21/2</street>
	  <city>San Jose</city>
	  <region>CA</region>
	  <code>95134</code>
	  <country>USA</country>
	</postal>
	<phone>+1 408 902-3341</phone>
	<email>fluffy@cisco.com</email>
      </address>
    </author>
    <date month="February" day="14" year="2004"/>
    <area>Applications</area>
    <workgroup>IMPP</workgroup>
    <keyword>I-D</keyword>
    <keyword>Internet-Draft</keyword>
    <keyword>vCard</keyword>
    <keyword>IMPP</keyword>
    <keyword>Instant Messaging</keyword>
    <keyword>Presence Protocol</keyword>
    <abstract>
<t>
This draft describes an extension to vCard to support Instant Messaging (IM) and
Presence Protocol (PP) applications. IM and PP are becoming increasingly common
ways of communicating, and users want to save this contact information in their
address books. This draft allows a URI that is associated with IM or PP to be
specified inside of a vCard.  </t>
<t>
This work is being discussed on the imc-vcard@imc.org mailing list. </t>

    </abstract>
</front>
<middle>

<section title="Conventions">
<t>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
interpreted as described in <xref target="RFC2119">RFC 2119</xref>. </t>
</section>

<section title="Overview">
<t>
As more and more people use various instant messaging (IM) and presence protocol
(PP) applications, it becomes important for them to be able to share this
contact address information along with the rest of their contact information.
<xref target="RFC2425">RFC 2425</xref> and <xref target="RFC2426">RFC
2426</xref> define a standard format for this information which is referred to
as vCard. This document defines a new type in a vCard for representing instant
IM and PP URIs. It is very similar to existing types for representing email
address and telephone contact information. </t>
<t>
The type entry to hold this new contact information is an IMPP type. The IMPP
entry has a single URI that indicates the address of a service that provides IM,
PP, or both. Also defined are some parameters that give hints as to when
certain URIs would be appropriate. A given vCard can have multiple IMPP entries
but each entry can contain only one URI. Each IMPP entry can contain multiple
parameters. Any combination of parameters is valid, though a parameter
should occur at most once in a given IMPP entry. </t>
<t>
The type of URI indicates what protocols might be useable for accessing it, but this
document does not define any of the types. For example a URI type of 

"sip"<xref target="RFC3261"/> might indicate to use SIP/SIMPLE,

"xmpp"<xref target="I-D.saintandre-xmpp-uri"/> indicates to use jabber, 

"irc"<xref target="I-D.butcher-irc-url"/>  indicates to use IRC, 

"ymsgr" indicates to use yahoo,

"msn" might indicate to use messenger,

"aim" indicates to use AOL, and 

"im"<xref target="I-D.ietf-impp-im"/> or "pres"<xref target="I-D.ietf-impp-pres"/> indicates to use a CPIM or CPP gateway.</t>
<t>
The normative definition of this new vCard type is given in <xref
target="section.defn"/>, and an informational ABNF is provided in <xref
target="section.abnf"/>.</t> 
</section> 

<section title="IMPP Type Definition" anchor="section.defn">
<t>
   To: ietf-mime-directory@imc.org</t>
<t>
   Subject: Registration of text/directory MIME type IMPP</t>
<t>
   Type name: IMPP</t>
<t>
   Type purpose: To specify the URI for instant messaging and presence protocol 
   communication with the object the vCard represents.</t>
<t>
   Type encoding: 8bit</t>
<t>
   Type value: A single URI. The type of the URI indicates the protocol that
   can be used for this contact. </t>
<t>
Type special notes: The type can include the type parameter "TYPE" to specify an
intended use for the URI. The TYPE parameter values can include:</t>
<t>
An indication of the type of communication for which this URI is
appropriate. This can be a value of PERSONAL or BUSINESS. </t>
<t>
An indication of the location of a device associated with this URI. Values can
be HOME, WORK, or MOBILE. </t>
<t>
An indication of some of the core capabilities of this instant messaging
system. Values can be PRES, VIDEO, VOICE, TEXT, SMS, NUMERIC, and BEEP. PRES
indicates the system supports some presence protocol. VIDEO, VOICE, and TEXT
indicate the system supports voice, video, and text messaging respectively. SMS
indicates short text messages are supported. Short is not defined here, but something like 160
octets may be a reasonable assumption. NUMERIC indicates that only numeric text
messages are allowed. BEEP indicates that the only information the system can
deliver is that a message was sent to the target user. </t>
<t>
The value STORE indicates that the system can store messages for future delivery
to the intended user.</t>
<t>
The value PREF indicates this is a preferred address and has the same semantics
as the PREF value in a TEL type.</t> 
</section> 

<section title="Formal Grammar" anchor="section.abnf">
<t>
The following ABNF grammar<xref target="RFC2234"/> extends the grammar found in
<xref target="RFC2425">RFC 2425</xref> and <xref target="RFC2426">RFC
2426</xref>. </t>
<t>

<figure><artwork>
;For name="IMPP"
 param      = impp-param ; Only impp parameters are allowed

 value      = uri

 impp-param = "TYPE" "=" impp-type *("," impp-type)
 
 impp-type  = "PERSONAL" / "BUSINESS" / ; purpose of communications 
              "HOME" / "WORK" / "MOBILE" / ; useful? 
              "VIDEO" / "VOICE" / "TEXT" /  ; core capabilities 
              "SMS" / "NUMERIC"  /  "BEEP"  / "PRES" ;  needed???
              "STORE" / ;  like MSG
              "PREF" / 
              iana-token / x-name; 
              ; Values are case insensitive 
</artwork></figure></t>
</section>

<section title="Example">
<t>
<figure><artwork>
BEGIN:vCard
VERSION:3.0
FN:John Doe
IMPP;TYPE=personal,text,store,pref:im:john@example.com
END:vCard
</artwork></figure></t>
</section>

<section title="Open Issues">
<t>
Are PERSONAL and BUSINESS a conflict in meaning with HOME and WORK? In the TEL
type HOME and WORK indicated a location, but they have slowly come to be
indicators that personal or business communication is requested. Would a person
with both a personal mobile phone and a work mobile phone have HOME,MOBILE and
WORK,MOBILE?</t>
<t>
Is there any need for SMS, NUMERIC, BEEP? This is not a system for negotiating
capabilities and these seem like too fine detail. On the other hand the
existing vCard supports pagers and such, and these definitions would help users
avoid sending large messages to GSM cell phones. </t>
<t>
Is STORE needed? It mirrors the functionality of MSG in the TEL type and is a
feature supported by many IM systems. </t>
<!--
<t>
Apple Address Book is using lines that look like:
<figure><artwork>
X-AIM;type=WORK;type=pref:alice123456789
X-JABBER;type=WORK;type=pref:alice@example.org
X-MSN;type=WORK;type=pref:alice@example.com
X-YAHOO;type=WORK;type=pref:alice123456789
</artwork></figure>
Microsoft Entourage does not support IM entires. 
</t>
-->
</section> 

<section title="IANA Considerations">
  <t>
    <xref target="section.defn"/> forms the IANA registration. </t>
</section>

<section title="Security Considerations">
<t>
This does not introduce additional security issues beyond current vCard
specification. It is worth noting that many people consider their presence
information more sensitive than some other address information. Any system that
stores or transfers vCards needs to carefully consider the privacy issues around
this information. </t> 
</section> 
<!-- <section title="Acknowledgements">
<t>
Thanks to ... </t>
		</section>
-->
</middle>
<back>
  <references title="Normative References">
    <reference anchor="RFC2425">
      <front>
	<title abbrev="MIME Content-Type for
		       Directory Information">A MIME --
          --Content-Type for Directory Information</title>
	<author initials="T." surname="Howes"
		fullname="Tim Howes">
	  <organization>Netscape
	    Communications
	    Corp.</organization>
	  <address>
	    <postal>
	      <street>501 East
		Middlefield
		Rd.</street>
	      <street>Mountain
		View</street>
	      <street>CA
		94041</street>
	      <country>USA</country>
	    </postal>
	    <phone>+1.415.937.3419</phone>
	    <email>howes@netscape.com</email>
	  </address>
	</author>
	<author initials="M." surname="Smith"
                fullname="Mark Smith">
	  <organization>Netscape
	    Communications
	    Corp.</organization>
	  <address>
	    <postal>
	      <street>501 East
		Middlefield
		Rd.</street>
	      <street>Mountain
		View</street>
	      <street>CA
		94041</street>
	      <country>USA</country>
	    </postal>
	    <phone>+1.415.937.3477</phone>
	    <email>mcs@netscape.com</email>
	  </address>
	</author>
	<author initials="F." surname="Dawson"
                fullname="Frank Dawson">
	  <organization>Lotus Development
	    Corporation</organization>
	  <address>
	    <postal>
	      <street>6544
		Battleford
		Drive</street>
	      <street>Raleigh</street>
	      <street>NC
		27613</street>
	      <country>USA</country>
	    </postal>
	    <phone>+1-919-676-9515</phone>
	    <email>frank_dawson@lotus.com</email>
	  </address>
	</author>
	<date month="September" year="1998"/>
	<area>Applications</area>
	<keyword>MIME</keyword>
	<keyword>content-type</keyword>
	<keyword>directory</keyword>
	<keyword>multipurpose internet mail
	  extensions</keyword>
      </front>
      <seriesInfo name="RFC" value="2425"/>
      <format type="TXT" octets="64478"
	      target="ftp://ftp.isi.edu/in-notes/rfc2425.txt"/>
      <format type="HTML" octets="88801"
	      target="http://xml.resource.org/public/rfc/html/rfc2425.html"/>
      <format type="XML" octets="67161"
	      target="http://xml.resource.org/public/rfc/xml/rfc2425.xml"/>
    </reference>
    <reference anchor="RFC2426">
      <front>
	<title>vCard MIME Directory
	  Profile</title>
	<author initials="F." surname="Dawson"
		fullname="Frank Dawson">
	  <organization>Lotus Development
	    Corporation</organization>
	  <address>
	    <postal>
	      <street>6544
		Battleford
		Drive</street>
	      <street>Raleigh</street>
	      <street>NC
		27613</street>
	      <country>USA</country>
	    </postal>
	    <phone>+1-919-676-9515</phone>
	    <email>frank_dawson@lotus.com</email>
	  </address>
	</author>
	<author initials="T." surname="Howes"
                fullname="Tim Howes">
	  <organization>Netscape
	    Communications
	    Corp.</organization>
	  <address>
	    <postal>
	      <street>501 East
		Middlefield
		Rd.</street>
	      <street>Mountain
		View</street>
	      <street>CA
		94041</street>
	      <country>USA</country>
	    </postal>
	    <phone>+1.415.937.3419</phone>
	    <email>howes@netscape.com</email>
	  </address>
	</author>
	<date month="September" year="1998"/>
	<area>Applications</area>
	<keyword>MIME</keyword>
	<keyword>audio</keyword>
	<keyword>content-type</keyword>
	<keyword>directory</keyword>
	<keyword>multipurpose internet mail
	  extensions</keyword>
      </front>
      <seriesInfo name="RFC" value="2426"/>
      <format type="TXT" octets="74646"
	      target="ftp://ftp.isi.edu/in-notes/rfc2426.txt"/>
      <format type="HTML" octets="98506"
	      target="http://xml.resource.org/public/rfc/html/rfc2426.html"/>
      <format type="XML" octets="77828"
	      target="http://xml.resource.org/public/rfc/xml/rfc2426.xml"/>
    </reference>
    <reference anchor="RFC2119">
      <front>
	<title abbrev="RFC Key Words">Key words
	  for use in RFCs to Indicate Requirement
	  Levels</title>
	<author initials="S." surname="Bradner"
		fullname="Scott Bradner">
	  <organization>Harvard
	    University</organization>
	  <address>
	    <postal>
	      <street>1350
		Mass. Ave.</street>
	      <street>Cambridge</street>
	      <street>MA
		02138</street>
	    </postal>
	    <phone>- +1 617 495
	      3864</phone>
	    <email>-</email>
	  </address>
	</author>
	<date month="March" year="1997"/>
	<area>General</area>
	<keyword>keyword</keyword>
      </front>
      <seriesInfo name="BCP" value="14"/>
      <seriesInfo name="RFC" value="2119"/>
      <format type="TXT" octets="4723"
	      target="ftp://ftp.isi.edu/in-notes/rfc2119.txt"/>
      <format type="HTML" octets="15902"
	      target="http://xml.resource.org/public/rfc/html/rfc2119.html"/>
      <format type="XML" octets="5647"
	      target="http://xml.resource.org/public/rfc/xml/rfc2119.xml"/>
    </reference>
  </references>
  <references title="Informational References">


    <reference anchor="RFC2234">
      <front>
	<title abbrev="ABNF for Syntax
		       Specifications">Augmented BNF for Syntax
	  Specifications: ABNF</title>
	<author initials="D.H."
		surname="Crocker" fullname="David
					    H. Crocker">
	  <organization>Internet Mail
	    Consortium</organization>
	  <address>
	    <postal>
	      <street>675
		Spruce
		Dr.</street>
	      <city>Sunnyvale</city>
	      <region>CA</region>
	      <code>94086</code>
	      <country>US</country>
	    </postal>
	    <phone>+1 408 246
	      8253</phone>
	    <facsimile>+1 408 249
	      6205</facsimile>
	    <email>dcrocker@imc.org</email>
	  </address>
	</author>
	<author initials="P." surname="Overell"
                fullname="Paul Overell">
	  <organization>Demon Internet
	    Ltd</organization>
	  <address>
	    <postal>
	      <street>Dorking
		Business
		Park</street>
	      <street>Dorking</street>
	      <city>Surrey</city>
	      <region>England</region>
	      <code>RH4
		1HN</code>
	      <country>UK</country>
	    </postal>
	    <email>paulo@turnpike.com</email>
	  </address>
	</author>
	<date month="November" year="1997"/>
      </front>
      <seriesInfo name="RFC" value="2234"/>
      <format type="TXT" octets="24265"
	      target="ftp://ftp.isi.edu/in-notes/rfc2234.txt"/>
    </reference>


<reference anchor='I-D.butcher-irc-url'>
<front>
<title>Uniform Resource Locator Schemes for Internet Relay Chat Servers</title>

<author initials='S' surname='Butcher' fullname='Simon  Butcher'>
    <organization />
</author>

<date month='October' day='8' year='2003' />
</front>

<seriesInfo name='Internet-Draft' value='draft-butcher-irc-url-01' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-butcher-irc-url-01.txt' />
</reference>


<reference anchor='RFC3261'>

<front>
<title>SIP: Session Initiation Protocol</title>
<author initials='J.' surname='Rosenberg' fullname='J. Rosenberg'>
<organization /></author>
<author initials='H.' surname='Schulzrinne' fullname='H. Schulzrinne'>
<organization /></author>
<author initials='G.' surname='Camarillo' fullname='G. Camarillo'>
<organization /></author>
<author initials='A.' surname='Johnston' fullname='A. Johnston'>
<organization /></author>
<author initials='J.' surname='Peterson' fullname='J. Peterson'>
<organization /></author>
<author initials='R.' surname='Sparks' fullname='R. Sparks'>
<organization /></author>
<author initials='M.' surname='Handley' fullname='M. Handley'>
<organization /></author>
<author initials='E.' surname='Schooler' fullname='E. Schooler'>
<organization /></author>
<date month='June' year='2002' /></front>

<seriesInfo name='RFC' value='3261' />
</reference>

<reference anchor='I-D.saintandre-xmpp-uri'>
<front>
<title>XMPP URI Format</title>

<author initials='P' surname='Saint-Andre' fullname='Peter Saint-Andre'>
    <organization />
</author>

<date month='September' day='12' year='2003' />
</front>

<seriesInfo name='Internet-Draft' value='draft-saintandre-xmpp-uri-00' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-saintandre-xmpp-uri-00.txt' />
</reference>

<reference anchor='I-D.ietf-impp-pres'>
<front>
<title>Common Profile for Presence (CPP)</title>

<author initials='J' surname='Peterson' fullname='Jon Peterson'>
    <organization />
</author>

<date month='May' day='20' year='2003' />
</front>

<seriesInfo name='Internet-Draft' value='draft-ietf-impp-pres-03' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-ietf-impp-pres-03.txt' />
</reference>

<reference anchor='I-D.ietf-impp-im'>
<front>
<title>Common Profile for Instant Messaging (CPIM)</title>

<author initials='J' surname='Peterson' fullname='Jon Peterson'>
    <organization />
</author>

<date month='May' day='20' year='2003' />
</front>

<seriesInfo name='Internet-Draft' value='draft-ietf-impp-im-03' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-ietf-impp-im-03.txt' />
</reference>

  </references>
</back>
</rfc>
