Schema censml.xsd


schema location:  H:\work\Amphora\censml\censml.xsd
targetNamespace:  http://www.censml.org/censml-v2
 
Elements  Complex types 
CENSML  auditType 
dataType 
representationType 
xhtmlType 


element CENSML
diagram
namespace http://www.censml.org/censml-v2
children metadata narrative
annotation
documentation 
Root element for a CENSML experiment.
source
<xs:element name="CENSML">
  <xs:annotation>
    <xs:documentation>Root element for a CENSML experiment.</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="false">
    <xs:sequence>
      <xs:element name="metadata">
        <xs:annotation>
          <xs:documentation>Descriptive information about the experiment.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="id" type="xs:string">
              <xs:annotation>
                <xs:documentation>Unique ID for this experiment.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="title" type="xs:string">
              <xs:annotation>
                <xs:documentation>The title for the experiment.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="subject" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Subject for the experiment.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="description" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Brief description of the experiment.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="creator" type="auditType">
              <xs:annotation>
                <xs:documentation>Audit record for the person who first created this experiment.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="publisher" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Name of the organisation producing the experiment.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="contributor" type="auditType" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Audit record for a person who has edited this experiment.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="custom" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>Additional meta information specific to each application.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:simpleContent>
                  <xs:extension base="xs:string">
                    <xs:attribute name="name" type="xs:string" use="required"/>
                  </xs:extension>
                </xs:simpleContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="narrative" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Narrative elements store the experimental data being recorded.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="title" type="xs:string">
              <xs:annotation>
                <xs:documentation>The title for this narrative section.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="client" type="xs:string">
              <xs:annotation>
                <xs:documentation>Identifier for the client which last updated this narrative.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="creator" type="auditType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Audit record for the person who created this narrative section.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="contributor" type="auditType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Audit record for a person who has edited this narrative section.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="version" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Version number for this narrative section.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="description" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Brief description of the use for this narrative.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="neutral">
              <xs:annotation>
                <xs:documentation>A standardised format for the information in this narrative.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:choice>
                  <xs:element name="xhtml" type="xhtmlType">
                    <xs:annotation>
                      <xs:documentation>XHTML formatted version of the narrative.</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="png" type="xs:base64Binary">
                    <xs:annotation>
                      <xs:documentation>PNG Graphic of the narrative.</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:choice>
              </xs:complexType>
            </xs:element>
            <xs:element name="native" type="representationType" minOccurs="0">
              <xs:annotation>
                <xs:documentation>If the neutral block does not provide a means to represent the client generated data, then the native element should be used to additionally store it for future access.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="representation" type="representationType" minOccurs="0" maxOccurs="unbounded">
              <xs:annotation>
                <xs:documentation>An alternative representation for the narratives native data.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="nid" type="xs:string" use="optional">
            <xs:annotation>
              <xs:documentation>Optional narrative id specific to the application generating the censml.</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element CENSML/metadata
diagram
children id title subject description creator publisher contributor custom
annotation
documentation 
Descriptive information about the experiment.
source
<xs:element name="metadata">
  <xs:annotation>
    <xs:documentation>Descriptive information about the experiment.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="id" type="xs:string">
        <xs:annotation>
          <xs:documentation>Unique ID for this experiment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="title" type="xs:string">
        <xs:annotation>
          <xs:documentation>The title for the experiment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="subject" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Subject for the experiment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="description" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Brief description of the experiment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="creator" type="auditType">
        <xs:annotation>
          <xs:documentation>Audit record for the person who first created this experiment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="publisher" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Name of the organisation producing the experiment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="contributor" type="auditType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Audit record for a person who has edited this experiment.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="custom" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Additional meta information specific to each application.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:simpleContent>
            <xs:extension base="xs:string">
              <xs:attribute name="name" type="xs:string" use="required"/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element CENSML/metadata/id
diagram
type xs:string
annotation
documentation 
Unique ID for this experiment.
source
<xs:element name="id" type="xs:string">
  <xs:annotation>
    <xs:documentation>Unique ID for this experiment.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/metadata/title
diagram
type xs:string
annotation
documentation 
The title for the experiment.
source
<xs:element name="title" type="xs:string">
  <xs:annotation>
    <xs:documentation>The title for the experiment.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/metadata/subject
diagram
type xs:string
annotation
documentation 
Subject for the experiment.
source
<xs:element name="subject" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Subject for the experiment.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/metadata/description
diagram
type xs:string
annotation
documentation 
Brief description of the experiment.
source
<xs:element name="description" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Brief description of the experiment.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/metadata/creator
diagram
type auditType
children name timestamp
annotation
documentation 
Audit record for the person who first created this experiment.
source
<xs:element name="creator" type="auditType">
  <xs:annotation>
    <xs:documentation>Audit record for the person who first created this experiment.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/metadata/publisher
diagram
type xs:string
annotation
documentation 
Name of the organisation producing the experiment.
source
<xs:element name="publisher" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Name of the organisation producing the experiment.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/metadata/contributor
diagram
type auditType
children name timestamp
annotation
documentation 
Audit record for a person who has edited this experiment.
source
<xs:element name="contributor" type="auditType" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>Audit record for a person who has edited this experiment.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/metadata/custom
diagram
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  required      
annotation
documentation 
Additional meta information specific to each application.
source
<xs:element name="custom" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>Additional meta information specific to each application.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="name" type="xs:string" use="required"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

element CENSML/narrative
diagram
children title client creator contributor version description neutral native representation
attributes
Name  Type  Use  Default  Fixed  Annotation
nid  xs:string  optional      
documentation 
Optional narrative id specific to the application generating the censml.
annotation
documentation 
Narrative elements store the experimental data being recorded.
source
<xs:element name="narrative" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>Narrative elements store the experimental data being recorded.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="title" type="xs:string">
        <xs:annotation>
          <xs:documentation>The title for this narrative section.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="client" type="xs:string">
        <xs:annotation>
          <xs:documentation>Identifier for the client which last updated this narrative.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="creator" type="auditType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Audit record for the person who created this narrative section.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="contributor" type="auditType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Audit record for a person who has edited this narrative section.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="version" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Version number for this narrative section.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="description" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Brief description of the use for this narrative.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="neutral">
        <xs:annotation>
          <xs:documentation>A standardised format for the information in this narrative.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:choice>
            <xs:element name="xhtml" type="xhtmlType">
              <xs:annotation>
                <xs:documentation>XHTML formatted version of the narrative.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="png" type="xs:base64Binary">
              <xs:annotation>
                <xs:documentation>PNG Graphic of the narrative.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:choice>
        </xs:complexType>
      </xs:element>
      <xs:element name="native" type="representationType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>If the neutral block does not provide a means to represent the client generated data, then the native element should be used to additionally store it for future access.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="representation" type="representationType" minOccurs="0" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>An alternative representation for the narratives native data.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="nid" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>Optional narrative id specific to the application generating the censml.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

element CENSML/narrative/title
diagram
type xs:string
annotation
documentation 
The title for this narrative section.
source
<xs:element name="title" type="xs:string">
  <xs:annotation>
    <xs:documentation>The title for this narrative section.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/narrative/client
diagram
type xs:string
annotation
documentation 
Identifier for the client which last updated this narrative.
source
<xs:element name="client" type="xs:string">
  <xs:annotation>
    <xs:documentation>Identifier for the client which last updated this narrative.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/narrative/creator
diagram
type auditType
children name timestamp
annotation
documentation 
Audit record for the person who created this narrative section.
source
<xs:element name="creator" type="auditType" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Audit record for the person who created this narrative section.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/narrative/contributor
diagram
type auditType
children name timestamp
annotation
documentation 
Audit record for a person who has edited this narrative section.
source
<xs:element name="contributor" type="auditType" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Audit record for a person who has edited this narrative section.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/narrative/version
diagram
type xs:string
annotation
documentation 
Version number for this narrative section.
source
<xs:element name="version" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Version number for this narrative section.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/narrative/description
diagram
type xs:string
annotation
documentation 
Brief description of the use for this narrative.
source
<xs:element name="description" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Brief description of the use for this narrative.</xs:documentation>
  </xs:annotation>
</xs:element>

element CENSML/narrative/neutral
diagram