XML Schema "VOEvent.xsd"
Target Namespace:
http://www.ivoa.net/xml/VOEvent/v1.0
Defined Components:
12 global elements, 18 local elements, 1 simpleType
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
/home/msdemlei/gavo/trunk/gavo/resources/schemata/VOEvent.xsd; see XML source
Imports Schema:
stc-v1.20.xsd [src]
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema elementFormDefault="qualified" targetNamespace="http://www.ivoa.net/xml/VOEvent/v1.0" xmlns="http://www.ivoa.net/xml/VOEvent/v1.0" xmlns:stc="http://www.ivoa.net/xml/STC/stc-v1.20.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- VOEvent is the root element for describing observations
of immediate astronomical events. For more information, see
http://www.ivoa.net/twiki/bin/view/IVOA/IvoaVOEvent
-->
<xs:element name="VOEvent">
<xs:complexType>
<xs:all>
<xs:element minOccurs="0" ref="Who"/>
<xs:element minOccurs="0" ref="What"/>
<xs:element minOccurs="0" ref="WhereWhen"/>
<xs:element minOccurs="0" ref="How"/>
<xs:element minOccurs="0" ref="Why"/>
<xs:element minOccurs="0" ref="Citations"/>
<xs:element minOccurs="0" ref="Description"/>
<xs:element minOccurs="0" ref="Reference"/>
</xs:all>
<xs:attribute fixed="1.0" name="version" type="xs:token" use="required"/>
<xs:attribute name="id" type="xs:anyURI" use="required"/>
<xs:attribute default="observation" name="role">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="observation"/>
<xs:enumeration value="prediction"/>
<xs:enumeration value="test"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<!-- Who: Curation Metadata -->
<xs:element name="Who">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="PublisherID" type="xs:anyURI"/>
<xs:element name="Date" type="xs:dateTime"/>
<xs:element ref="Description"/>
<xs:element ref="Reference"/>
<xs:element name="Contact">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Username" type="xs:string"/>
<xs:element name="Name" type="xs:string"/>
<xs:element name="LastName" type="xs:string"/>
<xs:element name="FirstName" type="xs:string"/>
<xs:element name="Institution" type="xs:string"/>
<xs:element name="Communication">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="AddressLine" type="xs:string"/>
<xs:element name="CountryCode" type="xs:token"/>
<xs:element name="Email" type="xs:anyURI"/>
<xs:element name="Fax" type="xs:token"/>
<xs:element name="Telephone" type="xs:token"/>
<xs:element name="Uri" type="xs:anyURI"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute default="false" name="principalInvestigator" type="xs:boolean"/>
<xs:attribute default="false" name="principalContact" type="xs:boolean"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<!-- What: Event Characterization -->
<xs:element name="What">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="Param"/>
<xs:element ref="Group"/>
<xs:element ref="Description"/>
<xs:element ref="Reference"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="Param">
<xs:complexType>
<xs:attribute name="name" type="xs:token"/>
<xs:attribute name="ucd" type="xs:token"/>
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="unit" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="Group">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="Param"/>
<xs:element ref="Description"/>
<xs:element ref="Reference"/>
</xs:choice>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
</xs:complexType>
</xs:element>
<!-- WhereWhen: Space-Time Coordinates, uses the VO STC schema -->
<xs:element name="WhereWhen">
<xs:complexType>
<xs:all>
<xs:element minOccurs="0" name="ObservationLocation" type="stc:observationLocationType"/>
<xs:element minOccurs="0" ref="Description"/>
<xs:element minOccurs="0" ref="Reference"/>
</xs:all>
</xs:complexType>
</xs:element>
<!-- How: Instrument Configuration, references to RTML documents -->
<xs:element name="How">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="Description"/>
<xs:element ref="Reference"/>
</xs:choice>
</xs:complexType>
</xs:element>
<!-- Why: Initial Scientific Assessment -->
<xs:element name="Why">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Name" type="xs:string"/>
<xs:element name="Concept" type="xs:string"/>
<xs:element ref="Inference"/>
<xs:element ref="Description"/>
<xs:element ref="Reference"/>
</xs:choice>
<xs:attribute name="importance" type="smallFloat"/>
<xs:attribute name="expires" type="xs:dateTime"/>
</xs:complexType>
</xs:element>
<xs:element name="Inference">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Name" type="xs:string"/>
<xs:element name="Concept" type="xs:string"/>
<xs:element ref="Description"/>
<xs:element ref="Reference"/>
</xs:choice>
<xs:attribute name="probability" type="smallFloat"/>
<xs:attribute name="relation" type="xs:string"/>
</xs:complexType>
</xs:element>
<!-- Citations: Follow-up Observations -->
<xs:element name="Citations">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="EventID">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:attribute name="cite" use="required">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="followup"/>
<xs:enumeration value="supersedes"/>
<xs:enumeration value="retraction"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element ref="Description"/>
<xs:element ref="Reference"/>
</xs:choice>
</xs:complexType>
</xs:element>
<!-- Description: Human Oriented Content -->
<xs:element name="Description" type="xs:string"/>
<!-- Reference: External Content -->
<xs:element fixed="" name="Reference">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="uri" type="xs:anyURI" use="required"/>
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="name" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<!-- smallFloat: floating point value between zero and one, inclusive -->
<xs:simpleType name="smallFloat">
<xs:restriction base="xs:float">
<xs:minInclusive value="0"/>
<xs:maxInclusive value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

This XML schema documentation has been generated with DocFlex/XML RE 1.8.0 using DocFlex/XML XSDDoc 2.2.0 template set.
DocFlex/XML RE is a reduced edition of DocFlex/XML, which is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-end XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support more than 300 template parameters (working the same as "options" of an ordinary doc-gen), which will give you an unprecedented control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To enable/disable documenting of the initial, imported, included and redefined XML schemas selectively.
  • To document local element components both globally and locally (similar to attributes).
  • To enable/disable reproducing of namespace prefixes.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in the form of a single HTML file.
  • To use the same template to generate the incredible quality RTF documentation.
  • To document only selected XML schema components specified by name.
  • To remove this very advertisement text
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML SDK and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for DocFlex/XML SDK will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note: By purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the result of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To buy a license, please follow this link: http://www.filigris.com/shop/