<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE lire:dlf-schema PUBLIC
  "-//LogReport.ORG//DTD Lire DLF Schema Markup Language V1.1//EN"
  "http://www.logreport.org/LDSML/1.1/ldsml.dtd">
<lire:dlf-schema superservice="print" timestamp="time"
 xmlns:lire="http://www.logreport.org/LDSML/">

 <lire:title>DLF Schema for Print service</lire:title>
 <lire:description>
  <para>Each record in a the <structname>print</structname> schema
   contains the information about one print job.
  </para>
 </lire:description>

 <lire:field name="time" type="timestamp" label="Timestamp">
  <lire:description>
   <para>The time at which the print job started printing.</para>
  </lire:description>
 </lire:field>

 <lire:field name="duration" type="duration" label="Duration">
  <lire:description>
   <para>The time the print job took to print.</para>
  </lire:description>
 </lire:field>

 <lire:field name="client_host" type="hostname" label="Client Host">
  <lire:description>
   <para>The client hostname (or ip address) that requested the print
   job.
  </para>
  </lire:description>
 </lire:field>

 <lire:field name="user" type="string" label="User">
  <lire:description>
   <para>The name of the user who requested the print job.</para>
  </lire:description>
 </lire:field>

 <lire:field name="job-id" type="string" label="Job ID">
  <lire:description>
   <para>The identifier assigned to the job by the printing system. No
    uniqueness constraint are placed on this field. For example, it is
    possible for a printing system to reset the job identifiers after
    each restart of the system.
   </para>
  </lire:description>
 </lire:field>

 <lire:field name="printer" type="string" label="Printer">
  <lire:description>
   <para>The printer's name on which the job was printed.</para>
  </lire:description>
 </lire:field>

 <lire:field name="num_copies" type="int" default="1" label="Copies">
  <lire:description>
   <para>The number of copies of the job that were printed.</para>
  </lire:description>
 </lire:field>

 <lire:field name="num_pages" type="int" label="Pages">
  <lire:description>
   <para>The number of pages contained in the requested print job
    <emphasis>not counting the copies</emphasis>, i.e. the number of
    pages in one copies of the print job. </para>
  </lire:description>
 </lire:field>

 <lire:field name="size" type="bytes" label="Job Size">
  <lire:description>
   <para>The size of requested print job.</para>
  </lire:description>
 </lire:field>

 <lire:field name="billing" type="string" label="Billing ID">
  <lire:description>
   <para>An identifier used to relate the job to an billing account.</para>
  </lire:description>
 </lire:field>
</lire:dlf-schema>
