<?xml version="1.0"?>
<!-- *********************************************************************
   *   Life Sciences Core XML Schema                                       *
   *                                                                       *
   *                                                                       *
   *   Author: Brian King                                                  *
   *                                                                       *
   *   History:                                                            *
   *                                                                       *
   * ********************************************************************* -->
<xsd:schema version="0.1"
            targetNamespace="http://www.i3c.org/names/core"
            xmlns="http://www.i3c.org/names/core"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<xsd:annotation>
		<xsd:documentation>The Life Sciences Core XML Schema provides core data types used for interoperability.</xsd:documentation>
	</xsd:annotation>
	<xsd:attribute name="lsid" type="lsid">
		<xsd:annotation>
			<xsd:documentation>Global Life Sciences Identifier attribute</xsd:documentation>
		</xsd:annotation>
	</xsd:attribute>
	<xsd:element name="lsid">
		<xsd:annotation>
			<xsd:documentation>Element can be used as a reference to an object named by the LSID</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:attribute name="value" type="lsid" use="required"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:simpleType name="lsid">
		<xsd:annotation>
			<xsd:documentation>A Life Sciences Identifier (LSID) is a URN that uniquely names an object.  The syntax is
urn:lsid:&lt;authority&gt;:&lt;namespace&gt;:&lt;value&gt;:&lt;version&gt;
where authority is the name of the organization that has defined an entity, namespace is a namespace within the authority for the Id, value is an 
alpha-numeric sequence that uniquely identifies an object to its authority, and version is a version number for an Id.  &lt;authority&gt; and
&lt;namespace&gt; can have hierarchical path elements separated by "/".</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="urn:lsid:[\c/]+:[\c/]+:[\c]+(:[\c]+)?"/>
		</xsd:restriction>
	</xsd:simpleType>
</xsd:schema>

