|
3020 | 3020 | </xs:complexType>
|
3021 | 3021 | <xs:complexType name="UpdateComplexType">
|
3022 | 3022 | <xs:annotation>
|
3023 |
| - <xs:documentation>Describes the update/modification/change to a file, object, entity, piece of data, etc.</xs:documentation> |
| 3023 | + <xs:documentation>Describes the update/modification/change to a file, object, entity, piece of data, etc. The update can be recorded by providing the Before and After state to describe the change. Alternatively, if the change is a small change to an object with many parts, it may be preferable to record the individual changes rather than the whole state. As a minimum the After state should be recorded to describe the object being changed with/without the detail of its state.</xs:documentation> |
3024 | 3024 | </xs:annotation>
|
3025 | 3025 | <xs:sequence minOccurs="1" maxOccurs="1">
|
3026 | 3026 | <xs:element name="Before" type="evt:MultiObjectComplexType" minOccurs="0" maxOccurs="1">
|
3027 | 3027 | <xs:annotation>
|
3028 |
| - <xs:documentation>Describes the state of one or more object properties before it was changed.</xs:documentation> |
| 3028 | + <xs:documentation>Describes the state of one or more object properties before it was changed. Essentially a snapshot of the object before the change.</xs:documentation> |
3029 | 3029 | </xs:annotation>
|
3030 | 3030 | </xs:element>
|
3031 |
| - <xs:element name="After" type="evt:MultiObjectComplexType" minOccurs="1" maxOccurs="1"> |
| 3031 | + <xs:element name="After" type="evt:MultiObjectComplexType" maxOccurs="1"> |
3032 | 3032 | <xs:annotation>
|
3033 |
| - <xs:documentation>Describes the state of one or more object properties after it was changed.</xs:documentation> |
| 3033 | + <xs:documentation>Describes the state of one or more object properties after it was changed. Essentially a snapshot of the object after the change.</xs:documentation> |
3034 | 3034 | </xs:annotation>
|
3035 | 3035 | </xs:element>
|
| 3036 | + <xs:element minOccurs="0" name="Changes"> |
| 3037 | + <xs:annotation> |
| 3038 | + <xs:documentation>Describe one or more differences that have been applied to an object. When using this element, the object that the changes/differences are applied to should be described in the After element.</xs:documentation> |
| 3039 | + </xs:annotation> |
| 3040 | + <xs:complexType> |
| 3041 | + <xs:sequence> |
| 3042 | + <xs:element name="Add" type="evt:MultiObjectComplexType" minOccurs="0"> |
| 3043 | + <xs:annotation> |
| 3044 | + <xs:documentation>Describes the addition of one of more parts of an object or entity. For example if the user is adding two files to a zip file containing 1000 files, this can be recorded as the addition of the two files. The details of the zip file can be recorded in the After element without the need to record the before and after state of all 1000/1002 files.</xs:documentation> |
| 3045 | + </xs:annotation> |
| 3046 | + </xs:element> |
| 3047 | + <xs:element name="Replace" type="evt:MultiObjectComplexType" minOccurs="0"> |
| 3048 | + <xs:annotation> |
| 3049 | + <xs:documentation>Describes the replacement of one of more parts of an object or entity. For example if the user is updating a single file in a zip file containing 1000 files, this can be recorded as the replacement of just that file. The details of the zip file can be record in the After element without the need to recorded the before and after state of all 1000 files.</xs:documentation> |
| 3050 | + </xs:annotation> |
| 3051 | + </xs:element> |
| 3052 | + <xs:element name="Remove" type="evt:MultiObjectComplexType" minOccurs="0"> |
| 3053 | + <xs:annotation> |
| 3054 | + <xs:documentation>Describes the removal of one of more parts of an object or entity. For example if the user is removing two files from a zip file containing 1000 files, this can be recorded as the addition of the two files. The details of the zip file can be recorded in the After element without the need to record the before and after state of all 1000/998 files.</xs:documentation> |
| 3055 | + </xs:annotation> |
| 3056 | + </xs:element> |
| 3057 | + </xs:sequence> |
| 3058 | + </xs:complexType> |
| 3059 | + </xs:element> |
3036 | 3060 | <xs:element name="Outcome" type="evt:OutcomeComplexType" minOccurs="0" maxOccurs="1">
|
3037 | 3061 | <xs:annotation>
|
3038 | 3062 | <xs:documentation>Used to determine if the action was successful. If omitted it is assumed that the event was successful and was permitted.</xs:documentation>
|
|
0 commit comments