audit Schema
Audit Element
audit Schema : Audit Element

Glossary Item Box

Description

An audit entity.
Namespace (none)

Diagram

Properties Element User Element Time Element ParentType Element ParentId Element Action Element Sequence Audit Element

Overview

Audit
An audit entity.
Sequence
Action Restriction of xs:string
The audited action. One of INSERT, UPDATE, or DELETE: entity was created, changed, or deleted.
ParentId xs:integer
The ID of the audited entity. For example, if a defect was audited, this will be a defect ID.
ParentType xs:string
The type of the audited entity.
Time xs:string
The time the audit record was created according the the DB server clock.
User xs:string
The user who made the change.
Properties
Properties of this audit. For example, the fields that changed on the parent entity.

Source

<xs:element name="Audit" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>
        An audit entity.
    </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Action" />
      <xs:element ref="ParentId" />
      <xs:element ref="ParentType" />
      <xs:element ref="Time" />
      <xs:element ref="User" />
      <xs:element ref="Properties" />
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also