home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Thomas Gaskins (private) -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
- <xs:element name="Script">
- <xs:annotation>
- <xs:documentation>World Wind automation script.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:choice maxOccurs="unbounded">
- <xs:element name="ShortDescription" minOccurs="0">
- <xs:annotation>
- <xs:documentation>200 or fewer character description explaining the script's purpose to a user.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="200"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element ref="At" minOccurs="0"/>
- </xs:choice>
- <xs:attribute name="repeat" type="xs:positiveInteger" use="optional">
- <xs:annotation>
- <xs:documentation>Number of times to repeat the script. Omission or 0 implies continual repeat.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="name" use="required">
- <xs:annotation>
- <xs:documentation>A short name identifying the script. Will typically appear in a list of available scripts.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:string">
- <xs:maxLength value="80"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:attributeGroup name="idAndRef">
- <xs:attribute name="id" type="xs:ID" use="optional"/>
- <xs:attribute name="idref" type="xs:IDREF" use="optional"/>
- </xs:attributeGroup>
- <xs:element name="At">
- <xs:annotation>
- <xs:documentation>Collection of changes to make.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element ref="Audio" minOccurs="0"/>
- <xs:element ref="DIsplayImages" minOccurs="0"/>
- <xs:element ref="DisplayMessages" minOccurs="0"/>
- <xs:element ref="LatLonGrid" minOccurs="0"/>
- <xs:element ref="Layers" minOccurs="0"/>
- <xs:element ref="Video" minOccurs="0"/>
- <xs:element ref="ViewDirection" minOccurs="0"/>
- <xs:element ref="ViewPosition" minOccurs="0"/>
- <xs:element ref="VerticalExageration" minOccurs="0"/>
- <xs:element ref="WmsImage" minOccurs="0"/>
- </xs:all>
- <xs:attribute name="time" use="required">
- <xs:annotation>
- <xs:documentation>Number of seconds after the script starts to effect the contained changes.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:float">
- <xs:minInclusive value="0"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:attribute>
- </xs:complexType>
- </xs:element>
- <xs:element name="DisplayMessage">
- <xs:complexType>
- <xs:all>
- <xs:element name="Message" type="xs:string" nillable="true"/>
- <xs:element name="X" type="xs:float" minOccurs="0"/>
- <xs:element name="Y" type="xs:float" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="idAndRef"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="LatLonGrid">
- <xs:complexType>
- <xs:all>
- <xs:element name="Show" type="xs:boolean">
- <xs:annotation>
- <xs:documentation>true or false.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:all>
- <xs:attributeGroup ref="idAndRef"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="WmsImage">
- <xs:complexType>
- <xs:all>
- <xs:element name="Url" type="xs:anyURI" nillable="true"/>
- <xs:element name="Opacity" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:float">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="100"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:all>
- <xs:attributeGroup ref="idAndRef"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="ViewDirection">
- <xs:complexType>
- <xs:choice>
- <xs:element name="Angles">
- <xs:annotation>
- <xs:documentation>Defines direction by compass and inclination angles.</xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element name="Horizontal">
- <xs:annotation>
- <xs:documentation>Compass angle.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:float">
- <xs:minInclusive value="-180"/>
- <xs:maxInclusive value="180"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Vertical">
- <xs:annotation>
- <xs:documentation>Steepness.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:float">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="90"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="Position" type="Location">
- <xs:annotation>
- <xs:documentation>Defines direction by focal poiint.</xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:choice>
- <xs:attributeGroup ref="idAndRef"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="ViewPosition">
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="Location">
- <xs:attributeGroup ref="idAndRef"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="Location">
- <xs:annotation>
- <xs:documentation>A location on or above the globe.</xs:documentation>
- </xs:annotation>
- <xs:all>
- <xs:element name="Latitude">
- <xs:annotation>
- <xs:documentation>Degrees of latitude.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:float">
- <xs:minInclusive value="-90"/>
- <xs:maxInclusive value="90"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Longitude">
- <xs:annotation>
- <xs:documentation>Degrees of longitude.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:float">
- <xs:minInclusive value="-180"/>
- <xs:maxInclusive value="180"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="Elevation">
- <xs:annotation>
- <xs:documentation>Meters above mean surface.</xs:documentation>
- </xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:float">
- <xs:minInclusive value="0"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- <xs:element name="Layer">
- <xs:complexType>
- <xs:all>
- <xs:element name="Category" type="xs:string"/>
- <xs:element name="Name" type="xs:string"/>
- <xs:element name="Opacity" type="xs:float" minOccurs="0"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="VerticalExageration">
- <xs:complexType>
- <xs:all>
- <xs:element name="ScaleFactor">
- <xs:simpleType>
- <xs:restriction base="xs:float">
- <xs:minInclusive value="1"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="Layers">
- <xs:complexType>
- <xs:choice>
- <xs:element ref="Layer" minOccurs="0" maxOccurs="20"/>
- </xs:choice>
- <xs:attributeGroup ref="idAndRef"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="DisplayMessages">
- <xs:complexType>
- <xs:choice>
- <xs:element ref="DisplayMessage" minOccurs="0" maxOccurs="10"/>
- </xs:choice>
- <xs:attributeGroup ref="idAndRef"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="DisplayImage">
- <xs:complexType>
- <xs:all>
- <xs:element name="Url" type="xs:anyURI" nillable="true"/>
- <xs:element name="Opacity" minOccurs="0">
- <xs:simpleType>
- <xs:restriction base="xs:float">
- <xs:minInclusive value="0"/>
- <xs:maxInclusive value="100"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- <xs:element name="X" type="xs:float" minOccurs="0"/>
- <xs:element name="Y" type="xs:float" minOccurs="0"/>
- <xs:element name="Width" type="xs:float" minOccurs="0"/>
- <xs:element name="Height" type="xs:float" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="idAndRef"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="DIsplayImages">
- <xs:complexType>
- <xs:choice>
- <xs:element ref="DisplayImage" minOccurs="0" maxOccurs="10"/>
- </xs:choice>
- </xs:complexType>
- </xs:element>
- <xs:element name="Audio">
- <xs:complexType>
- <xs:all>
- <xs:element name="Url" type="xs:anyURI" nillable="true"/>
- </xs:all>
- <xs:attributeGroup ref="idAndRef"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="Video">
- <xs:complexType>
- <xs:all>
- <xs:element name="Url" type="xs:anyURI" nillable="true"/>
- <xs:element name="X" type="xs:float" minOccurs="0"/>
- <xs:element name="Y" type="xs:float" minOccurs="0"/>
- <xs:element name="Width" type="xs:float" minOccurs="0"/>
- <xs:element name="Height" type="xs:float" minOccurs="0"/>
- </xs:all>
- <xs:attributeGroup ref="idAndRef"/>
- </xs:complexType>
- </xs:element>
- </xs:schema>
-