<remark>Per a vote of the Jabber Council, advanced status to Draft; per Council discussion, also added two additional moods and adjusted structure to use elements rather than XML character data.</remark>
<p>Information about user moods is provided by the user and propagated on the network by the user's client. The information is structured via a <mood/> element that is qualified by the 'http://jabber.org/protocol/mood' namespace. The mood itself is provided as the element name of a defined child element of the <mood/> element (e.g., <happy/>); one such child element is REQUIRED. The user MAY also specify a natural-language description of, or reason for, the mood in the <text/> child of the <mood/> element, which is OPTIONAL. Here is an example:</p>
<p>In addition, an application MAY provide a more specific mood value as a properly-namespaced child of the defined element, which extension MUST be ignored if the receiving application does not understand the extended namespace. Here is an example:</p>
<p>The <mood/> element SHOULD be communicated by means of &xep0060; or the subset of publish-subscribe specified in &xep0163;, but MAY be provided in a message as well. Because mood information is not pure presence information and can change independently of the user's availability, it SHOULD NOT be provided as an extension to &PRESENCE;.</p>
<p>If the user wishes to publish his mood to all of those who are subscribed to his mood information, the user SHOULD use publish-subscribe (the following examples show use of the publish-subscribe subset specified in <cite>XEP-0163</cite>).</p>
<p>As mentioned in XEP-0060, the stanza containing the event notification or payload MAY also include 'replyto' data (as specified by the &xep0033; protocol) to provide an explicit association between the published data and the user:</p>
<p>There exist various theories of human affect, mood, and emotion, including those promulgated by Frijda <note>Frijda, N. 1986. <cite>The Emotions</cite>. New York: Cambridge University Press.</note>, Ortony et al. <note>Ortony, A., Clore, G., and Collins, A. 1988. <cite>The Cognitive Structure of Emotions</cite>. Hillsdale, NJ: Erlbaum.</note>, and Wierzbicka <note>Wierzbicka, A. 1992. Defining Emotion Concepts. <cite>Cognitive Science</cite> 16: 539-581.</note>. The taxonomy provided here mostly follows the Affective Knowledge Representation that has been defined by Lisetti <note>Lisetti, C. 2002. Personality, Affect, and Emotion Taxonomy for Socially Intelligent Agents. In <cite>Proceedings of FLAIRS 2002</cite>. Menlo Park, CA: AAAI Press.</note> in an effort to harmonize the prevailing theories in this area. Furthermore, the taxonomy provided here includes a number of physical states in addition to moods, and also takes into account the specific context of instant messaging, including work done by other standards development organizations (e.g., the Wireless Village specifications contributed to the &OMA;) and instant messaging service providers (e.g., ICQ).</p>
<p>The mood values defined in this taxonomy are as follows:</p>
<ul>
<li>afraid</li>
<li>amazed</li>
<li>angry</li>
<li>annoyed</li>
<li>anxious</li>
<li>aroused</li>
<li>ashamed</li>
<li>bored</li>
<li>brave</li>
<li>calm</li>
<li>cold</li>
<li>confused</li>
<li>contented</li>
<li>cranky</li>
<li>curious</li>
<li>depressed</li>
<li>disappointed</li>
<li>disgusted</li>
<li>distracted</li>
<li>embarrassed</li>
<li>excited</li>
<li>flirtatious</li>
<li>frustrated</li>
<li>grumpy</li>
<li>guilty</li>
<li>happy</li>
<li>hot</li>
<li>humbled</li>
<li>humiliated</li>
<li>hungry</li>
<li>hurt</li>
<li>impressed</li>
<li>in_awe</li>
<li>in_love</li>
<li>indignant</li>
<li>interested</li>
<li>intoxicated</li>
<li>invincible</li>
<li>jealous</li>
<li>lonely</li>
<li>mean</li>
<li>moody</li>
<li>nervous</li>
<li>neutral</li>
<li>offended</li>
<li>playful</li>
<li>proud</li>
<li>relieved</li>
<li>remorseful</li>
<li>restless</li>
<li>sad</li>
<li>sarcastic</li>
<li>serious</li>
<li>shocked</li>
<li>shy</li>
<li>sick</li>
<li>sleepy</li>
<li>stressed</li>
<li>surprised</li>
<li>thirsty</li>
<li>worried</li>
</ul>
</section1>
<section1topic='Mapping to Wireless Village Moods'anchor='wv-mapping'>
<p>The Wireless Village (now "IMPS") specifications for mobile instant messaging define a number of presence attributes, encapsulated in the "StatusMood" information element <note>The Wireless Village Initiative: Presence Attributes v1.1 (WV-029); for further information, visit <<linkurl='http://www.openmobilealliance.org/tech/affiliates/wv/wvindex.html'>http://www.openmobilealliance.org/tech/affiliates/wv/wvindex.html</link>>.</note>. The following values are defined for StatusMood in Wireless Village, all of which map one-to-one from Wireless Village to the same values (albeit lowercase) in Jabber:</p>
<ul>
<li>ANGRY</li>
<li>ANXIOUS</li>
<li>ASHAMED</li>
<li>BORED</li>
<li>EXCITED</li>
<li>HAPPY</li>
<li>IN_LOVE</li>
<li>INVINCIBLE</li>
<li>JEALOUS</li>
<li>SAD</li>
<li>SLEEPY</li>
</ul>
<p>The full range of moods defined herein is richer than that defined in Wireless Village; no mapping is provided by this specification for mood values that are not present in Wireless Village, and any such mapping is the responsibility of a gateway between the two systems.</p>
<p>The XML character data values of the <value/> elements is not intended to be presented to a human user and thus there is no special reason to include an 'xml:lang' attribute unless the sender includes a <text/> element as well (as explained in &rfc2277;, "internationalization is for humans"). It is the responsibility of the receiving application to provide localized text strings associated with the XML character data values defined herein, or some other appropriate presentation (e.g., graphical images that represent the mood).</p>
<p>Because user moods may be published to a large number of pubsub subscribers, users should take care in approving subscribers and in characterizing their current moods.</p>