/usr/share/pegasus/schema/dax-3.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 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 | <?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Rebecca Y Jordan (UNIV OF SOUTHERN CALIF) -->
<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.1">
<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="FileType">
<xs:annotation>
<xs:documentation>defines the type of files data|executable|pattern</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="data"/>
<xs:enumeration value="executable"/>
<xs:enumeration value="pattern"/>
</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:enumeration value="execution"/>
</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="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="register" type="xs:boolean" use="optional" default="true"/>
<xs:attribute name="transfer" type="TransferType" use="optional" default="true"/>
<xs:attribute name="type" type="FileType" use="optional" default="data"/>
</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:complexType name="AbstractJobType">
<xs:annotation>
<xs:documentation>common elements in job, dag, and dax nodes. </xs:documentation>
</xs:annotation>
<xs:sequence>
<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: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="execution" 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:complexType>
</xs:element>
<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="stdin" minOccurs="0">
<xs:annotation>
<xs:documentation>stand-in for "file", linkage is "input" fixed.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="PlainFilenameType">
<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 "file", linkage is "output" fixed.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="PlainFilenameType">
<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 "file", linkage is "output" fixed.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="PlainFilenameType">
<xs:attribute name="link" type="LinkageType" use="optional" fixed="output"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="uses" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:complexContent>
<xs:extension base="FilenameType">
<xs:sequence>
<xs:element name="pfn" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="url" type="xs:anyURI" use="required"/>
<xs:attribute name="site" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="metadata" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="key" type="xs:NMTOKEN" use="required"/>
<xs:attribute name="type" type="xs:NMTOKEN" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="size" type="xs:float" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required"/>
</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:sequence maxOccurs="unbounded">
<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:complexContent>
<xs:extension base="AbstractJobType">
<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="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:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="runtime" type="xs:float" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="dax" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:complexContent>
<xs:extension base="AbstractJobType">
<xs:attribute name="file" type="xs:string" 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:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="dag" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:complexContent>
<xs:extension base="AbstractJobType">
<xs:attribute name="file" type="xs:string" 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:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<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>
|