The Project Settings XSD

XSD for download (Download project-settings.xsd).

<xs:schema xmlns="http://smartics.de/xsd/projectdoc/project-settings/1" targetNamespace="http://smartics.de/xsd/projectdoc/project-settings/1" elementFormDefault="qualified">
  <xs:element name="project-settings">
    <xs:annotation>
      <xs:documentation>
        Default settings for projectdoc doctype add-on projects.
      </xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="coordinates" minOccurs="0" type="Coordinates">
          <xs:annotation>
            <xs:documentation>
              Defaults for the artifact coordinates.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="layout" minOccurs="0" type="Layout">
          <xs:annotation>
            <xs:documentation>
              Defaults for the project directory layout.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="keys" minOccurs="0" type="Keys">
          <xs:annotation>
            <xs:documentation>
              Defaults for keys used in the project.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="references" minOccurs="0" type="References">
          <xs:annotation>
            <xs:documentation>
              List of references to remote resources relevant to the project.
            </xs:documentation>
          </xs:annotation>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

  <xs:complexType name="Coordinates">
    <xs:annotation>
      <xs:documentation>
        Defaults for the artifact coordinates.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="groupId" minOccurs="0" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            The default groupId for projects.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="artifactIdPrefix" minOccurs="0" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            The default prefix for OBR/add-on artifacts.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="modelArtifactIdPrefix" minOccurs="0" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            The default prefix for model artifacts.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="version" minOccurs="0" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            The default version for new projects.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="Layout">
    <xs:annotation>
      <xs:documentation>
        Defaults for the artifact coordinates.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="modelsFolder" minOccurs="0" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            The default location for the projectdoc models.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="Keys">
    <xs:annotation>
      <xs:documentation>
        Defaults for keys used in the project.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="packagePrefix" minOccurs="0" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            The default prefix for the packages in the new project.
            The shortId will be added to this prefix.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="organizationSignature" minOccurs="0" type="xs:string">
        <xs:annotation>
          <xs:documentation>
            The signature to use for referencing the organization.
            Used for copyright notices.
          </xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>

  <xs:complexType name="References">
    <xs:annotation>
      <xs:documentation>
        List of references to remote resources relevant to the project.
      </xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="reference" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>
            A single reference to a remote resource. The content of the element
            is expected to be a URL or URI.
          </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:anyURI">
              <xs:attribute name="name" type="xs:string">
                <xs:annotation>
                  <xs:documentation>
                    The name of the resource this reference points to.
                  </xs:documentation>
                </xs:annotation>
              </xs:attribute>
              <xs:attribute name="type" type="xs:string">
                <xs:annotation>
                  <xs:documentation>
                    The type of the resource this reference points to.
                  </xs:documentation>
                </xs:annotation>
              </xs:attribute>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>