This page contains the documentation automatically generated from the NexusLIMS
Schema (nexus-experiment.xsd) that is used to validate experimental records
upon insertion into the NexusLIMS CDCS instance. This documentation was
generated using Oxygen's
XML Developer. [1]
Schema documentation for nexus-experiment.xsd
Main schema nexus-experiment.xsd
Namespace
https://data.nist.gov/od/dm/nexus/experiment/v1.0
Annotations
A metadata schema for describing an experiment utilizing equipmentfrom the Nexus Microscopy Lab.
<xs:element name="Experiment" type="nx:Experiment"><xs:annotation><xs:appinfo></xs:appinfo><xs:documentation>The root element for a document describing an Experiment</xs:documentation></xs:annotation></xs:element>
<xs:element name="title" type="xs:token" minOccurs="0"><xs:annotation><xs:appinfo><label>Title</label></xs:appinfo><xs:documentation>The title of this experiment</xs:documentation></xs:annotation></xs:element>
<xs:element name="id" type="xs:token" minOccurs="0"><xs:annotation><xs:appinfo><label>Identifier</label></xs:appinfo><xs:documentation>A unique identifier assigned to this record.</xs:documentation></xs:annotation></xs:element>
<xs:element name="summary" type="nx:Summary"><xs:annotation><xs:appinfo><label>Summary</label></xs:appinfo><xs:documentation>A collection of metadata that summarize the overall use and intent of the experiment.</xs:documentation></xs:annotation></xs:element>
<xs:element name="experimenter" type="xs:token" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Experimenter</label></xs:appinfo><xs:documentation>The name of the user running this experiment.</xs:documentation></xs:annotation></xs:element>
The name of a notable collaborator in the experiment
Diagram
Type
xs:token
Properties
content
simple
minOccurs
0
maxOccurs
unbounded
Source
<xs:element name="collaborator" type="xs:token" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Collaborator</label></xs:appinfo><xs:documentation>The name of a notable collaborator in the experiment</xs:documentation></xs:annotation></xs:element>
An (optional) link to this instrument in another database
Source
<xs:element name="instrument" type="nx:Instrument" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Instrument</label></xs:appinfo><xs:documentation>The instrument used in this experiment</xs:documentation></xs:annotation></xs:element>
<xs:element name="reservationStart" type="xs:dateTime" minOccurs="0"><xs:annotation><xs:appinfo><label>Reservation start time</label></xs:appinfo><xs:documentation>The start time of this experiment</xs:documentation></xs:annotation></xs:element>
<xs:element name="reservationEnd" type="xs:dateTime" minOccurs="0"><xs:annotation><xs:appinfo><label>Reservation end time</label></xs:appinfo><xs:documentation>The end time of this experiment</xs:documentation></xs:annotation></xs:element>
A prose description of the motivation, purpose, or other intentbehind this experiment.
Diagram
Type
xs:string
Properties
content
simple
minOccurs
0
Source
<xs:element name="motivation" type="xs:string" minOccurs="0"><xs:annotation><xs:appinfo><label>Motivation</label></xs:appinfo><xs:documentation>A prose description of the motivation, purpose, or other intent behind this experiment.</xs:documentation></xs:annotation></xs:element>
An identifier (unique to this document) that identifiesthe current sample. This can be the sample name if itis unique.
Source
<xs:element name="sample" type="nx:Sample" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Sample</label></xs:appinfo><xs:documentation>A description of a sample examined in this experiment.</xs:documentation></xs:annotation></xs:element>
<xs:element name="name" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>A name for the sample (for display purposes)</xs:documentation></xs:annotation></xs:element>
A description of the sample (where each occurance canbe thought of as a separate paragraph).
Diagram
Type
xs:token
Properties
content
simple
minOccurs
0
maxOccurs
unbounded
Source
<xs:element name="description" type="xs:token" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A description of the sample (where each occurance can be thought of as a separate paragraph).</xs:documentation></xs:annotation></xs:element>
A label indicating where the notes were extracted from (e.g. "ELN")
Source
<xs:element name="notes" type="nx:Notes" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Largely unformatted notes taken regarding the current sample</xs:documentation></xs:annotation></xs:element>
<xs:element name="entry" type="nx:Entry" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A section of the notes. Each section can be of a different type with different structural content (e.g. for text, an image, a table, etc.)</xs:documentation></xs:annotation></xs:element>
<xs:element name="project" type="nx:Project" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Project</label></xs:appinfo><xs:documentation>A description of a project of which this Experiment is a part.</xs:documentation></xs:annotation></xs:element>
<xs:element name="name" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>A name for the project (for display purposes)</xs:documentation></xs:annotation></xs:element>
<xs:element name="division" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>The division ID to which this project belongs</xs:documentation></xs:annotation></xs:element>
The group ID within a division to which thisproject belongs
Diagram
Type
xs:token
Properties
content
simple
minOccurs
0
Source
<xs:element name="group" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>The group ID within a division to which this project belongs</xs:documentation></xs:annotation></xs:element>
The specific project ID within a research group/division
Diagram
Type
xs:token
Properties
content
simple
minOccurs
0
Source
<xs:element name="project_id" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>The specific project ID within a research group/division</xs:documentation></xs:annotation></xs:element>
An (optional) link to this project in another database
Diagram
Type
xs:anyURI
Properties
content
simple
minOccurs
0
Source
<xs:element name="ref" type="xs:anyURI" minOccurs="0"><xs:annotation><xs:documentation>An (optional) link to this project in another database</xs:documentation></xs:annotation></xs:element>
A number that indicates the order that this Acqusition Activity occurredwithin a sequence of Acqusition Activities.
Source
<xs:element name="acquisitionActivity" type="nx:AcquisitionActivity" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Acquisition Activity</label></xs:appinfo><xs:documentation>A description of a specific group of data acqusition during this experimental session.</xs:documentation></xs:annotation></xs:element>
A date and time recorded as the start of this activity.This can be the time of the creation of the of the firstdataset.
Diagram
Type
xs:dateTime
Properties
content
simple
minOccurs
0
Source
<xs:element name="startTime" type="xs:dateTime" minOccurs="0"><xs:annotation><xs:documentation>A date and time recorded as the start of this activity. This can be the time of the creation of the of the first dataset.</xs:documentation></xs:annotation></xs:element>
The identifier for the sample that was part of thisacquisition activity. This should match a value ofthe id attribute for a sample element included inthis document.
Diagram
Type
xs:token
Properties
content
simple
minOccurs
0
Source
<xs:element name="sampleID" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>The identifier for the sample that was part of this acquisition activity. This should match a value of the id attribute for a sample element included in this document.</xs:documentation></xs:annotation></xs:element>
<xs:element name="setup" type="nx:Setup" minOccurs="0"><xs:annotation><xs:documentation>Metadata describing the set-up of the instrument during the current Acqusition Activity.</xs:documentation></xs:annotation></xs:element>
A marker to indicate that this parameter may not be reliable (an instrument may have not written it correctly, or it is commonly notfilled out properly, etc.)
Source
<xs:element name="param" type="nx:Parameter" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>An arbitrary setup parameter with a name and a value</xs:documentation></xs:annotation></xs:element>
A label indicating where the notes were extracted from (e.g. "ELN")
Source
<xs:element name="notes" type="nx:Notes" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Largely unformatted notes taken regarding the current Acqusition Activity</xs:documentation></xs:annotation></xs:element>
A label indicating the type of this dataset (taken froma controlled list).
Source
<xs:element name="dataset" type="nx:Dataset" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A file or named set of files that was acquired during the current Acqusition Activity.</xs:documentation></xs:annotation></xs:element>
<xs:element name="name" type="xs:string"><xs:annotation><xs:documentation>The name given to the dataset</xs:documentation></xs:annotation></xs:element>
A directory path or URL indicating the location wherethe dataset is stored
Diagram
Type
xs:string
Properties
content
simple
Source
<xs:element name="location" type="xs:string"><xs:annotation><xs:documentation>A directory path or URL indicating the location where the dataset is stored</xs:documentation></xs:annotation></xs:element>
A string (can be a MIME type) indicating the format ofthe dataset (e.g. TIFF, DICOM, Excel).
Diagram
Type
xs:string
Properties
content
simple
minOccurs
0
Source
<xs:element name="format" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>A string (can be a MIME type) indicating the format of the dataset (e.g. TIFF, DICOM, Excel).</xs:documentation></xs:annotation></xs:element>
A description of the dataset (where each occurance canbe thought of as a separate paragraph).
Diagram
Type
xs:string
Properties
content
simple
minOccurs
0
maxOccurs
unbounded
Source
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A description of the dataset (where each occurance can be thought of as a separate paragraph).</xs:documentation></xs:annotation></xs:element>
URL or string path to a preview rendering (thumbnail) of the datain the dataset.
Diagram
Type
xs:string
Properties
content
simple
minOccurs
0
maxOccurs
unbounded
Source
<xs:element name="preview" type="xs:string" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>URL or string path to a preview rendering (thumbnail) of the data in the dataset.</xs:documentation></xs:annotation></xs:element>
A marker to indicate that this parameter may not be reliable (an instrument may have not written it correctly, or it is commonly notfilled out properly, etc.)
Source
<xs:element name="meta" type="nx:Parameter" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>An arbitrary metadatum with a name and a value unique to this dataset</xs:documentation></xs:annotation></xs:element>
A label indicating where the notes were extracted from (e.g. "ELN")
Source
<xs:element name="notes" type="nx:Notes" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Largely unformatted notes taken regarding the current sample</xs:documentation></xs:annotation></xs:element>
<xs:element name="imageURL" type="xs:anyURI" minOccurs="1" maxOccurs="unbounded"><xs:annotation><xs:documentation>A link to an image inserted into the notes</xs:documentation></xs:annotation></xs:element>
<xs:element name="table" type="nx:Table" minOccurs="1" maxOccurs="unbounded"><xs:annotation><xs:documentation>Tabular content inserted into the notes</xs:documentation></xs:annotation></xs:element>
<xs:element name="title" type="xs:token" minOccurs="0" maxOccurs="1"><xs:annotation><xs:documentation>The title for the table</xs:documentation></xs:annotation></xs:element>
<xs:element name="header" type="nx:TableHeader"><xs:annotation><xs:documentation>The description of the table's columns</xs:documentation></xs:annotation></xs:element>
The identifier to assign to this column (for reference bycell elements).
Source
<xs:element name="column" type="nx:TableColumn" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A single column of data in the table</xs:documentation></xs:annotation></xs:element>
<xs:element name="rows" type="nx:TableRows"><xs:annotation><xs:documentation>The main data of the table, organized into rows</xs:documentation></xs:annotation></xs:element>
A number that indicates the order that the row appearsin the table.
Source
<xs:element name="row" type="nx:TableRow" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A single row of data in the table</xs:documentation></xs:annotation></xs:element>
The identifier for the column that this cell corresponds to
Source
<xs:element name="cell" type="nx:TableCell" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A single cell in a row of a table.</xs:documentation></xs:annotation></xs:element>
<xs:complexType name="Experiment"><xs:annotation><xs:documentation>A description of an experiment using an instrument in Nexus Microscopy Lab</xs:documentation></xs:annotation><xs:sequence><xs:element name="title" type="xs:token" minOccurs="0"><xs:annotation><xs:appinfo><label>Title</label></xs:appinfo><xs:documentation>The title of this experiment</xs:documentation></xs:annotation></xs:element><xs:element name="id" type="xs:token" minOccurs="0"><xs:annotation><xs:appinfo><label>Identifier</label></xs:appinfo><xs:documentation>A unique identifier assigned to this record.</xs:documentation></xs:annotation></xs:element><xs:element name="summary" type="nx:Summary"><xs:annotation><xs:appinfo><label>Summary</label></xs:appinfo><xs:documentation>A collection of metadata that summarize the overall use and intent of the experiment.</xs:documentation></xs:annotation></xs:element><xs:element name="sample" type="nx:Sample" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Sample</label></xs:appinfo><xs:documentation>A description of a sample examined in this experiment.</xs:documentation></xs:annotation></xs:element><xs:element name="project" type="nx:Project" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Project</label></xs:appinfo><xs:documentation>A description of a project of which this Experiment is a part.</xs:documentation></xs:annotation></xs:element><xs:element name="acquisitionActivity" type="nx:AcquisitionActivity" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Acquisition Activity</label></xs:appinfo><xs:documentation>A description of a specific group of data acqusition during this experimental session.</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="nx:Notes" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Largely unformatted notes taken regarding the current sample</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
<xs:complexType name="Summary"><xs:annotation><xs:documentation>A collection of metadata that summarize the overall use and intent of the experiment.</xs:documentation></xs:annotation><xs:sequence><xs:element name="experimenter" type="xs:token" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Experimenter</label></xs:appinfo><xs:documentation>The name of the user running this experiment.</xs:documentation></xs:annotation></xs:element><xs:element name="collaborator" type="xs:token" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Collaborator</label></xs:appinfo><xs:documentation>The name of a notable collaborator in the experiment</xs:documentation></xs:annotation></xs:element><xs:element name="instrument" type="nx:Instrument" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:appinfo><label>Instrument</label></xs:appinfo><xs:documentation>The instrument used in this experiment</xs:documentation></xs:annotation></xs:element><xs:element name="reservationStart" type="xs:dateTime" minOccurs="0"><xs:annotation><xs:appinfo><label>Reservation start time</label></xs:appinfo><xs:documentation>The start time of this experiment</xs:documentation></xs:annotation></xs:element><xs:element name="reservationEnd" type="xs:dateTime" minOccurs="0"><xs:annotation><xs:appinfo><label>Reservation end time</label></xs:appinfo><xs:documentation>The end time of this experiment</xs:documentation></xs:annotation></xs:element><xs:element name="motivation" type="xs:string" minOccurs="0"><xs:annotation><xs:appinfo><label>Motivation</label></xs:appinfo><xs:documentation>A prose description of the motivation, purpose, or other intent behind this experiment.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
An (optional) link to this instrument in another database
Source
<xs:complexType name="Instrument"><xs:annotation><xs:documentation>The identification of an instrument in the NIST Electron Microscopy Nexus facility.</xs:documentation></xs:annotation><xs:simpleContent><xs:extension base="nx:InstrumentName"><xs:attribute name="pid" type="nx:InstrumentPID"><xs:annotation><xs:documentation>An unique identifier that identifies the instrument within the NIST Electron Microscopy Nexus facility.</xs:documentation></xs:annotation></xs:attribute><xs:attribute name="ref" type="xs:anyURI"><xs:annotation><xs:documentation>An (optional) link to this instrument in another database</xs:documentation></xs:annotation></xs:attribute></xs:extension></xs:simpleContent></xs:complexType>
<xs:simpleType name="InstrumentName"><xs:annotation><xs:documentation>Controlled labels that identify available instruments in the NIST Electron Microscopy Nexus facility (as named in the SharePoint calendar resource).</xs:documentation></xs:annotation><xs:restriction base="xs:token"><xs:enumeration value="FEI Titan TEM"><xs:annotation><xs:documentation>The FEI Titan transmission electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="FEI Titan STEM"><xs:annotation><xs:documentation>The FEI Titan scanning transmission electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="FEI Helios"><xs:annotation><xs:documentation>The FEI Helios dual beam FIB/SEM in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="FEI Quanta200"><xs:annotation><xs:documentation>The FEI Quanta 200 environmental scanning electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="Hitachi S4700"><xs:annotation><xs:documentation>The Hitachi S4700 scanning electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="Hitachi S5500"><xs:annotation><xs:documentation>The Hitachi S5500 scanning electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="JEOL **REMOVED**"><xs:annotation><xs:documentation>The JEOL **REMOVED** transmission electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="JEOL JSM7100"><xs:annotation><xs:documentation>The JEOL JSM7100 scanning electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="Philips EM400"><xs:annotation><xs:documentation>The Phillips EM400 transmission electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="Philips CM30"><xs:annotation><xs:documentation>The Phillips CM30 transmission electron microscope</xs:documentation></xs:annotation></xs:enumeration></xs:restriction></xs:simpleType>
Controlled unique IDs used to identify available instruments in the NIST Electron Microscopy Nexusfacility. These are the same PID values used in theSharePoint calendar system.
Diagram
Type
restriction of xs:token
Facets
enumeration
**REMOVED**
The FEI Titan transmission electron microscope in **REMOVED**
enumeration
**REMOVED**
The FEI Titan scanning transmission electron microscope in **REMOVED**
enumeration
**REMOVED**
The FEI Helios dual beam FIB/SEM in **REMOVED**
enumeration
**REMOVED**
The FEI Quanta 200 environmental scanning electron microscope in **REMOVED**
enumeration
**REMOVED**
The Hitachi S4700 scanning electron microscope in **REMOVED**
enumeration
**REMOVED**
The Hitachi S5500 scanning electron microscope in **REMOVED**
enumeration
**REMOVED**
The JEOL **REMOVED** transmission electron microscope in **REMOVED**
enumeration
**REMOVED**
The JEOL JSM7100 scanning electron microscope in **REMOVED**
enumeration
**REMOVED**
The Phillips EM400 transmission electron microscope in **REMOVED**
enumeration
**REMOVED**
The Phillips CM30 transmission electron microscope
<xs:simpleType name="InstrumentPID"><xs:annotation><xs:documentation>Controlled unique IDs used to identify available instruments in the NIST Electron Microscopy Nexus facility. These are the same PID values used in the SharePoint calendar system.</xs:documentation></xs:annotation><xs:restriction base="xs:token"><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The FEI Titan transmission electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The FEI Titan scanning transmission electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The FEI Helios dual beam FIB/SEM in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The FEI Quanta 200 environmental scanning electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The Hitachi S4700 scanning electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The Hitachi S5500 scanning electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The JEOL **REMOVED** transmission electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The JEOL JSM7100 scanning electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The Phillips EM400 transmission electron microscope in **REMOVED**</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="**REMOVED**"><xs:annotation><xs:documentation>The Phillips CM30 transmission electron microscope</xs:documentation></xs:annotation></xs:enumeration></xs:restriction></xs:simpleType>
An identifier (unique to this document) that identifiesthe current sample. This can be the sample name if itis unique.
Source
<xs:complexType name="Sample"><xs:annotation><xs:documentation>A collection of metadata that describe a sample examined during an experiment.</xs:documentation></xs:annotation><xs:sequence><xs:element name="name" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>A name for the sample (for display purposes)</xs:documentation></xs:annotation></xs:element><xs:element name="description" type="xs:token" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A description of the sample (where each occurance can be thought of as a separate paragraph).</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="nx:Notes" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Largely unformatted notes taken regarding the current sample</xs:documentation></xs:annotation></xs:element></xs:sequence><xs:attribute name="id" type="xs:string"><xs:annotation><xs:documentation>An identifier (unique to this document) that identifies the current sample. This can be the sample name if it is unique.</xs:documentation></xs:annotation></xs:attribute></xs:complexType>
A label indicating where the notes were extracted from (e.g. "ELN")
Source
<xs:complexType name="Notes"><xs:annotation><xs:documentation>Generic content pulled as notes (lightly structured).</xs:documentation></xs:annotation><xs:sequence><xs:element name="entry" type="nx:Entry" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A section of the notes. Each section can be of a different type with different structural content (e.g. for text, an image, a table, etc.)</xs:documentation></xs:annotation></xs:element></xs:sequence><xs:attribute name="source" type="xs:string"><xs:annotation><xs:documentation>A label indicating where the notes were extracted from (e.g. "ELN")</xs:documentation></xs:annotation></xs:attribute></xs:complexType>
<xs:complexType name="Entry"><xs:annotation><xs:documentation>An entry into a set of notes. This type serves as a base type for different sub-types.</xs:documentation></xs:annotation><xs:sequence></xs:sequence></xs:complexType>
<xs:complexType name="Project"><xs:annotation><xs:documentation>A collection of metadata that describes a project to which an Experiment can belong.</xs:documentation></xs:annotation><xs:sequence><xs:element name="name" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>A name for the project (for display purposes)</xs:documentation></xs:annotation></xs:element><xs:element name="division" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>The division ID to which this project belongs</xs:documentation></xs:annotation></xs:element><xs:element name="group" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>The group ID within a division to which this project belongs</xs:documentation></xs:annotation></xs:element><xs:element name="project_id" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>The specific project ID within a research group/division</xs:documentation></xs:annotation></xs:element><xs:element name="ref" type="xs:anyURI" minOccurs="0"><xs:annotation><xs:documentation>An (optional) link to this project in another database</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
A number that indicates the order that this Acqusition Activity occurredwithin a sequence of Acqusition Activities.
Source
<xs:complexType name="AcquisitionActivity"><xs:annotation><xs:documentation>A collection of metadata that describe a specific group of acquired data during the Experiment.</xs:documentation></xs:annotation><xs:sequence><xs:element name="startTime" type="xs:dateTime" minOccurs="0"><xs:annotation><xs:documentation>A date and time recorded as the start of this activity. This can be the time of the creation of the of the first dataset.</xs:documentation></xs:annotation></xs:element><xs:element name="sampleID" type="xs:token" minOccurs="0"><xs:annotation><xs:documentation>The identifier for the sample that was part of this acquisition activity. This should match a value of the id attribute for a sample element included in this document.</xs:documentation></xs:annotation></xs:element><xs:element name="setup" type="nx:Setup" minOccurs="0"><xs:annotation><xs:documentation>Metadata describing the set-up of the instrument during the current Acqusition Activity.</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="nx:Notes" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Largely unformatted notes taken regarding the current Acqusition Activity</xs:documentation></xs:annotation></xs:element><xs:element name="dataset" type="nx:Dataset" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A file or named set of files that was acquired during the current Acqusition Activity.</xs:documentation></xs:annotation></xs:element></xs:sequence><xs:attribute name="seqno" type="xs:integer"><xs:annotation><xs:documentation>A number that indicates the order that this Acqusition Activity occurred within a sequence of Acqusition Activities.</xs:documentation></xs:annotation></xs:attribute></xs:complexType>
<xs:complexType name="Setup"><xs:annotation><xs:documentation>Metadata describing the set-up of an instrument (values common to all datasets within an Acqusition Activity).</xs:documentation></xs:annotation><xs:sequence><xs:element name="param" type="nx:Parameter" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>An arbitrary setup parameter with a name and a value</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
A marker to indicate that this parameter may not be reliable (an instrument may have not written it correctly, or it is commonly notfilled out properly, etc.)
Source
<xs:complexType name="Parameter"><xs:annotation><xs:documentation>A piece of arbitrary metadata featuring a name and a value, unique to a dataset within an Acqusition Activity.</xs:documentation></xs:annotation><xs:simpleContent><xs:extension base="xs:token"><xs:attribute name="name"><xs:annotation><xs:documentation>The name of the parameter</xs:documentation></xs:annotation></xs:attribute><xs:attribute name="unit"><xs:annotation><xs:documentation>A physical unit associated with the value of this parameter</xs:documentation></xs:annotation></xs:attribute><xs:attribute name="warning" type="boolean"><xs:annotation><xs:documentation>A marker to indicate that this parameter may not be reliable (an instrument may have not written it correctly, or it is commonly not filled out properly, etc.)</xs:documentation></xs:annotation></xs:attribute></xs:extension></xs:simpleContent></xs:complexType>
A label indicating the type of this dataset (taken froma controlled list).
Source
<xs:complexType name="Dataset"><xs:annotation><xs:documentation>A description of a file or set of files.</xs:documentation></xs:annotation><xs:sequence><xs:element name="name" type="xs:string"><xs:annotation><xs:documentation>The name given to the dataset</xs:documentation></xs:annotation></xs:element><xs:element name="location" type="xs:string"><xs:annotation><xs:documentation>A directory path or URL indicating the location where the dataset is stored</xs:documentation></xs:annotation></xs:element><xs:element name="format" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>A string (can be a MIME type) indicating the format of the dataset (e.g. TIFF, DICOM, Excel).</xs:documentation></xs:annotation></xs:element><xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A description of the dataset (where each occurance can be thought of as a separate paragraph).</xs:documentation></xs:annotation></xs:element><xs:element name="preview" type="xs:string" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>URL or string path to a preview rendering (thumbnail) of the data in the dataset.</xs:documentation></xs:annotation></xs:element><xs:element name="meta" type="nx:Parameter" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>An arbitrary metadatum with a name and a value unique to this dataset</xs:documentation></xs:annotation></xs:element></xs:sequence><xs:attribute name="type" type="nx:DatasetType"><xs:annotation><xs:documentation>A label indicating the type of this dataset (taken from a controlled list).</xs:documentation></xs:annotation></xs:attribute><xs:attribute name="role" type="nx:DatasetRole"><xs:annotation><xs:documentation>A label indicating the experimental role of this dataset (taken from a controlled list).</xs:documentation></xs:annotation></xs:attribute></xs:complexType>
Controlled labels that identify a functional type data contained ina dataset.
Diagram
Type
restriction of xs:token
Facets
enumeration
Image
A 2-D array of data where each value is typically anintensity measurement as function of regularly spaced position
enumeration
Spectrum
A 1-D array of data where each value is typically anintensity measurement as a function of frequency or energy
enumeration
SpectrumImage
A 3-D array of data where each value is typically anintensity measurement as a function of regularly spaceposition along two axes and of frequency or energy alongthe third.
enumeration
Diffraction
Data that measures a (usually electron) diffraction pattern
enumeration
Notes
Arbitrary textual data that is typically manually created bythe Experimenter.
enumeration
Misc
A dataset that does not qualify as of any of the otherdefined types.
<xs:simpleType name="DatasetType"><xs:annotation><xs:documentation>Controlled labels that identify a functional type data contained in a dataset.</xs:documentation></xs:annotation><xs:restriction base="xs:token"><xs:enumeration value="Image"><xs:annotation><xs:documentation>A 2-D array of data where each value is typically an intensity measurement as function of regularly spaced position</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="Spectrum"><xs:annotation><xs:documentation>A 1-D array of data where each value is typically an intensity measurement as a function of frequency or energy</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="SpectrumImage"><xs:annotation><xs:documentation>A 3-D array of data where each value is typically an intensity measurement as a function of regularly space position along two axes and of frequency or energy along the third.</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="Diffraction"><xs:annotation><xs:documentation>Data that measures a (usually electron) diffraction pattern</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="Notes"><xs:annotation><xs:documentation>Arbitrary textual data that is typically manually created by the Experimenter.</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="Misc"><xs:annotation><xs:documentation>A dataset that does not qualify as of any of the other defined types.</xs:documentation></xs:annotation></xs:enumeration></xs:restriction></xs:simpleType>
<xs:simpleType name="DatasetRole"><xs:annotation><xs:documentation>Controlled labels that identify the functional role of a dataset</xs:documentation></xs:annotation><xs:restriction base="xs:token"><xs:enumeration value="Experimental"><xs:annotation><xs:documentation>"Normal" data collected during typical operation of an instrument for experimental purposes</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="MasterCalibration"><xs:annotation><xs:documentation>Reference data collected for the purpose of instrument calibration during instrument service events or by allowed super users</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="UserCalibration"><xs:annotation><xs:documentation>Data collected alongside "Experimental" Datasets by regular users for calibration purposes between service events or for a specific experiment</xs:documentation></xs:annotation></xs:enumeration><xs:enumeration value="Derived"><xs:annotation><xs:documentation>Data that is not collected form an instrument, but rather derived from raw and/or calibration data as the result of post-acquisition analysis processes</xs:documentation></xs:annotation></xs:enumeration></xs:restriction></xs:simpleType>
<xs:complexType name="TextEntry"><xs:annotation><xs:documentation>A text entry into a set of notes.</xs:documentation></xs:annotation><xs:complexContent><xs:extension base="nx:Entry"><xs:sequence><xs:element name="p" type="xs:token" minOccurs="1" maxOccurs="unbounded"><xs:annotation><xs:documentation>Free text content</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:extension></xs:complexContent></xs:complexType>
<xs:complexType name="ImageEntry"><xs:annotation><xs:documentation>An image entry into a set of notes.</xs:documentation></xs:annotation><xs:complexContent><xs:extension base="nx:Entry"><xs:sequence><xs:sequence><xs:element name="imageURL" type="xs:anyURI" minOccurs="1" maxOccurs="unbounded"><xs:annotation><xs:documentation>A link to an image inserted into the notes</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:sequence></xs:extension></xs:complexContent></xs:complexType>
<xs:complexType name="TableEntry"><xs:annotation><xs:documentation>A table entry into a set of notes.</xs:documentation></xs:annotation><xs:complexContent><xs:extension base="nx:Entry"><xs:sequence><xs:sequence><xs:element name="table" type="nx:Table" minOccurs="1" maxOccurs="unbounded"><xs:annotation><xs:documentation>Tabular content inserted into the notes</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:sequence></xs:extension></xs:complexContent></xs:complexType>
<xs:complexType name="Table"><xs:annotation><xs:documentation>A single grid of tabular information</xs:documentation></xs:annotation><xs:sequence><xs:element name="title" type="xs:token" minOccurs="0" maxOccurs="1"><xs:annotation><xs:documentation>The title for the table</xs:documentation></xs:annotation></xs:element><xs:element name="header" type="nx:TableHeader"><xs:annotation><xs:documentation>The description of the table's columns</xs:documentation></xs:annotation></xs:element><xs:element name="rows" type="nx:TableRows"><xs:annotation><xs:documentation>The main data of the table, organized into rows</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
<xs:complexType name="TableHeader"><xs:annotation><xs:documentation>A description of a table's columns</xs:documentation></xs:annotation><xs:sequence><xs:element name="column" type="nx:TableColumn" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A single column of data in the table</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
The identifier to assign to this column (for reference bycell elements).
Source
<xs:complexType name="TableColumn"><xs:annotation><xs:documentation>A description of one column in a table</xs:documentation></xs:annotation><xs:simpleContent><xs:extension base="xs:token"><xs:attribute name="id"><xs:annotation><xs:documentation>The identifier to assign to this column (for reference by cell elements).</xs:documentation></xs:annotation></xs:attribute></xs:extension></xs:simpleContent></xs:complexType>
<xs:complexType name="TableRows"><xs:annotation><xs:documentation>The main data body of a table, organized as a sequence of rows.</xs:documentation></xs:annotation><xs:sequence><xs:element name="row" type="nx:TableRow" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A single row of data in the table</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
A number that indicates the order that the row appearsin the table.
Source
<xs:complexType name="TableRow"><xs:annotation><xs:documentation>A single row of a table</xs:documentation></xs:annotation><xs:sequence><xs:element name="cell" type="nx:TableCell" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>A single cell in a row of a table.</xs:documentation></xs:annotation></xs:element></xs:sequence><xs:attribute name="seqno" type="xs:integer"><xs:annotation><xs:documentation>A number that indicates the order that the row appears in the table.</xs:documentation></xs:annotation></xs:attribute></xs:complexType>
The identifier for the column that this cell corresponds to
Source
<xs:complexType name="TableCell"><xs:annotation><xs:documentation>A container for data in one cell of the table.</xs:documentation></xs:annotation><xs:simpleContent><xs:extension base="xs:token"><xs:attribute name="colid"><xs:annotation><xs:documentation>The identifier for the column that this cell corresponds to</xs:documentation></xs:annotation></xs:attribute></xs:extension></xs:simpleContent></xs:complexType>
<xs:attribute name="pid" type="nx:InstrumentPID"><xs:annotation><xs:documentation>An unique identifier that identifies the instrument within the NIST Electron Microscopy Nexus facility.</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="ref" type="xs:anyURI"><xs:annotation><xs:documentation>An (optional) link to this instrument in another database</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="source" type="xs:string"><xs:annotation><xs:documentation>A label indicating where the notes were extracted from (e.g. "ELN")</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="id" type="xs:string"><xs:annotation><xs:documentation>An identifier (unique to this document) that identifies the current sample. This can be the sample name if it is unique.</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="unit"><xs:annotation><xs:documentation>A physical unit associated with the value of this parameter</xs:documentation></xs:annotation></xs:attribute>
A marker to indicate that this parameter may not be reliable (an instrument may have not written it correctly, or it is commonly notfilled out properly, etc.)
<xs:attribute name="warning" type="boolean"><xs:annotation><xs:documentation>A marker to indicate that this parameter may not be reliable (an instrument may have not written it correctly, or it is commonly not filled out properly, etc.)</xs:documentation></xs:annotation></xs:attribute>
A 2-D array of data where each value is typically anintensity measurement as function of regularly spaced position
enumeration
Spectrum
A 1-D array of data where each value is typically anintensity measurement as a function of frequency or energy
enumeration
SpectrumImage
A 3-D array of data where each value is typically anintensity measurement as a function of regularly spaceposition along two axes and of frequency or energy alongthe third.
enumeration
Diffraction
Data that measures a (usually electron) diffraction pattern
enumeration
Notes
Arbitrary textual data that is typically manually created bythe Experimenter.
enumeration
Misc
A dataset that does not qualify as of any of the otherdefined types.
<xs:attribute name="type" type="nx:DatasetType"><xs:annotation><xs:documentation>A label indicating the type of this dataset (taken from a controlled list).</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="role" type="nx:DatasetRole"><xs:annotation><xs:documentation>A label indicating the experimental role of this dataset (taken from a controlled list).</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="seqno" type="xs:integer"><xs:annotation><xs:documentation>A number that indicates the order that this Acqusition Activity occurred within a sequence of Acqusition Activities.</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="id"><xs:annotation><xs:documentation>The identifier to assign to this column (for reference by cell elements).</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="colid"><xs:annotation><xs:documentation>The identifier for the column that this cell corresponds to</xs:documentation></xs:annotation></xs:attribute>
<xs:attribute name="seqno" type="xs:integer"><xs:annotation><xs:documentation>A number that indicates the order that the row appears in the table.</xs:documentation></xs:annotation></xs:attribute>
To build the above documentation, the Oxygen XML Developer software is needed.
The standard XSD -> HTML translator document has been customized to allow
embedding within a Sphinx documentation page, and is included in the NexusLIMS
repository as _schema_doc_gen/xsdDocHtml.xsl.
Using the XML Developer software's "Generate XML Schema Documentation" feature
(available through the Tools -> Generate documenation menu), select the
nexus-experiment.xsd schema file as the Schema URL, and select Custom in
the Format menu. Under the options for Custom Format, select the
_schema_doc_gen/xsdDocHtml.xsl stylesheet as the Custom XSL. Ensure that
both check boxes are checked and the Resources field points to
_schema_doc_gen/img. After clicking OK, ensure that the Output file is
set to schema_doc/nexus-experiment.xsd.html, and click Generate. See the
following images for details:
To include the resulting HTML in the main documentation, use a ..raw::
Sphinx directive to include the file directly in an .rst file, such as: