Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

ALF/Vocabularies/Requirements Management/Schema

< ALF

SCM Vocabulary Schema

see also ServiceWSDL

see also EventWSDL

see also Event Base Schema

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.eclipse.org/alf/schema/RMVocabulary/1"
	xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified"
	targetNamespace="http://www.eclipse.org/alf/schema/RMVocabulary/1">

	<xs:annotation>
		<xs:documentation>
			WARNING: PRELIMINARY VERSION SUBJECT TO CHANGE
		</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>
			Copyright Notice The material in this document is Copyright
			(c) Serena Software, Inc. and others, 2005, 2006, 2007 Terms
			and Conditions: The Eclipse Foundation makes available all
			content in this document ("Content"). Unless otherwise
			indicated below, the Content is provided to you under the
			terms and conditions of the Eclipse Public License Version
			1.0 ("EPL"). A copy of the EPL is available at
			http://www.eclipse.org/legal/epl-v10.html. For purposes of
			the EPL, "Program" will mean the Content. If you did not
			receive this Content directly from the Eclipse Foundation,
			the Content is being redistributed by another party
			("Redistributor") and different terms and conditions may
			apply to your use of any object code in the Content. Check
			the Redistributor's license that was provided with the
			Content. If you did not receive any such license, contact
			the Redistributor. Unless otherwise indicated below, the
			terms and conditions of the EPL still apply to the Content.
		</xs:documentation>
	</xs:annotation>

	<xs:import namespace="http://www.eclipse.org/alf/schema/EventBase/1"
		schemaLocation="ALFEventBase_1.xsd" />

	<!-- RM Types -->
	<xs:element name="value"></xs:element>

	<xs:complexType name="Attribute">
		<xs:sequence>
			<xs:element name="name" type="xs:string" />
			<xs:choice>
				<xs:element name="value" type="xs:string" minOccurs="0"
					maxOccurs="1" nillable="true" />
				<xs:element name="values" type="xs:string" minOccurs="0"
					maxOccurs="unbounded" />
			</xs:choice>
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="Comment">
		<xs:sequence>
			<xs:element name="commentId" type="xs:string" />
			<xs:element name="title" type="xs:string" />
			<xs:element name="content" type="xs:string" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="Attachment">
		<xs:sequence>
			<xs:element name="attachmentId" type="xs:string" />
			<xs:element name="attachmentName" type="xs:string" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="Version">
		<xs:sequence>
			<xs:element name="versionId" type="xs:string" />
			<xs:element name="dateTime" type="xs:dateTime" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="Link">
		<xs:sequence>
			<xs:element name="linkId" type="xs:string" />
			<xs:element name="requirementId" type="xs:string" />
			<xs:element name="targetRequirementId" type="xs:string" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="AttributeArray">
		<xs:sequence>
			<xs:element name="attribute" type="Attribute" minOccurs="0"
				maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="CommentArray">
		<xs:sequence>
			<xs:element name="comment" type="Comment" minOccurs="0"
				maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="AttachmentArray">
		<xs:sequence>
			<xs:element name="attachement" type="Attachment"
				minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="VersionArray">
		<xs:sequence>
			<xs:element name="version" type="Version" minOccurs="0"
				maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="LinkArray">
		<xs:sequence>
			<xs:element name="link" type="Link" minOccurs="0"
				maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>

	<xs:complexType name="Requirement">
		<xs:sequence>
			<xs:element name="requirementId" type="xs:string" />
			<xs:element name="requirementType" type="xs:string" />
			<xs:element name="currentVersion" type="Version" />
			<xs:element name="attributes" type="AttributeArray" />
			<xs:element name="comments" type="CommentArray" />
			<xs:element name="attachments" type="AttachmentArray" />
			<xs:element name="versions" type="VersionArray" />
			<xs:element name="links" type="LinkArray" />
		</xs:sequence>
	</xs:complexType>

	<!-- End Types -->

	<!-- RM Event Detail Types -->
	<xs:complexType name="RMVocabularyDetail">
		<xs:annotation>
			<xs:documentation>
				RM Vocabulary Event Detail
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="requirementId" type="xs:string" />
			<xs:element name="requirementType" type="xs:string" />
			<xs:element name="targetRequirementId" type="xs:string"
				minOccurs="0" />
			<xs:element name="targetRequirementType" type="xs:string"
				minOccurs="0" />
		</xs:sequence>
		<xs:anyAttribute />
	</xs:complexType>
	<!-- End RM Event Detail Types -->

</xs:schema>

Back to the top