Requested Event Metadata XML structure

The XML structure for the Requested Metadata of an event

XML structure

<xs:schema id="ISHEventFields" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="ishfields">
    <xs:complexType>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="ishfield"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ishfield">
    <xs:complexType>
      <xs:simpleContent>
        <xs:extension base="xs:string">
          <xs:attribute name="name" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:minLength value="1"/>
                <xs:maxLength value="255" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="level" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="progress"/>
                <xs:enumeration value="detail"/>
                <xs:enumeration value="data"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="ishvaluetype" use="optional">
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value=""/>
                <xs:enumeration value="value"/>
                <xs:enumeration value="element"/>
                <xs:enumeration value="id"/>
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:extension>
      </xs:simpleContent>
    </xs:complexType>
  </xs:element>
</xs:schema>

Example 1

<ishfields>
  <ishfield name='EVENTID' level='progress'/>
  <ishfield name='CREATIONDATE' level='detail'/>
  <ishfield name='STATUS' level='detail'/>
  <ishfield name='ACTION' level='detail'/>
  <ishfield name='DESCRIPTION' level='detail'/>
  <ishfield name='EVENTDATATYPE' level='detail'/>
  <ishfield name='EVENTDATASIZE' level='detail'/>
</ishfields>

Example 2

<ishfields>
   <ishfield name='EVENTID' level='progress'/>
   <ishfield name='EVENTTYPE' level='progress'/>
   <ishfield name='CREATIONDATE' level='progress'/>
   <ishfield name='MODIFICATIONDATE' level='progress'/>
   <ishfield name='DESCRIPTION' level='progress'/>
   <ishfield name='STATUS' level='progress'/>
   <ishfield name='PARENTPROGRESSID' level='progress'/>
   <ishfield name='USERID' level='progress'/>
   <ishfield name='MAXIMUMPROGRESS' level='progress'/>
   <ishfield name='CURRENTPROGRESS' level='progress'/>
</ishfields>