SetAssignmentWorkData Schema

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The following shows the SetAssignmentWorkData Schema for Microsoft Office Project Server 2007.

The SetAssignmentWorkData Schema is included in the Project 2007 SDK download. For a link to the Project 2007 SDK download, see Welcome to the Microsoft Office Project 2007 SDK.

<?xml version="1 0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www w3 org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:element name="Changes" nillable="false">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Proj" nillable="false" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Assn" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:choice>
                      <xs:element name="Change">
                        <xs:complexType>
                          <xs:all maxOccurs="1">
                            <xs:element name="TotalWork" type="xs:unsignedInt" minOccurs="1"/>
                            <xs:element name="RemainingWork" type="xs:unsignedInt" minOccurs="1"/>
                            <xs:element name="ActualWork" type="xs:unsignedInt" minOccurs="1"/>
                            <xs:element name="Comments" type="xs:string" minOccurs="0"/>
                            <xs:element name="StatusGuid" type="GUID" minOccurs="0"/>
                            <xs:element name="Status" type="xs:string" minOccurs="0"/>
                          </xs:all>
                        </xs:complexType>
                      </xs:element>
                      <xs:element name="PeriodChange" maxOccurs="unbounded">
                        <xs:complexType mixed="true">
                          <xs:choice maxOccurs="unbounded">
                            <xs:element name="RemainingWork" type="xs:unsignedInt" minOccurs="1"/>
                            <xs:element name="Comments" type="xs:string" nillable="false" minOccurs="0"/>
                            <xs:choice maxOccurs="unbounded">
                              <xs:element name="ActualWork" maxOccurs="unbounded">
                                <xs:complexType>
                                  <xs:simpleContent>
                                    <xs:extension base="xs:unsignedInt">
                                      <xs:attributeGroup ref="TimeSpan"/>
                                    </xs:extension>
                                  </xs:simpleContent>
                                </xs:complexType>
                              </xs:element>
                              <xs:element name="OvertimeWork" minOccurs="0" maxOccurs="unbounded">
                                <xs:complexType>
                                  <xs:simpleContent>
                                    <xs:extension base="xs:unsignedInt">
                                      <xs:attributeGroup ref="TimeSpan"/>
                                    </xs:extension>
                                  </xs:simpleContent>
                                </xs:complexType>
                              </xs:element>
                            </xs:choice>
                            <xs:element name="StatusGuid" type="GUID" minOccurs="0"/>
                            <xs:element name="Status" type="xs:string" minOccurs="0"/>
                          </xs:choice>
                        </xs:complexType>
                      </xs:element>
                    </xs:choice>
                  </xs:sequence>
                  <xs:attribute name="ID" type="GUID" use="required"/>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="ID" type="GUID" use="required"/>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:attributeGroup name="TimeSpan">
    <xs:attribute name="Start" type="xs:dateTime" use="required"/>
    <xs:attribute name="End" type="xs:dateTime" use="required"/>
  </xs:attributeGroup>
  <xs:simpleType name="GUID">
    <xs:restriction base="xs:string">
      <xs:pattern value="\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}"/>
      <xs:pattern value="[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>

See Also

Concepts

SetAssignmentWorkData Elements