[tdwg-tapir] r1420 - tapir/dev/schema

svn at rs.tdwg.org svn at rs.tdwg.org
Wed Jan 7 13:44:38 CET 2009


Author: RenatoDeGiovanni
Date: 2009-01-07 13:44:37 +0100 (Wed, 07 Jan 2009)
New Revision: 1420

Modified:
   tapir/dev/schema/tapir.xsd
Log:
Added type attribute (organization or person) to related entities.


Modified: tapir/dev/schema/tapir.xsd
===================================================================
--- tapir/dev/schema/tapir.xsd	2009-01-07 12:33:17 UTC (rev 1419)
+++ tapir/dev/schema/tapir.xsd	2009-01-07 12:44:37 UTC (rev 1420)
@@ -1779,6 +1779,14 @@
 			</xsd:element>
 			<xsd:element ref="custom" minOccurs="0"/>
 		</xsd:sequence>
+		<xsd:attribute name="type" use="optional" default="organization">
+			<xsd:simpleType>
+				<xsd:restriction base="xsd:string">
+					<xsd:enumeration value="organization"/>
+					<xsd:enumeration value="person"/>
+				</xsd:restriction>
+			</xsd:simpleType>
+		</xsd:attribute>
 		<xsd:attribute ref="xml:lang" use="optional"/>
 	</xsd:complexType>
 	<!-- ===== INVENTORY===== -->




More information about the tdwg-tag mailing list