functions.xsd 1.87 KB
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="functions">
    <xs:complexType>
      <xs:sequence minOccurs="0" maxOccurs="unbounded">
        <xs:element name="function">
          <xs:complexType>
            <xs:all>
              <xs:element name="prompts" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="prompt" minOccurs="0" maxOccurs="unbounded">
                      <xs:complexType>
                        <xs:simpleContent>
                          <xs:extension base="xs:string">
                            <xs:attribute name="type" type="xs:string" use="optional"/>
                            <xs:attribute name="subtype" type="xs:string" use="optional"/>
                            <xs:attribute name="default" type="xs:string" use="optional"/>
                          </xs:extension>
                        </xs:simpleContent>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="prompt_param" type="xs:string" minOccurs="0" maxOccurs="1"/>
              <xs:element name="default_args" type="xs:string" minOccurs="0" maxOccurs="1"/>
              <xs:element name="info_brief" type="xs:string"/>
              <xs:element name="new_kernel" type="xs:string"/>
            </xs:all>
            <xs:attribute name="name" type="xs:string"/>
            <xs:attribute name="args" type="xs:int"/>
            <xs:attribute name="kind" type="xs:string"/>
            <xs:attribute name="group" type="xs:string"/>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="id" type="xs:ID" use="required" />
    </xs:complexType>
  </xs:element>
</xs:schema>