SensorNet Application Schema

Table of Contents

top

Schema Document Properties

Target Namespace http://www.sensornet.gov/snet
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://www.opengis.net/gml (at http://schemas.opengis.net/gml/3.0.1/base/feature.xsd)
Documentation SensorNet Feature schema.
Application Data SenosrNet.xsd v0.01 2005-03
More information at: urn:x-sensornet-gov:snet:schema:sensornet:v0.01;.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
snet http://www.sensornet.gov/snet
xsd http://www.w3.org/2001/XMLSchema
gml http://www.opengis.net/gml
Schema Component Representation
<xsd:schema targetNamespace="http://www.sensornet.gov/snet" elementFormDefault="qualified">
<xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.0.1/base/feature.xsd"/>
...
</xsd:schema>
top

Global Declarations

Element: Alert

  • This element can be used wherever the following element is referenced:
Name Alert
Type snet:EventType
Nillable no
Abstract no
Documentation Feature type representing an alert.
XML Instance Representation
<snet:Alert
featureVersion=" xsd:nonNegativeInteger [0..1] ?">
<!-- ' gml:AbstractFeatureType ' super type was not found in this schema. Some elements and attributes may be missing. -->
<snet:Location> ... </snet:Location> [0..1]
<snet:Datetime> ... </snet:Datetime> [0..1]
<snet:DataCenter> ... </snet:DataCenter> [0..1]
<snet:OwnerLabel> ... </snet:OwnerLabel> [0..1]
<snet:Data> ... </snet:Data> [0..1]
</snet:Alert>
Schema Component Representation
<xsd:element name="Alert" type=" snet:EventType " substitutionGroup="gml:_Feature"/>
top

Element: AssociationId

Name AssociationId
Type xsd:string
Nillable no
Abstract no
Documentation This property is optional, but may be used to associate this feature with another snet:Feature. The value of this property should be the feature ID of the feature it is associated with.
XML Instance Representation
<snet:AssociationId> xsd:string </snet:AssociationId>
Schema Component Representation
<xsd:element name="AssociationId" type=" xsd:string "/>
top

Element: Data

Name Data
Type snet:GenericDataType
Nillable no
Abstract no
Documentation Contains the actual data readings for this observation or contains the observation(s) related to this feature.
XML Instance Representation
<snet:Data>
Allow any elements from any namespace (skip validation). [0..*]
</snet:Data>
Schema Component Representation
<xsd:element name="Data" type=" snet:GenericDataType "/>
top

Element: DataCenter

Name DataCenter
Type xsd:string
Nillable no
Abstract no
Documentation This property gives the ID of the data center where the feature is first inserted. If left empty, the WFS at the data center will populate the property with it's ID.
XML Instance Representation
<snet:DataCenter> xsd:string </snet:DataCenter>
Schema Component Representation
<xsd:element name="DataCenter" type=" xsd:string "/>
top

Element: DataSource

  • This element can be used wherever the following element is referenced:
Name DataSource
Type snet:AbstractDataSourceType
Nillable no
Abstract no
Documentation Feature type representing a data source. The geometric properties of the feature should describe either the actual location of the data source itself or an area representing the coverage of the data.
XML Instance Representation
<snet:DataSource
featureVersion=" xsd:nonNegativeInteger [0..1] ?">
<!-- ' gml:AbstractFeatureType ' super type was not found in this schema. Some elements and attributes may be missing. -->
<snet:Location> ... </snet:Location> [0..1]
<snet:Datetime> ... </snet:Datetime> [0..1]
<snet:DataCenter> ... </snet:DataCenter> [0..1]
<snet:OwnerLabel> ... </snet:OwnerLabel> [0..1]
<snet:Data> ... </snet:Data> [0..1]
</snet:DataSource>
Schema Component Representation
<xsd:element name="DataSource" type=" snet:AbstractDataSourceType " substitutionGroup="gml:_Feature"/>
top

Element: DataSourceId

Name DataSourceId
Type xsd:string
Nillable no
Abstract no
Documentation Compact format ID of this data source. (i.e. useful for labeling icons)
XML Instance Representation
<snet:DataSourceId> xsd:string </snet:DataSourceId>
Schema Component Representation
<xsd:element name="DataSourceId" type=" xsd:string "/>
top

Element: DataSourceManufacturer

Name DataSourceManufacturer
Type xsd:string
Nillable no
Abstract no
Documentation Gives the manufacturer of this data source.
XML Instance Representation
<snet:DataSourceManufacturer> xsd:string </snet:DataSourceManufacturer>
Schema Component Representation
<xsd:element name="DataSourceManufacturer" type=" xsd:string "/>
top

Element: DataSourceMetaData

Name DataSourceMetaData
Type snet:GenericDataType
Nillable no
Abstract no
Documentation Gives additional meta data properties about this data source.
XML Instance Representation
<snet:DataSourceMetaData>
Allow any elements from any namespace (skip validation). [0..*]
</snet:DataSourceMetaData>
Schema Component Representation
<xsd:element name="DataSourceMetaData" type=" snet:GenericDataType "/>
top

Element: DataSourceModel

Name DataSourceModel
Type xsd:string
Nillable no
Abstract no
Documentation Gives the model of this data source.
XML Instance Representation
<snet:DataSourceModel> xsd:string </snet:DataSourceModel>
Schema Component Representation
<xsd:element name="DataSourceModel" type=" xsd:string "/>
top

Element: DataSourceName

Name DataSourceName
Type xsd:string
Nillable no
Abstract no
Documentation Descriptive (verbose) name of this data source.
XML Instance Representation
<snet:DataSourceName> xsd:string </snet:DataSourceName>
Schema Component Representation
<xsd:element name="DataSourceName" type=" xsd:string "/>
top

Element: DataSourceType

Name DataSourceType
Type xsd:string
Nillable no
Abstract no
Documentation Gives the type of this data source.
XML Instance Representation
<snet:DataSourceType> xsd:string </snet:DataSourceType>
Schema Component Representation
<xsd:element name="DataSourceType" type=" xsd:string "/>
top

Element: Datetime

Name Datetime
Type snet:DatetimeType
Nillable no
Abstract no
Documentation This element contains either a GML TimeInstant or GML TimePeriod describing the basic temporar properties for this feature. More complex temporal properties may be supplied in additional feature properties.
XML Instance Representation
<snet:Datetime>
Start Choice [1]
End Choice
</snet:Datetime>
Schema Component Representation
<xsd:element name="Datetime" type=" snet:DatetimeType "/>
top

Element: DeploymentNotes

Name DeploymentNotes
Type xsd:string
Nillable no
Abstract no
Documentation Verbose description of any deployment specific notes. These notes may include access restritions, driving directions,etc.
XML Instance Representation
<snet:DeploymentNotes> xsd:string </snet:DeploymentNotes>
Schema Component Representation
<xsd:element name="DeploymentNotes" type=" xsd:string "/>
top

Element: Event

  • This element can be used wherever the following element is referenced:
Name Event
Type snet:EventType
Nillable no
Abstract no
Documentation Feature type representing an event.
XML Instance Representation
<snet:Event
featureVersion=" xsd:nonNegativeInteger [0..1] ?">
<!-- ' gml:AbstractFeatureType ' super type was not found in this schema. Some elements and attributes may be missing. -->
<snet:Location> ... </snet:Location> [0..1]
<snet:Datetime> ... </snet:Datetime> [0..1]
<snet:DataCenter> ... </snet:DataCenter> [0..1]
<snet:OwnerLabel> ... </snet:OwnerLabel> [0..1]
<snet:Data> ... </snet:Data> [0..1]
</snet:Event>
Schema Component Representation
<xsd:element name="Event" type=" snet:EventType " substitutionGroup="gml:_Feature"/>
top

Element: EventMessage

Name EventMessage
Type xsd:string
Nillable no
Abstract no
Documentation A message associated with this event. The event message should be formatted as a CAP message.
XML Instance Representation
<snet:EventMessage> xsd:string </snet:EventMessage>
Schema Component Representation
<xsd:element name="EventMessage" type=" xsd:string "/>
top

Element: EventType

Name EventType
Type xsd:string
Nillable no
Abstract no
Documentation Gives the type of this event.
XML Instance Representation
<snet:EventType> xsd:string </snet:EventType>
Schema Component Representation
<xsd:element name="EventType" type=" xsd:string "/>
top

Element: Feature

  • This element can be used wherever the following element is referenced:
Name Feature
Type snet:FeatureType
Nillable no
Abstract no
Documentation This is the base feature type for all features in SensorNet. All other SensorNet features are derived from snet:Feature. snet:Feature may also be used itself to insert generic data into SensorNet.
XML Instance Representation
<snet:Feature
featureVersion=" xsd:nonNegativeInteger [0..1] ?">
<!-- ' gml:AbstractFeatureType ' super type was not found in this schema. Some elements and attributes may be missing. -->
<snet:Location> ... </snet:Location> [0..1]
<snet:Datetime> ... </snet:Datetime> [0..1]
<snet:DataCenter> ... </snet:DataCenter> [0..1]
<snet:OwnerLabel> ... </snet:OwnerLabel> [0..1]
<snet:Data> ... </snet:Data> [0..1]
</snet:Feature>
Schema Component Representation
<xsd:element name="Feature" type=" snet:FeatureType " substitutionGroup="gml:_Feature"/>
top

Element: FunctionalLabel

Name FunctionalLabel
Type xsd:string
Nillable no
Abstract no
Documentation This property is the fully qualified functional label categorizing the feature. It is recommended that functional labels follow the suggested naming guide located at . For inserts and queries, the WFS uses the user's role to determine if they can read/write the feature based on the functional label.
XML Instance Representation
<snet:FunctionalLabel> xsd:string </snet:FunctionalLabel>
Schema Component Representation
<xsd:element name="FunctionalLabel" type=" xsd:string "/>
top

Element: Group

  • This element can be used wherever the following element is referenced:
Name Group
Type snet:GroupType
Nillable no
Abstract no
Documentation Feature type representing a logical grouping of other features. The geometric properties of this feature should describe a general area of interest for this group. It is not required to be a superset of the geometries for all features in the group.
XML Instance Representation
<snet:Group
featureVersion=" xsd:nonNegativeInteger [0..1] ?">
<!-- ' gml:AbstractFeatureType ' super type was not found in this schema. Some elements and attributes may be missing. -->
<snet:Location> ... </snet:Location> [0..1]
<snet:Datetime> ... </snet:Datetime> [0..1]
<snet:DataCenter> ... </snet:DataCenter> [0..1]
<snet:OwnerLabel> ... </snet:OwnerLabel> [0..1]
<snet:Data> ... </snet:Data> [0..1]
<snet:GroupName> ... </snet:GroupName> [0..1]
<snet:GroupId> ... </snet:GroupId> [1]
</snet:Group>
Schema Component Representation
<xsd:element name="Group" type=" snet:GroupType " substitutionGroup="gml:_Feature"/>
top

Element: GroupId

Name GroupId
Type xsd:string
Nillable no
Abstract no
Documentation Compact format ID of this logical group. (i.e. useful for labeling icons)
XML Instance Representation
<snet:GroupId> xsd:string </snet:GroupId>
Schema Component Representation
<xsd:element name="GroupId" type=" xsd:string "/>
top

Element: GroupName

Name GroupName
Type xsd:string
Nillable no
Abstract no
Documentation Descriptive (verbose) name of this logical group.
XML Instance Representation
<snet:GroupName> xsd:string </snet:GroupName>
Schema Component Representation
<xsd:element name="GroupName" type=" xsd:string "/>
top

Element: Location

Name Location
Type snet:LocationType
Nillable no
Abstract no
Documentation This element contains either a GML Point or GML Box describing the basic location for this feature. More complex geometries may be supplied in additional feature properties.
XML Instance Representation
<snet:Location>
Start Choice [1]
<gml:Point> ... </gml:Point> [1]
<gml:Box> ... </gml:Box> [1]
End Choice
</snet:Location>
Schema Component Representation
<xsd:element name="Location" type=" snet:LocationType "/>
top

Element: MobileDataSource

Name MobileDataSource
Type xsd:boolean
Nillable no
Abstract no
Documentation Indicates if this is a mobile or fixed data source. true indicates the node is mobile, false indicates fixed.
XML Instance Representation
<snet:MobileDataSource> xsd:boolean </snet:MobileDataSource>
Schema Component Representation
<xsd:element name="MobileDataSource" type=" xsd:boolean "/>
top

Element: Node

  • This element can be used wherever the following element is referenced:
Name Node
Type snet:AbstractDataSourceType
Nillable no
Abstract no
Documentation Feature type representing a physical node. The geometric properties of the feature should describe the location of the node itself, not necessarily the location of all sensors reporting to the node.
XML Instance Representation
<snet:Node
featureVersion=" xsd:nonNegativeInteger [0..1] ?">
<!-- ' gml:AbstractFeatureType ' super type was not found in this schema. Some elements and attributes may be missing. -->
<snet:Location> ... </snet:Location> [0..1]
<snet:Datetime> ... </snet:Datetime> [0..1]
<snet:DataCenter> ... </snet:DataCenter> [0..1]
<snet:OwnerLabel> ... </snet:OwnerLabel> [0..1]
<snet:Data> ... </snet:Data> [0..1]
</snet:Node>
Schema Component Representation
<xsd:element name="Node" type=" snet:AbstractDataSourceType " substitutionGroup="gml:_Feature"/>
top

Element: Observa