LML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://eclipse.org/ptp/lml
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations have no namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema includes components from the following schema document(s):

Declared Namespaces

Prefix Namespace
Default namespace http://www.w3.org/2001/XMLSchema
xml http://www.w3.org/XML/1998/namespace
lml http://eclipse.org/ptp/lml
Schema Component Representation
<schema targetNamespace="http://eclipse.org/ptp/lml">
<include schemaLocation="colors.xsd"/>
...
</schema>
top

Global Definitions

Complex Type: entities_type

Super-types: None
Sub-types: None
Name entities_type
Abstract no
Documentation Dummy-root-object. Contains key and keyref definitions to define foreign keys and primary keys. Primary key is here objects/object.id . Foreign key is information/info.id
XML Instance Representation
<...>
<objects> lml:objects_type </objects> [0..1]
<information> lml:information_type </information> [0..1]
</...>
Schema Component Representation
<complexType name="entities_type">
<sequence>
<element name="objects" type=" lml:objects_type " maxOccurs="1" minOccurs="0"/>
<element name="information" type=" lml:information_type " maxOccurs="1" minOccurs="0"/>
</sequence>
</complexType>
top

Complex Type: info_type

Super-types: None
Sub-types: None
Name info_type
Abstract no
Documentation Is referenced to an existing object-instance by id. description gives a brief idea of what this info contains. Collects a list of key-value-pairs. For example key="cpucount" value="290.000".
XML Instance Representation
<...
oid="NCName [1]"
description="string [0..1]"
type="NCName [0..1] ?">
<data> lml:infodata_type </data> [0..*]
</...>
Schema Component Representation
<complexType name="info_type">
<sequence>
<element name="data" type=" lml:infodata_type " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="oid" type=" NCName " use="required"/>
<attribute name="description" type=" string "/>
<attribute name="type" type=" NCName " default="notype"/>
</complexType>
top

Complex Type: infodata_type

Super-types: None
Sub-types: None
Name infodata_type
Abstract no
Documentation Key value pair for information.
XML Instance Representation
<...
key="string [1]"
value="string [0..1]"/>
Schema Component Representation
<complexType name="infodata_type">
<attribute name="key" type=" string " use="required"/>
<attribute name="value" type=" string "/>
</complexType>
top

Complex Type: information_type

Super-types: None
Sub-types: None
Name information_type
Abstract no
Documentation Collects a list of infos. Exists a most once.
XML Instance Representation
<...>
<info> lml:info_type </info> [0..*]
</...>
Schema Component Representation
<complexType name="information_type">
<sequence>
<element name="info" type=" lml:info_type " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</complexType>
top

Complex Type: object_type

Super-types: None
Sub-types: None
Name object_type
Abstract no
Documentation Defines one instance within the batch-system. For example one object could represent one job on the batch-system or one node. Even the system is one object. The color defines with which color this object is identified and painted.
XML Instance Representation
<...
type=" lml:object_name [1]"
id="NCName [1]"
color=" lml:hexcolor_type [0..1]"
name="string [0..1]"/>
Schema Component Representation
<complexType name="object_type">
<attribute name="type" type=" lml:object_name " use="required"/>
<attribute name="id" type=" NCName " use="required"/>
<attribute name="color" type=" lml:hexcolor_type " default="#FFF"/>
<attribute name="name" type=" string "/>
</complexType>
top

Complex Type: objects_type

Super-types: None
Sub-types: None
Name objects_type
Abstract no
Documentation Collects a list of objects. Can only exist once in whole lml-file.
XML Instance Representation
<...>
<object> lml:object_type </object> [0..*]
</...>
Schema Component Representation
<complexType name="objects_type">
<sequence>
<element name="object" type=" lml:object_type " maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</complexType>
top

Simple Type: object_name

Super-types: string < object_name (by restriction)
Sub-types: None
Name object_name
Content
  • Base XSD Type: string
  • value comes from list: {'job'|'node'|'system'|'queue'|'scheduler'|'class'|'partition'|'partmap'|'smallpartition'|'reservation'}
Documentation Contains a list of possible types of objects in a batch system.
Schema Component Representation
<simpleType name="object_name">
<restriction base=" string ">
<enumeration value="job"/>
<enumeration value="node"/>
<enumeration value="system"/>
<enumeration value="queue"/>
<enumeration value="scheduler"/>
<enumeration value="class"/>
<enumeration value="partition"/>
<enumeration value="partmap"/>
<enumeration value="smallpartition"/>
<enumeration value="reservation"/>
</restriction>
</simpleType>
top