Skip to content

Device kinds and device types

related to saref-portal#101 (closed)

It is still unclear when one wants to model a generic kind of device (aka, model, category, class, ...), whether they should model it as an instance of saref:Device, or a subclass of saref:Device.

It would help a lot to be able to identify kinds of devices generically, the same way we do with property kinds. One advantage would be that we could reuse existing code lists, vocabularies, and taxonomies. Identifiers could be for example:

Another advantage is that it would encourage manufacturers and vendors to define permanent URIs for their devices, and to expose structured data at the page that describes a device in a catalogue. Some examples of product IDs from manufacturer and vendor catalogues:

My proposal to disambiguate the concept while maintaining backward compatibility with previous usages would be to split saref:Device in two classes:

saref:DeviceOfInterest

An instance of saref:DeviceOfInterest represents one specific real world device.

saref:DeviceKind

The class saref:DeviceKind allow to describe models of devices, with common properties having the same value, common states being the same, common functions, and common services. It describes a datasheet, vendor specification, or normative specification, of a device (in the sense of a prototypical description).

EXAMPLE: system with European Union energy label A++ , Energy Star labeled appliance, BMP282, DHT22, Adafruit 5187, ...

NOTE: Concepts from existing code lists, vocabularies, and taxonomies, may be used as instances of saref:DeviceKind.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information