Comment

Return to types list

Type Properties

Properties
PropertyValue
id9f4e0fcd-10d7-416d-855a-90514ce2016b
nameComment
uncreatablefalse
immutablefalse
singletonfalse
transformsmtt, stt, form
allow-readonlytrue

Type Details

comment  A comment associated with another data item.
NameTypeIsRequiredDescription
whend:approx-date-timeYesThe date and time associated with the comment.
contentt:stringnznwYesThe text content of this comment.
categoryt:codable-valueNoThe category of the comment. The category can be used to group related comments together.

Schema

Open schema as a file

Verify XML against this schema

<?xml version="1.0" encoding="utf-16"?>
<schema xmlns:d="urn:com.microsoft.wc.dates" xmlns:t="urn:com.microsoft.wc.thing.types" xmlns:this="urn:com.microsoft.wc.thing.comment" targetNamespace="urn:com.microsoft.wc.thing.comment" xmlns="http://www.w3.org/2001/XMLSchema">
  <import schemaLocation="base.xsd" namespace="urn:com.microsoft.wc.thing.types" />
  <import schemaLocation="dates.xsd" namespace="urn:com.microsoft.wc.dates" />
  <annotation>
    <documentation>
      <type-id xmlns="http://www.w3.org/2001/XMLSchema">9f4e0fcd-10d7-416d-855a-90514ce2016b</type-id>
      <type-name xmlns="http://www.w3.org/2001/XMLSchema">comment</type-name>
      <summary xmlns="http://www.w3.org/2001/XMLSchema">
                A comment associated with another data item.
            </summary>
      <effective-date-element xmlns="http://www.w3.org/2001/XMLSchema">when</effective-date-element>
    </documentation>
  </annotation>
  <element name="comment">
    <complexType>
      <annotation>
        <documentation>
          <summary xmlns="http://www.w3.org/2001/XMLSchema">
                        A comment associated with another data item.
                    </summary>
        </documentation>
      </annotation>
      <sequence>
        <element name="when" type="d:approx-date-time">
          <annotation>
            <documentation>
              <summary xmlns="http://www.w3.org/2001/XMLSchema">
                                The date and time associated with the comment.
                            </summary>
            </documentation>
          </annotation>
        </element>
        <element name="content" type="t:stringnznw">
          <annotation>
            <documentation>
              <summary xmlns="http://www.w3.org/2001/XMLSchema">
                                The text content of this comment.
                            </summary>
            </documentation>
          </annotation>
        </element>
        <element minOccurs="0" name="category" type="t:codable-value">
          <annotation>
            <documentation>
              <summary xmlns="http://www.w3.org/2001/XMLSchema">
                                The category of the comment.
                            </summary>
              <remarks xmlns="http://www.w3.org/2001/XMLSchema">
                                The category can be used to group related comments together.
                            </remarks>
            </documentation>
          </annotation>
        </element>
      </sequence>
    </complexType>
  </element>
</schema>


Columns

Columns describe this type in the STT and MTT transformations.

Columns
TagLabelTypeWidth
whenWhenString100
contentContentString100
categoryCategoryString100
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-appnameAppString100
wc-issignedSignedBoolean50
wc-isdownversionedDown VersionedBoolean50
wc-isupversionedUp VersionedBoolean50
wc-stateItem StateString50