Emotional State

Return to types list

Type Properties

Properties
PropertyValue
id4b7971d6-e427-427d-bf2c-2fbcf76606b3
nameEmotional State
uncreatablefalse
immutablefalse
singletonfalse
transformsform, mtt, stt

Type Details

emotion  A subjective record of an emotional state.
NameTypeIsRequiredDescription
whend:date-timeNoThe date and time when the emotional state occurred.
moodt:one-to-fiveNoA subjective ranking of the emotional state. The value ranges from one to five, with one being sad and five being very happy.
stresst:one-to-fiveNoA subjective ranking of the person's stress level. The value ranges from one to five, with one being relaxed to five being stressed.
wellbeingt:one-to-fiveNoA subjective ranking of the person's health. The value ranges from one to five, with one being sick to five being healthy.

Schema

Open schema as a file

Verify XML against this schema

<schema xmlns:e="urn:com.microsoft.wc.thing.emotion" xmlns:t="urn:com.microsoft.wc.thing.types" xmlns:d="urn:com.microsoft.wc.dates" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:com.microsoft.wc.thing.emotion">
  <import namespace="urn:com.microsoft.wc.thing.types" schemaLocation="base.xsd" />
  <import namespace="urn:com.microsoft.wc.dates" schemaLocation="dates.xsd" />
  <annotation>
    <documentation>
      <type-id>4b7971d6-e427-427d-bf2c-2fbcf76606b3</type-id>
      <type-name>Emotional State</type-name>
      <wrapper-class-name>Emotion</wrapper-class-name>
      <wrapper-class-fwlink>136110</wrapper-class-fwlink>
      <sample-xml-fwlink>136111</sample-xml-fwlink>
      <data-type-guide-fwlink>136109</data-type-guide-fwlink>
      <summary>A subjective record of an emotional state.</summary>
      <effective-date-element>when</effective-date-element>
    </documentation>
  </annotation>
  <element name="emotion">
    <complexType>
      <annotation>
        <documentation>
          <summary>A subjective record of an emotional state.</summary>
        </documentation>
      </annotation>
      <sequence>
        <element name="when" minOccurs="1" maxOccurs="1" type="d:date-time">
          <annotation>
            <documentation>
              <summary>The date and time when the emotional state occurred.</summary>
            </documentation>
          </annotation>
        </element>
        <element name="mood" minOccurs="0" maxOccurs="1" type="t:one-to-five">
          <annotation>
            <documentation>
              <summary>A subjective ranking of the emotional state.</summary>
              <remarks>The value ranges from one to five, with one being sad and five being very happy.</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="stress" minOccurs="0" maxOccurs="1" type="t:one-to-five">
          <annotation>
            <documentation>
              <summary>A subjective ranking of the person's stress level.</summary>
              <remarks>The value ranges from one to five, with onebeing relaxed to five being stressed.</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="wellbeing" minOccurs="0" maxOccurs="1" type="t:one-to-five">
          <annotation>
            <documentation>
              <summary>A subjective ranking of the person's health.</summary>
              <remarks>The value ranges from one to five, with onebeing sick to five being healthy.</remarks>
            </documentation>
          </annotation>
        </element>
      </sequence>
    </complexType>
  </element>
</schema>


Columns

Columns describe this type in the STT and MTT transformations.

Columns
TagLabelTypeWidth
whenDateString100
moodMoodString100
stressStressString100
wellbeingWellbeingString100
wc-idIDString50
wc-versionVersion StampString50
wc-noteNoteString100
wc-tagsTagsString100
wc-dateEffective DateDateTime50
wc-typeType NameString50
wc-typeidType IDString50
wc-sourceSourceString100
wc-brandsBrandsString100
wc-relatedthingsRelated ItemsString100
wc-ispersonalIs PersonalBoolean40
wc-audit-personnameChanged byString100
wc-audit-dateDateDateTime100
wc-audit-actionActionString100
wc-audit-appnameProgramString100
wc-issignedSignedBoolean50
wc-isdownversionedDown VersionedBoolean50
wc-isupversionedUp VersionedBoolean50
wc-stateItem StateString50