SensorML 2.0 Examples
Simple Extension of a Sensor
Inheritance allows for very compact descriptions for instances of sensors and other physical or computational processes. The original equipment manufacturer (OEM) or the distributor of a particular model of sensor may provide a complete and robust description of that sensor model and make that available online. The owner or deployer of a particular instance of that sensor then only needs to reference the OEM's base sensor description using the typeOf property, and add the properties that are specific to his particular sensor (e.g. serial number, owner's contact information, sensor location, etc.).
The example below shows the owners description, followed by the more robust description of the OEM. A simple extension in SensorML implies that the specific sensor instance has all the properties of the base process plus all the properties listed in the instance description.