schema/ssm.xsd
branchv_0
changeset 47 7e665331bc32
parent 42 ef8fd61fd011
child 51 21dfb69028a0
--- a/schema/ssm.xsd	Wed Oct 02 23:31:57 2019 +0200
+++ b/schema/ssm.xsd	Thu Oct 03 12:03:50 2019 +0200
@@ -56,6 +56,7 @@
 	<xs:complexType name="Item">
 		<xs:sequence>
 			<xs:element name="id" type="ID"/>
+			<xs:element name="type" type="ItemType"/>
 			<xs:element name="text" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
 			<xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
 			<xs:element name="link" type="Link" minOccurs="0" maxOccurs="unbounded"/>
@@ -63,6 +64,32 @@
 		</xs:sequence>
 	</xs:complexType>
 	
+	<xs:simpleType name="ItemType" final="restriction" >
+		<xs:restriction base="xs:string">
+			<xs:enumeration value="requirement">
+				<xs:annotation>
+					<xs:documentation>
+						strict requirement that must be followed in order to call the software Sane
+					</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value="recommendation">
+				<xs:annotation>
+					<xs:documentation>
+						recommendation that should be followed in order to call the software Sane, but might be neglected if there is a good reason to do so
+					</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+			<xs:enumeration value="information">
+				<xs:annotation>
+					<xs:documentation>
+						additional information which supplements the requirements and recommendations or clarifies the purpose of the chapter
+					</xs:documentation>
+				</xs:annotation>
+			</xs:enumeration>
+		</xs:restriction>
+	</xs:simpleType>
+	
 	<xs:complexType name="Link">
 		<xs:sequence>
 			<xs:element name="url" type="URL"/>