Skip to content

Commit

Permalink
WIP: XSD for defaults...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Nov 1, 2023
1 parent dce5376 commit 5f4779c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions lib/galaxy/tool_util/xsd/galaxy.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3731,6 +3731,7 @@ allow access to Python code to generate options for a select list. See
<xs:element name="options" type="ParamOptions"/>
<xs:element name="validator" type="Validator" />
<xs:element name="sanitizer" type="Sanitizer"/>
<xs:element name="default" type="ParamDefault" />
<xs:element name="help" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">Documentation for help</xs:documentation>
Expand Down Expand Up @@ -4115,6 +4116,41 @@ dataset for the contained input of the type specified using the ``type`` tag.
</xs:attribute>
</xs:complexType>

<xs:complexType name="ParamDefault">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="ParamDefaultCollectionElement" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="collection_type" type="CollectionType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Collection type for default collection (if param type is data_collection). Simple collection types are
either ``list`` or ``paired``, nested collections are specified as colon separated list of simple
collection types (the most common types are ``list``, ``paired``,
``list:paired``, or ``list:list``).
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="location" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Galaxy-aware URI for the default file.
]]></xs:documentation>
</xs:annotation>
</xs:attribute>

</xs:complexType>

<xs:group name="ParamDefaultCollectionElement">
<xs:choice>
<xs:element name="element" type="OutputData" />
</xs:choice>
</xs:group>

<xs:complexType name="ParamOptions">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Expand Down

0 comments on commit 5f4779c

Please sign in to comment.