Schema RDL0.52.xsd


schema location:  RDL0.52.xsd
 
Elements  Complex types 
AbstractRequest  applicationType 
Application  catalogType 
Dataset  datasetType 
Environment  environmentType 
GenericDataset  genericDatasetType 
InputEvents  javaTaskType 
InputFiles  resourceType 
InputResource  rootTaskType 
InputTracks  scriptTaskType 
JavaTask  taskType 
MemoryPerProcess  textType 
OutputEvents 
OutputFiles 
OutputResource 
OutputTracks 
Request 
ResourceSpecifications 
RootTask 
ScriptTask 
Task 
Text 


element AbstractRequest
diagram
properties
content complex
children Request Task Application Dataset ResourceSpecifications WorkFlow
attributes
Name  Type  Use  Default  Fixed  Annotation
version  optional  V0.50    
annotation
documentation 
A group of requests and a description of how the requests are organized into 
a logical sequence of events (AND, OR, XOR, etc ... relationship) as well 
as datasets which may be used by requests

element AbstractRequest/WorkFlow
diagram
properties
isRef 0
annotation
documentation 
MergeRequests { id=[xs:ID] }
    RequestID { idref=[xs:IDref] }
       ....
    ChooseBetweenRequests { id=[xs:ID] }
        RequestID { idref=[xs:IDref] }
    SetupRequestDependancy { id=[xs:ID] }
        RequestToBeDoneFirstID { idref=[xs:IDref] }
        RequestWaitingForInputID { idref=[xs:IDref] }

element Application
diagram
type applicationType
properties
content complex
used by
element AbstractRequest
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      
name  xsd:stringrequired      
ver  xsd:stringoptional      
annotation
documentation 
Example: A XXTask will depend (or reference) a XXX aplication. Purpose 
is to allow versionning. 

element Dataset
diagram
type datasetType
properties
content complex
used by
element AbstractRequest
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
annotation
documentation 
Below, some ideas from DIAL
Dataset{  identity=[xs:ID], 
               mutability=[locked,appending], 
               location=[virtual,logical,physical,staged,mixed],
               composite=[xs:boolean]
            }
Contentlist
             ContentKey { type=[xs:string] }

element Environment
diagram
type environmentType
properties
content complex
substGrp Dataset
children EnvironmentVariable
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      

element GenericDataset
diagram
type extension of genericDatasetType
properties
content complex
substGrp Dataset
children Name Id DataSetIDRef Range Catalog Token
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  required      
annotation
documentation 
In this case, type should specify what this generic set relates to (Physical, Logical, Event data-sets etc ...). Note that because the model is multiple-choice un-bounded, list is implied as soon as one element has been chosen.

element InputEvents
diagram
type resourceType
properties
content complex
substGrp InputResource
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds

element InputFiles
diagram
type resourceType
properties
content complex
substGrp InputResource
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds

element InputResource
diagram
type resourceType
properties
content complex
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds
used by
element ResourceSpecifications
annotation
documentation 
In SUMS, we implemented a numFilesPerHour. This gave an indication of 
the input rate for a request. The request would then be split into sub-jobs 
according to available resources (CPUtime limit associated to a queue). A 
job would end up with 100 files each for example ... while the dataset would 
be of several 1000 files. BUT, input may be implemented with a different 
concept than files. For example, input can be events, tracks, gene 
sequence, etc ... This tries to generalize the idea.

element InputTracks
diagram
type resourceType
properties
content complex
substGrp InputResource
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds

element JavaTask
diagram
type javaTaskType
properties
content complex
substGrp Task
children STDIN STDOUT STDERR ClassName Jar Arguments ClassPath
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      

element MemoryPerProcess
diagram
type resourceType
properties
content complex
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds
used by
element ResourceSpecifications
annotation
documentation 
Total Memory (Virtual + RAM). Distinction is not relevant to users ??

element OutputEvents
diagram
type resourceType
properties
content complex
substGrp OutputResource
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds

element OutputFiles
diagram
type resourceType
properties
content complex
substGrp OutputResource
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds

element OutputResource
diagram
type resourceType
properties
content complex
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds
used by
element ResourceSpecifications
annotation
documentation 
Symetric of input ... Note that the type of storage is not specified here (like 
if the storage is NFS, AFS, Db, etc ...). The rate combined with the unit 
size will obviously limit the possibilities of where the jobs can run. This 
implies that this resource alone may map to several low-level JDL 
requirements (TransferRate, Type from the StorageDevice element 
in Glue CE, or event connection speed if we speak of db)

element OutputTracks
diagram
type resourceType
properties
content complex
substGrp OutputResource
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds

element Request
diagram
properties
content complex
children RequestName RequestDescription OutputHandling
used by
element AbstractRequest
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:ID      
taskRef  xsd:IDREFrequired      
appRef  xsd:IDREFrequired      
datasetRef  xsd:IDREFoptional      
resourceRef  xsd:IDREFoptional      
annotation
documentation 
For easier handling of initialization, end-task garbagge collection and task
wrap up, we may want to define initialization/finalization special requests.
Those could be defined once, and re-used for every job generated by a
single request. 
Also, there may be a need to do a unique request (task) for all jobs (not
for each jobs).

element Request/RequestName
diagram
properties
isRef 0

element Request/RequestDescription
diagram
properties
isRef 0

element Request/OutputHandling
diagram
properties
isRef 0
content complex
children Copy Register
annotation
documentation 
This element may be removed later (only a placeholder for later considertaion).
Ideally, outputs are themselves datasets and currentely, input/output are
non-symetrical.

element Request/OutputHandling/Copy
diagram
properties
isRef 0
content complex
children Source Destination

element Request/OutputHandling/Copy/Source
diagram
properties
isRef 0

element Request/OutputHandling/Copy/Destination
diagram
properties
isRef 0

element Request/OutputHandling/Register
diagram
properties
isRef 0

element ResourceSpecifications
diagram
properties
content complex
children MemoryPerProcess InputResource OutputResource Time
used by
element AbstractRequest
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      

element ResourceSpecifications/Time
diagram
properties
isRef 0

element RootTask
diagram
type rootTaskType
properties
content complex
substGrp Task
children STDIN STDOUT STDERR Macro Arguments
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      

element ScriptTask
diagram
type scriptTaskType
properties
content complex
substGrp Task
children STDIN STDOUT STDERR Script Arguments
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      

element Task
diagram
type taskType
properties
content complex
children STDIN STDOUT STDERR
used by
element AbstractRequest
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      
annotation
documentation 
In the newly proposed U-JDL, application and task are merged.

element Text
diagram
type textType
properties
content complex
substGrp Dataset
children Line
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
annotation
documentation 
Any text, including command line arguments

complexType applicationType
diagram
used by
element Application
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      
name  xsd:stringrequired      
ver  xsd:stringoptional      

complexType catalogType
diagram
children Type Name Query
used by
element genericDatasetType/Catalog

element catalogType/Type
diagram
type xsd:string
properties
isRef 0
content simple

element catalogType/Name
diagram
type xsd:anyURI
properties
isRef 0
content simple

element catalogType/Query
diagram
type xsd:string
properties
isRef 0
content simple

complexType datasetType
diagram
used by
element Dataset
complexTypes environmentType genericDatasetType textType
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      

complexType environmentType
diagram
type extension of datasetType
properties
base datasetType
children EnvironmentVariable
used by
element Environment
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
annotation
documentation 
Environment is a list (unbounded) of EnvironmentVariables. The notion was taken from datasets.dtd with change of attributes to elements.

element environmentType/EnvironmentVariable
diagram
properties
isRef 0
content complex
children Name Value

element environmentType/EnvironmentVariable/Name
diagram
type xsd:string
properties
isRef 0
content simple

element environmentType/EnvironmentVariable/Value
diagram
type xsd:string
properties
isRef 0
content simple

complexType genericDatasetType
diagram
type extension of datasetType
properties
base datasetType
children Name Id DataSetIDRef Range Catalog Token
used by
element GenericDataset
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      

element genericDatasetType/Name
diagram
type xsd:anyURI
properties
isRef 0
content simple
annotation
documentation 
LFN, PFN, ...

element genericDatasetType/Id
diagram
type xsd:long
properties
isRef 0
content simple
annotation
documentation 
Event ID, ...

element genericDatasetType/DataSetIDRef
diagram
type xsd:IDREF
properties
isRef 0
content simple
annotation
documentation 
Reference to other DataSets (merging)

element genericDatasetType/Range
diagram
properties
isRef 0
content complex
children Minimum Maximum
annotation
documentation 
Range may be used for event number ranges. It may not have any special significance for physical files. A range defines however a collection and fits well with Catalog and List.

element genericDatasetType/Range/Minimum
diagram
type xsd:anySimpleType
properties
isRef 0
content simple

element genericDatasetType/Range/Maximum
diagram
type xsd:anySimpleType
properties
isRef 0
content simple

element genericDatasetType/Catalog
diagram
type catalogType
properties
isRef 0
content complex
children Type Name Query
annotation
documentation 
Catalog element is the connection to any relevant catalog for the DataSet. Here, we envision the handling of Event, MetaData or File catalogs. We may
name the DataSets difefrentely for clarity but the genericDataSet is meant to cover everything as needed. The return value of a Catalog is compatible with a List (otherwise, use Token)

element genericDatasetType/Token
diagram
type xsd:anyType
properties
isRef 0
content complex
mixed true
attributes
Name  Type  Use  Default  Fixed  Annotation
annotation
documentation 
A token is a referral to an extrenal iterrator returning the DataSet of interrest. For example, the scheduler may declare to an external service its intent to work on a perticular DataSet and given back a token which will be later used by the application to retreive that DataSet. In case of planners, the Token mechanism would be more appropriate. A token based DataSet is most likely virtual (here again, don't know how to add the constraint)

complexType javaTaskType
diagram
type extension of taskType
properties
base taskType
children STDIN STDOUT STDERR ClassName Jar Arguments ClassPath
used by
element JavaTask
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      

element javaTaskType/ClassName
diagram
type xsd:anyURI
properties
isRef 0
content simple
annotation
documentation 
Either a jar or a class name

element javaTaskType/Jar
diagram
type xsd:anyURI
properties
isRef 0
content simple
annotation
documentation 
The location of the JAR file containing the main class

element javaTaskType/Arguments
diagram
type xsd:string
properties
isRef 0
content simple
annotation
documentation 
The arguments to use to execute the JAR file.

element javaTaskType/ClassPath
diagram
type xsd:anyURI
properties
isRef 0
content simple

complexType resourceType
diagram
children MininumUnitsRequired MaximumUnitsEstimated AverageSizeOfUnit UnitsPerSeconds
used by
elements InputEvents InputFiles InputResource InputTracks MemoryPerProcess OutputEvents OutputFiles OutputResource OutputTracks

element resourceType/MininumUnitsRequired
diagram
type xsd:long
properties
isRef 0
content simple
annotation
documentation 
Minimum may be used for dispatching purposes. A process will not start unless the available resource is above this minimum.

element resourceType/MaximumUnitsEstimated
diagram
type xsd:long
properties
isRef 0
content simple
annotation
documentation 
If unspecified, there are no known upper limits. If specified, this value indicates that the job will use this value as  maximum quanta of the resource will be taken. 
*** SUGGESTS *** The definition does not match the name "estimated". It appears to be strict limit. Change to Required ??

element resourceType/AverageSizeOfUnit
diagram
type xsd:float
properties
isRef 0
content simple
annotation
documentation 
If specified and applies, unit is in MB

element resourceType/UnitsPerSeconds
diagram
type xsd:float
properties
isRef 0
content simple
annotation
documentation 
Rate estimated by the user for his request. Note that if this is used, the quanta may be unit-less.

complexType rootTaskType
diagram
type extension of taskType
properties
base taskType
children STDIN STDOUT STDERR Macro Arguments
used by
element RootTask
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      

element rootTaskType/Macro
diagram
type extension of xsd:string
properties
isRef 0
content complex

element rootTaskType/Arguments
diagram
type xsd:string
properties
isRef 0
content simple

complexType scriptTaskType
diagram
type extension of taskType
properties
base taskType
children STDIN STDOUT STDERR Script Arguments
used by
element ScriptTask
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      

element scriptTaskType/Script
diagram
type extension of xsd:string
properties
isRef 0
content complex

element scriptTaskType/Arguments
diagram
type xsd:string
properties
isRef 0
content simple

complexType taskType
diagram
children STDIN STDOUT STDERR
used by
element Task
complexTypes javaTaskType rootTaskType scriptTaskType
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      
type  xsd:stringoptional      

element taskType/STDIN
diagram
type xsd:anyURI
properties
isRef 0
content simple

element taskType/STDOUT
diagram
type xsd:anyURI
properties
isRef 0
content simple

element taskType/STDERR
diagram
type xsd:anyURI
properties
isRef 0
content simple

complexType textType
diagram
type extension of datasetType
properties
base datasetType
children Line
used by
element Text
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  xsd:IDrequired      

element textType/Line
diagram
type xsd:string
properties
isRef 0
content simple


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy