Viewing XML file: NeuroMLFiles/Schemata/v1.2/Level2/NeuroML_v1.2.xsd
Download this file
Validate this file against current (v1.8.1) Schema
Validate this file against all Schemata
Edit this file and revalidate it
<?xml version="1.0" encoding="UTF-8"?>
<!--
The main NeuroML Level 2 v1.2 Schema file
This schema links MorphML.xsd/Metadata.xsd from Level 1 with Biophysics.xsd (specifying
placement of channels on cells) and ChannelML.xsd (specifying the channel mechanism)
This file has been developed as part of the neuroConstruct project for contribution to
the NeuroML initiative
Funding for this work has been received from the Medical Research Council
Author: Padraig Gleeson
-->
<xs:schema targetNamespace="http://morphml.org/neuroml/schema"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:mml="http://morphml.org/morphml/schema"
xmlns:meta="http://morphml.org/metadata/schema"
xmlns:bio="http://morphml.org/biophysics/schema"
xmlns:cml="http://morphml.org/channelml/schema"
xmlns="http://morphml.org/neuroml/schema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://morphml.org/morphml/schema"
schemaLocation="../Level1/MorphML_v1.2.xsd"/>
<xs:import namespace="http://morphml.org/biophysics/schema"
schemaLocation="Biophysics_v1.2.xsd"/>
<xs:import namespace="http://morphml.org/channelml/schema"
schemaLocation="ChannelML_v1.2.xsd"/>
<xs:import namespace="http://morphml.org/metadata/schema"
schemaLocation="../Level1/Metadata_v1.2.xsd"/>
<xs:element name="neuroml" type="NeuroML">
<xs:annotation>
<xs:documentation>The root NeuroML element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="NeuroML">
<xs:annotation>
<xs:documentation>Description of neuronal models, including biophysics and channel mechanisms.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="meta:metadata"/>
<xs:group ref="meta:referencedata"/>
<xs:element name="cells">
<xs:annotation>
<xs:documentation>Collection of all cells.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="cell" type="BioCell" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A single cell specified in MorphML extended to include channel density info.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="channels" minOccurs="0">
<xs:annotation>
<xs:documentation>Collection of all channels.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ion" type="cml:Ion" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="channel_type" type="cml:ChannelType" minOccurs="0"/>
<xs:element name="synapse_type" type="cml:SynapseType" minOccurs="0"/>
<xs:element name="ion_concentration" type="cml:IonConcentration" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="units" type="cml:Units" use="required">
<xs:annotation>
<xs:documentation>Unit system of all quantities. Only SI or Physiological units are allowed!</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="propertyDetails" minOccurs="0">
<xs:annotation>
<xs:documentation>Collection of all PropertyDetails for this instance.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="propertyDetail" type="meta:PropertyDetail" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:key name="keyProperty">
<xs:selector xpath=".//propertyDetail"/>
<xs:field xpath="@property"/>
</xs:key>
</xs:element>
<xs:element name="groupDetails" minOccurs="0">
<xs:annotation>
<xs:documentation>Collection of all GroupDetails for this instance.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="groupDetail" type="meta:GroupDetail" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:key name="keyGroup">
<xs:selector xpath=".//groupDetail"/>
<xs:field xpath="@group"/>
</xs:key>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="optional"/>
<xs:attribute name="lengthUnits" type="meta:LengthUnits" use="required">
<xs:annotation>
<xs:documentation>Unit of all length measurements.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="volumeUnits" type="meta:VolumeUnits" use="optional" default="cubic_millimetre">
<xs:annotation>
<xs:documentation>Unit of all volume measurements.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Definition of Cell extended with biophysics follows. -->
<xs:complexType name="BioCell">
<xs:annotation>
<xs:documentation>Cell with extensions for biophysics.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="mml:Cell">
<xs:sequence>
<xs:element name="biophysics" type="bio:Biophysics"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
|