Previous Topic: Encryption InterventionNext Topic: Example XML Metadata Output File


XML Schema for Metadata Output Files

The XML schema for metadata output files is described in UEExportRecords.xsd. This file is reproduced below. It is available from CA Support at http://ca.com/support

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0">
	<xsd:annotation>
		<xsd:documentation>
#****************************************************************************************
# © Copyright CA 2010. All rights reserved.
#****************************************************************************************
#
# Project:       Universal Extractor
# Component:     Export Records Schema
# Author:        Rod Thomas
# Create Date:   2 November 2005
# Description:   XML Schema defining the content of an export records file from the UE
#
#****************************************************************************************
#
# Source Code Control Information (do not change this section)
#
# Filename:      $Archive: /wigan/UniversalExtractor/schemas/UEExportRecords.xsd $
# Revision:      $Revision: 15 $
# Modified by:   $Author: Thoro14 $
# Modified date: $Modtime: 22/07/10 12:28 $
#
#****************************************************************************************
		</xsd:documentation>
	</xsd:annotation>
	<xsd:element name="events">
		<xsd:complexType>
			<xsd:choice minOccurs="0" maxOccurs="unbounded">
				<xsd:element ref="event" />
			</xsd:choice>
			<xsd:attribute name="source" use="optional" type="short_string_type" default="CA DataMinder" />
			<xsd:attribute name="exportTimestamp" use="required" type="xsd:dateTime" />
			<xsd:attribute name="fileno" use="optional" type="xsd:unsignedLong" />
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="event">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element minOccurs="0" maxOccurs="unbounded" ref="trigger" />
				<xsd:element minOccurs="0" maxOccurs="unbounded" ref="audit" />
				<xsd:element minOccurs="0" maxOccurs="unbounded" ref="issue" />
				<xsd:element minOccurs="0" maxOccurs="unbounded" ref="smart_tag" />
			</xsd:sequence>
			<xsd:attribute name="eventUID" use="required" type="xsd:unsignedLong" />
			<xsd:attribute name="eventTimestamp" use="required" type="xsd:dateTime" />
			<xsd:attribute name="type" use="required" type="event_type" />
			<xsd:attribute name="remoteID" use="required" type="string_type" />
			<xsd:attribute name="subject" use="optional" type="long_string_type" />
			<xsd:attribute name="isPermanent" use="optional" type="xsd:boolean" />
			<xsd:attribute name="expiryTimestamp" use="optional" type="xsd:dateTime" />
			<xsd:attribute name="direction" use="optional" type="direction_type" />
			<xsd:attribute name="channel" use="optional" type="channel_type" />
			<xsd:attribute name="IMNetwork" use="optional" type="string_type" />
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="trigger">
		<xsd:complexType>
			<xsd:attribute name="name" use="required" type="string_type" />
			<xsd:attribute name="policyText" use="optional" type="string_type" />
			<xsd:attribute name="matchText" use="optional" type="long_string_type" />
			<xsd:attribute name="actionName" use="optional" type="string_type" />
			<xsd:attribute name="transactionValue" use="optional" type="string_type" />
			<xsd:attribute name="transactionLimit" use="optional" type="string_type" />
			<xsd:attribute name="classification" use="optional" type="string_type" />
			<xsd:attribute name="ghost" use="optional" type="xsd:boolean" />
			<xsd:attribute name="performed" use="optional" type="xsd:boolean" />
			<xsd:attribute name="auto" use="optional" type="xsd:boolean" />
			<xsd:attribute name="redirect" use="optional" type="string_type" />
			<xsd:attribute name="intervention" use="optional" type="intervention_type" />
			<xsd:attribute name="incomingBlock" use="optional" type="incomingBlock_type" />
			<xsd:attribute name="ignored" use="optional" type="xsd:boolean" />
			<xsd:attribute name="personal" use="optional" type="xsd:boolean" />
			<xsd:attribute name="encrypted" use="optional" type="xsd:boolean" />
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="issue">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element minOccurs="0" maxOccurs="unbounded" ref="participant" />
				<xsd:element minOccurs="1" maxOccurs="unbounded" ref="audit" />
			</xsd:sequence>
			<xsd:attribute name="name" use="required" type="string_type" />
			<xsd:attribute name="participant" use="optional" type="string_type" />
			<!-- Deprecated -->
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="audit">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element minOccurs="0" maxOccurs="unbounded" ref="auditEmail" />
			</xsd:sequence>
			<xsd:attribute name="type" use="required" type="audit_type" />
			<xsd:attribute name="reviewer" use="required" type="short_string_type" />
			<xsd:attribute name="field1" use="optional" type="string_type" />
			<xsd:attribute name="comment" use="optional" type="string_type" />
			<xsd:attribute name="expiryTimestamp" use="optional" type="xsd:dateTime" />
			<xsd:attribute name="isPermanent" use="optional" type="xsd:boolean" />
			<xsd:attribute name="field2" use="optional" type="string_type" />
			<xsd:attribute name="field3" use="optional" type="long_string_type" />
			<xsd:attribute name="quarantineStatus" use="optional" type="quarantine_type" />
			<xsd:attribute name="participant" use="optional" type="string_type" />
			<xsd:attribute name="issueName" use="optional" type="string_type" />
			<xsd:attribute name="timestamp" use="required" type="xsd:dateTime" />
			<xsd:attribute name="exportFormat" use="optional" type="string_type" />
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="smart_tag">
		<xsd:complexType>
			<xsd:attribute name="name" use="required" type="string_type" />
			<xsd:attribute name="value" use="required" type="string_type" />
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="participant">
		<xsd:complexType>
			<xsd:attribute name="address" use="required" type="string_type" />
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="auditEmail">
		<xsd:complexType>
			<xsd:attribute name="to" use="required" type="string_type" />
			<xsd:attribute name="cc" use="optional" type="string_type" />
			<xsd:attribute name="bcc" use="optional" type="string_type" />
			<xsd:attribute name="subject" use="optional" type="string_type" />
			<xsd:attribute name="body" use="optional" type="long_string_type" />
			<xsd:attribute name="attachment" use="optional" type="attachment_type" />
			<xsd:attribute name="readReceipt" use="optional" type="xsd:boolean" />
			<xsd:attribute name="priority" use="optional" type="priority_type" />
		</xsd:complexType>
	</xsd:element>
	<!-- Type Definitions -->
	<xsd:simpleType name="string_type">
		<xsd:restriction base="xsd:string">
			<xsd:minLength value="0" />
			<xsd:maxLength value="255" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="short_string_type">
		<xsd:restriction base="xsd:string">
			<xsd:minLength value="0" />
			<xsd:maxLength value="128" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="long_string_type">
		<xsd:restriction base="xsd:string">
			<xsd:minLength value="0" />
			<xsd:maxLength value="4000" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="event_type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Web" />
			<xsd:enumeration value="E-mail" />
			<xsd:enumeration value="IM" />
			<xsd:enumeration value="Appmon" />
			<xsd:enumeration value="Bloomberg" />
			<xsd:enumeration value="IM as E-mail" />
			<xsd:enumeration value="eFax" />
			<xsd:enumeration value="File" />
			<xsd:enumeration value="File:Exchange" />
			<xsd:enumeration value="File:Sharepoint" />
			<xsd:enumeration value="File:Database" />
			<xsd:enumeration value="File:Network" />
			<xsd:enumeration value="File:Save" />
			<xsd:enumeration value="File:Print" />
			<xsd:enumeration value="Unknown" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="direction_type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Incoming" />
			<xsd:enumeration value="Outgoing" />
			<xsd:enumeration value="Webmail" />
			<xsd:enumeration value="Unknown" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="channel_type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Webmail" />
			<xsd:enumeration value="Web" />
			<xsd:enumeration value="FTP" />
			<xsd:enumeration value="NNTP" />
			<xsd:enumeration value="IM" />
			<xsd:enumeration value="Unknown" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="intervention_type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Block Quietly" />
			<xsd:enumeration value="Block with Notification" />
			<xsd:enumeration value="Warn" />
			<xsd:enumeration value="Warn with Personal" />
			<xsd:enumeration value="None" />
			<xsd:enumeration value="Inform" />
			<xsd:enumeration value="Notify" />
			<xsd:enumeration value="Quarantine Quietly" />
			<xsd:enumeration value="Quarantine with Notification" />
			<xsd:enumeration value="Legal Hold Notification" />
			<xsd:enumeration value="Categorize single" />
			<xsd:enumeration value="Categorize multiple" />
			<xsd:enumeration value="No further actions" />
			<xsd:enumeration value="Encryption advised" />
			<xsd:enumeration value="Encryption enforced" />
			<xsd:enumeration value="Unknown" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="incomingBlock_type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Deleted" />
			<xsd:enumeration value="Content Replaced" />
			<xsd:enumeration value="None" />
			<xsd:enumeration value="Unknown" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="audit_type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Viewed" />
			<xsd:enumeration value="Status Changed" />
			<xsd:enumeration value="Comment" />
			<xsd:enumeration value="Expiry Date Changed" />
			<xsd:enumeration value="Permanent Flag Changed" />
			<xsd:enumeration value="Mailed Event" />
			<xsd:enumeration value="Classifier Changed" />
			<xsd:enumeration value="Action Changed" />
			<xsd:enumeration value="Quarantine Changed" />
			<xsd:enumeration value="Issue Participant Changed" />
			<xsd:enumeration value="Issue Name Changed" />
			<xsd:enumeration value="Issue Created" />
			<xsd:enumeration value="Event Exported" />
			<xsd:enumeration value="Event Printed" />
			<xsd:enumeration value="Participant Added" />
			<xsd:enumeration value="Participant Removed" />
			<xsd:enumeration value="Unknown" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="quarantine_type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Reject" />
			<xsd:enumeration value="Release" />
			<xsd:enumeration value="Success" />
			<xsd:enumeration value="Fail/Retry" />
			<xsd:enumeration value="Fail/Block" />
			<xsd:enumeration value="Unknown" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="attachment_type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="EVL" />
			<xsd:enumeration value="MSG" />
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="priority_type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="Low" />
			<xsd:enumeration value="Normal" />
			<xsd:enumeration value="Urgent" />
			<xsd:enumeration value="Unknown" />
		</xsd:restriction>
	</xsd:simpleType>
</xsd:schema>