/usr/share/pegasus/schema/dax-2.0.xsd is in pegasus-wms 4.0.1+dfsg-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | <?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://pegasus.isi.edu/schema/DAX" xmlns="http://pegasus.isi.edu/schema/DAX" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0">
<xs:simpleType name="TransferType">
<xs:annotation>
<xs:documentation>defines the tri-state transfer modes.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="false"/>
<xs:enumeration value="optional"/>
<xs:enumeration value="true"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="LinkageType">
<xs:annotation>
<xs:documentation>defines the usage of a logical filename.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="none"/>
<xs:enumeration value="input"/>
<xs:enumeration value="output"/>
<xs:enumeration value="inout"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ProfileNamespace">
<xs:annotation>
<xs:documentation>defines the legal namespaces of execution profiles.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="pegasus"/>
<xs:enumeration value="condor"/>
<xs:enumeration value="dagman"/>
<xs:enumeration value="env"/>
<xs:enumeration value="hints"/>
<xs:enumeration value="globus"/>
<xs:enumeration value="selector"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="PlainFilenameType">
<xs:annotation>
<xs:documentation>defines just a filename.</xs:documentation>
</xs:annotation>
<xs:attribute name="file" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="FilenameType">
<xs:annotation>
<xs:documentation>logical filename representation.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="PlainFilenameType">
<xs:attribute name="dontTransfer" type="TransferType" use="optional" default="false"/>
<xs:attribute name="dontRegister" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="temporaryHint" type="xs:string" use="optional"/>
<xs:attribute name="link" type="LinkageType" use="optional"/>
<xs:attribute name="optional" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="type" use="optional" default="data">
<xs:simpleType>
<xs:restriction base="xs:NMTOKENS">
<xs:enumeration value="data"/>
<xs:enumeration value="metadata"/>
<xs:enumeration value="executable"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="StdioType">
<xs:annotation>
<xs:documentation>Derivation of Plain filename, with added attributes for variable name recording.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="PlainFilenameType">
<xs:attribute name="varname" type="xs:NMTOKEN" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="adag">
<xs:annotation>
<xs:documentation>abstract DAG in XML</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:annotation>
<xs:documentation>A dependency must not be used before all the jobs it references were declared. It is suggested to keep all jobs, all deps and all lfns together, a total of three sections.</xs:documentation>
</xs:annotation>
<xs:element name="filename" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>List of all filenames used.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="PlainFilenameType">
<xs:attribute name="link" type="LinkageType" use="optional"/>
<xs:attribute name="optional" type="xs:boolean" use="optional" default="false"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="job" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Job specification in terms of a logical transformation.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="argument" minOccurs="0">
<xs:annotation>
<xs:documentation>Arguments on the commandline, text interrupted by filenames</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="filename" type="PlainFilenameType"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="profile" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Execution environment specific data to be passed to lower levels.</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="filename" type="PlainFilenameType"/>
</xs:sequence>
<xs:attribute name="key" type="xs:string" use="required"/>
<xs:attribute name="namespace" type="ProfileNamespace" use="required"/>
<xs:attribute name="origin" type="xs:string" use="optional" default="vdl"/>
</xs:complexType>
</xs:element>
<xs:element name="stdin" minOccurs="0">
<xs:annotation>
<xs:documentation>stand-in for "filename", linkage is "input" fixed.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="StdioType">
<xs:attribute name="link" type="LinkageType" use="optional" fixed="input"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="stdout" minOccurs="0">
<xs:annotation>
<xs:documentation>stand-in for "filename", linkage is "output" fixed.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="StdioType">
<xs:attribute name="link" type="LinkageType" use="optional" fixed="output"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="stderr" minOccurs="0">
<xs:annotation>
<xs:documentation>stand-in for "filename", linkage is "output" fixed.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="StdioType">
<xs:attribute name="link" type="LinkageType" use="optional" fixed="output"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="uses" type="FilenameType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="namespace" type="xs:string" use="optional"/>
<xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
<xs:attribute name="version" type="xs:string" use="optional"/>
<xs:attribute name="dv-namespace" type="xs:string" use="optional"/>
<xs:attribute name="dv-name" type="xs:NMTOKEN" use="optional"/>
<xs:attribute name="dv-version" type="xs:string" use="optional"/>
<xs:attribute name="id" type="xs:ID" use="required"/>
<xs:attribute name="level" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>Level from search in router.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="compound" type="xs:NMTOKENS" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="child" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>List of dependencies.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="parent">
<xs:annotation>
<xs:documentation>parent node refering to a job.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="xs:IDREF" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ref" type="xs:IDREF" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:pattern value="[0-9]+\.[0-9]+[a-z]?"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="index" type="xs:nonNegativeInteger" use="required"/>
<xs:attribute name="count" type="xs:nonNegativeInteger" use="required"/>
<xs:attribute name="jobCount" type="xs:positiveInteger" use="optional"/>
<xs:attribute name="fileCount" type="xs:nonNegativeInteger" use="optional"/>
<xs:attribute name="childCount" type="xs:nonNegativeInteger" use="optional"/>
</xs:complexType>
</xs:element>
</xs:schema>
|