Configurative and administrative entities

These excerpts are for example purposes only. For the most current version, refer to the schema definition of your ImageMaster assembly release.

Job schedule

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<xs:schema version="1.0" targetNamespace="http://www.tsystems.com/ima/9.0/jobschedule" xmlns:tns="http://www.tsystems.com/ima/9.0/jobschedule" xmlns:xs="http://www.w3.org/2001/XMLSchema">

 

  <!-- This XSD is not used to auto-generate transport objects. The objects

       are manually created with their annotations.

       This file is only used for validation -->

 

  <xs:element name="schedule" type="tns:schedule"/>

 

  <xs:element name="always" type="tns:always"/>

  <xs:element name="daily" type="tns:daily"/>

  <xs:element name="weekdays" type="tns:weekdays"/>

  <xs:element name="event" type="tns:event"/>

  <xs:element name="interval" type="tns:interval"/>

  <xs:element name="monthly" type="tns:monthly"/>

  <xs:element name="once" type="tns:once"/>

  <xs:element name="hourly" type="tns:hourly"/>

  <xs:element name="weekly" type="tns:weekly"/>

  <xs:element name="yearly" type="tns:yearly"/>

 

  <xs:complexType name="always">

    <xs:sequence/>

    <xs:attribute name="maxTasks" type="xs:positiveInteger"/>

  </xs:complexType>

 

  <xs:complexType name="once">

    <xs:sequence/>

    <xs:attribute name="dateTime" type="xs:dateTime" use="required"/>

    <xs:attribute name="maxTasks" type="xs:positiveInteger"/>

  </xs:complexType>

 

  <xs:complexType name="hourly">

    <xs:sequence/>

    <xs:attribute name="hours" type="xs:positiveInteger"/>

    <xs:attribute name="minute" use="required">

      <xs:simpleType>

        <xs:restriction base="xs:integer">

          <xs:minInclusive value="0"/>

          <xs:maxInclusive value="59"/>

        </xs:restriction>

      </xs:simpleType>   

    </xs:attribute>

    <xs:attribute name="maxTasks" type="xs:positiveInteger"/>

  </xs:complexType>

 

  <xs:complexType name="daily">

    <xs:sequence/>

    <xs:attribute name="time" type="xs:string" use="required"/>

    <xs:attribute name="maxTasks" type="xs:positiveInteger"/>

  </xs:complexType>

 

  <xs:complexType name="weekdays">

    <xs:sequence/>

    <xs:attribute name="time" type="xs:string" use="required"/>

    <xs:attribute name="maxTasks" type="xs:positiveInteger"/>

  </xs:complexType>

 

  <xs:complexType name="weekly">

    <xs:sequence/> 

    <xs:attribute name="day" type="tns:dayOfWeek" use="required"/>

    <xs:attribute name="time" type="xs:string" use="required"/>

    <xs:attribute name="maxTasks" type="xs:positiveInteger"/>

  </xs:complexType>

 

  <xs:simpleType name="dayOfWeek">

    <xs:restriction base="xs:NMTOKEN">

      <xs:enumeration value="monday"/>

      <xs:enumeration value="tuesday"/>

      <xs:enumeration value="wednesday"/>

      <xs:enumeration value="thursday"/>

      <xs:enumeration value="friday"/>

      <xs:enumeration value="saturday"/>

      <xs:enumeration value="sunday"/>

    </xs:restriction>

  </xs:simpleType>   

 

  <xs:complexType name="monthly">

    <xs:sequence/>

    <xs:attribute name="day" type="xs:string" use="required"/>

    <xs:attribute name="time" type="xs:string" use="required"/>

    <xs:attribute name="maxTasks" type="xs:positiveInteger"/>

  </xs:complexType>

 

  <xs:complexType name="yearly">

    <xs:sequence/>

    <xs:attribute name="month" use="required">

      <xs:simpleType>

        <xs:restriction base="xs:integer">

          <xs:minInclusive value="1"/>

          <xs:maxInclusive value="12"/>

        </xs:restriction>

      </xs:simpleType>   

    </xs:attribute>

    <xs:attribute name="day" use="required">

      <xs:simpleType>

        <xs:restriction base="xs:integer">

          <xs:minInclusive value="1"/>

          <xs:maxInclusive value="31"/>

        </xs:restriction>

      </xs:simpleType>   

    </xs:attribute>

    <xs:attribute name="time" type="xs:string" use="required"/>

    <xs:attribute name="maxTasks" type="xs:positiveInteger"/>

  </xs:complexType>

 

  <xs:complexType name="event">

    <xs:sequence/>

    <xs:attribute name="id" type="xs:NMTOKEN"/>

    <xs:attribute name="name" type="xs:string"/>

    <xs:attribute name="maxTasks" type="xs:positiveInteger"/>

  </xs:complexType>

 

  <xs:complexType name="containerEntry" abstract="true">

    <xs:sequence>

      <xs:choice minOccurs="0" maxOccurs="unbounded">

        <xs:element ref="tns:always"/>

        <xs:element ref="tns:once"/>

        <xs:element ref="tns:hourly"/>

        <xs:element ref="tns:daily"/>

        <xs:element ref="tns:weekdays"/>

        <xs:element ref="tns:weekly"/>

        <xs:element ref="tns:monthly"/>

        <xs:element ref="tns:yearly"/>

        <xs:element ref="tns:event"/>

        <xs:element ref="tns:interval"/>

      </xs:choice>

    </xs:sequence>

  </xs:complexType> 

 

  <xs:complexType name="interval">

    <xs:complexContent>

      <xs:extension base="tns:containerEntry">

        <xs:sequence/>

        <xs:attribute name="first" type="xs:dateTime"/>

        <xs:attribute name="last" type="xs:dateTime"/>

      </xs:extension>

    </xs:complexContent>

  </xs:complexType>

 

  <xs:complexType name="schedule">

    <xs:complexContent>

      <xs:extension base="tns:containerEntry">

        <xs:sequence/>

      </xs:extension>

    </xs:complexContent>

  </xs:complexType>

</xs:schema>