<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE lire:extended-schema PUBLIC
  "-//LogReport.ORG//DTD Lire DLF Schema Markup Language V1.1//EN"
  "http://www.logreport.org/LDSML/1.1/ldsml.dtd">
<lire:extended-schema id="database-querytype" base-schema="database"
 module="Lire::Extensions::Database::DatabaseSchema"
 required-fields="query"
 xmlns:lire="http://www.logreport.org/LDSML/">

 <lire:title>Query Type Extended Schema for Database Superservice</lire:title>
 <lire:description>
  <para>An extended schema for the <type>database</type> superservice
   which extracts the query type from the query that was made.
  </para>
 </lire:description>

 <lire:field name="querytype" type="string" label="Query Type">
  <lire:description>
   <para>The type of SQL query that was made. This will be usually be
    something like <constant>SELECT</constant>,
    <constant>INSERT</constant>, <constant>UPDATE</constant>,
    <constant>DELETE</constant> or other administrative commands. In
    the case of nested queries, this will be the type of the
    outer-most query.
   </para>
  </lire:description>
 </lire:field>
</lire:extended-schema>
