schema/ssm.xsd
branchv_0
changeset 51 21dfb69028a0
parent 47 7e665331bc32
--- a/schema/ssm.xsd	Fri Oct 04 19:40:53 2019 +0200
+++ b/schema/ssm.xsd	Sat Oct 05 21:04:37 2019 +0200
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-	Sane Software Manifesto helper tools
+	Sane software manifesto helper tools
 	Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)
 
     This program is free software: you can redistribute it and/or modify
@@ -27,11 +27,43 @@
 		<xs:sequence>
 			<xs:element name="title" type="xs:string"/>
 			<xs:element name="id" type="ID"/>
+			<xs:element name="url" type="URL"/>
+			<xs:element name="author" type="xs:string"/>
+			<xs:element name="license" type="License"/>
 			<xs:element name="preamble" type="xs:string"/>
 			<xs:element name="chapter" type="Chapter" maxOccurs="unbounded"/>
 		</xs:sequence>
 	</xs:complexType>
 	
+	<xs:complexType name="License">
+		<xs:sequence>
+			<xs:element name="name" type="xs:string"/>
+			<xs:element name="abbreviation" type="xs:string"/>
+			<xs:element name="url" type="URL"/>
+			<xs:element name="year" type="xs:string">
+				<xs:annotation>
+					<xs:documentation>
+						the copyright year
+					</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name="prefix" type="xs:string">
+				<xs:annotation>
+					<xs:documentation>
+						used to compose a sentence: prefix+name+suffix
+					</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+			<xs:element name="suffix" type="xs:string">
+				<xs:annotation>
+					<xs:documentation>
+						used to compose a sentence: prefix+name+suffix
+					</xs:documentation>
+				</xs:annotation>
+			</xs:element>
+		</xs:sequence>
+	</xs:complexType>
+	
 	<xs:simpleType name="ID">
 		<xs:annotation>
 			<xs:documentation>