schema/ssm.xsd
branchv_0
changeset 51 21dfb69028a0
parent 47 7e665331bc32
equal deleted inserted replaced
50:1934fc6e5e7b 51:21dfb69028a0
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     2 <!--
     3 	Sane Software Manifesto helper tools
     3 	Sane software manifesto helper tools
     4 	Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)
     4 	Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)
     5 
     5 
     6     This program is free software: you can redistribute it and/or modify
     6     This program is free software: you can redistribute it and/or modify
     7     it under the terms of the GNU General Public License as published by
     7     it under the terms of the GNU General Public License as published by
     8     the Free Software Foundation, version 3.
     8     the Free Software Foundation, version 3.
    25 	
    25 	
    26 	<xs:complexType name="Manifesto">
    26 	<xs:complexType name="Manifesto">
    27 		<xs:sequence>
    27 		<xs:sequence>
    28 			<xs:element name="title" type="xs:string"/>
    28 			<xs:element name="title" type="xs:string"/>
    29 			<xs:element name="id" type="ID"/>
    29 			<xs:element name="id" type="ID"/>
       
    30 			<xs:element name="url" type="URL"/>
       
    31 			<xs:element name="author" type="xs:string"/>
       
    32 			<xs:element name="license" type="License"/>
    30 			<xs:element name="preamble" type="xs:string"/>
    33 			<xs:element name="preamble" type="xs:string"/>
    31 			<xs:element name="chapter" type="Chapter" maxOccurs="unbounded"/>
    34 			<xs:element name="chapter" type="Chapter" maxOccurs="unbounded"/>
       
    35 		</xs:sequence>
       
    36 	</xs:complexType>
       
    37 	
       
    38 	<xs:complexType name="License">
       
    39 		<xs:sequence>
       
    40 			<xs:element name="name" type="xs:string"/>
       
    41 			<xs:element name="abbreviation" type="xs:string"/>
       
    42 			<xs:element name="url" type="URL"/>
       
    43 			<xs:element name="year" type="xs:string">
       
    44 				<xs:annotation>
       
    45 					<xs:documentation>
       
    46 						the copyright year
       
    47 					</xs:documentation>
       
    48 				</xs:annotation>
       
    49 			</xs:element>
       
    50 			<xs:element name="prefix" type="xs:string">
       
    51 				<xs:annotation>
       
    52 					<xs:documentation>
       
    53 						used to compose a sentence: prefix+name+suffix
       
    54 					</xs:documentation>
       
    55 				</xs:annotation>
       
    56 			</xs:element>
       
    57 			<xs:element name="suffix" type="xs:string">
       
    58 				<xs:annotation>
       
    59 					<xs:documentation>
       
    60 						used to compose a sentence: prefix+name+suffix
       
    61 					</xs:documentation>
       
    62 				</xs:annotation>
       
    63 			</xs:element>
    32 		</xs:sequence>
    64 		</xs:sequence>
    33 	</xs:complexType>
    65 	</xs:complexType>
    34 	
    66 	
    35 	<xs:simpleType name="ID">
    67 	<xs:simpleType name="ID">
    36 		<xs:annotation>
    68 		<xs:annotation>