schema/ssm.xsd
branchv_0
changeset 47 7e665331bc32
parent 42 ef8fd61fd011
child 51 21dfb69028a0
equal deleted inserted replaced
46:dc35b4c01ade 47:7e665331bc32
    54 	</xs:complexType>
    54 	</xs:complexType>
    55 	
    55 	
    56 	<xs:complexType name="Item">
    56 	<xs:complexType name="Item">
    57 		<xs:sequence>
    57 		<xs:sequence>
    58 			<xs:element name="id" type="ID"/>
    58 			<xs:element name="id" type="ID"/>
       
    59 			<xs:element name="type" type="ItemType"/>
    59 			<xs:element name="text" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
    60 			<xs:element name="text" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
    60 			<xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
    61 			<xs:element name="note" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
    61 			<xs:element name="link" type="Link" minOccurs="0" maxOccurs="unbounded"/>
    62 			<xs:element name="link" type="Link" minOccurs="0" maxOccurs="unbounded"/>
    62 			<xs:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded"/>
    63 			<xs:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded"/>
    63 		</xs:sequence>
    64 		</xs:sequence>
    64 	</xs:complexType>
    65 	</xs:complexType>
       
    66 	
       
    67 	<xs:simpleType name="ItemType" final="restriction" >
       
    68 		<xs:restriction base="xs:string">
       
    69 			<xs:enumeration value="requirement">
       
    70 				<xs:annotation>
       
    71 					<xs:documentation>
       
    72 						strict requirement that must be followed in order to call the software Sane
       
    73 					</xs:documentation>
       
    74 				</xs:annotation>
       
    75 			</xs:enumeration>
       
    76 			<xs:enumeration value="recommendation">
       
    77 				<xs:annotation>
       
    78 					<xs:documentation>
       
    79 						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
       
    80 					</xs:documentation>
       
    81 				</xs:annotation>
       
    82 			</xs:enumeration>
       
    83 			<xs:enumeration value="information">
       
    84 				<xs:annotation>
       
    85 					<xs:documentation>
       
    86 						additional information which supplements the requirements and recommendations or clarifies the purpose of the chapter
       
    87 					</xs:documentation>
       
    88 				</xs:annotation>
       
    89 			</xs:enumeration>
       
    90 		</xs:restriction>
       
    91 	</xs:simpleType>
    65 	
    92 	
    66 	<xs:complexType name="Link">
    93 	<xs:complexType name="Link">
    67 		<xs:sequence>
    94 		<xs:sequence>
    68 			<xs:element name="url" type="URL"/>
    95 			<xs:element name="url" type="URL"/>
    69 			<xs:element name="type" type="LinkType"/>
    96 			<xs:element name="type" type="LinkType"/>