<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:annotation>
    <xs:documentation>Created at Mon Jan 11 12:00:00 GMT 2010</xs:documentation>
  </xs:annotation>

  <xs:include schemaLocation="DefinitionType.xsd"/>

  <xs:complexType name="Source">
    <xs:all>
      <xs:element name="info" type="ComponentInfo"/>
        <xs:element name="magnitudeWavelength" type="DoubleUnit"/>
      <xs:element name="emissionLineWavelength" type="DoubleUnit"/>
      <xs:element name="emissionLineFwhm" type="DoubleUnit"/>
      <xs:element name = "extendedSourceProfile" type="xs:string"/>
      <xs:element name="extendedSourceRadius" type="DoubleUnit"/>
      <xs:element name="magnitude" type="DoubleUnit"/>
      <xs:element name="redshift" type="DoubleUnit"/>
      <xs:element name="temperature" type="DoubleUnit"/>
      <xs:element name="spatialDistributionType" type="xs:string"/>
      <xs:element name="spectralDistributionType" type="xs:string"/>
      <xs:element name="spectralDistributionTemplate" type="Graph" minOccurs="0"/>
      <xs:element name="emissionLineFlux" type="DoubleUnit"/>
      <xs:element name="extendedMagnitudeType" type="xs:string"/>
    </xs:all>
  </xs:complexType>

  <xs:element name="source" type="Source"/>

</xs:schema>
