Skip to content

Homogeneity of property comments in SAREF

When factorizing the descriptions of subclasses of saref:Property in SAREF, we clearly see the redundancies, but also the quirks and typos:

  property_classes:
    - name: Energy
      comment: A saref:Property related to some measurements that are characterized by a certain value measured in an energy unit (such as Kilowatt_Hour or Watt_hour). Furter specializations of the saref:Energy class can be found in the SAREF4ENER extension, where classes such as EnergyMax, EnergyMin and EnergyExpected are defined. 
    - name: Humidity
      comment: A saref:Property related to some measurements that are characterized by a certain value that is measured in a humidity unit
    - name: Light
      comment: A saref:Property related to some measurements that are characterized by a certain value that is measured in a illuminance unit (lux)
    - name: Motion
      comment: A saref:Property related to some measurements that are characterized by a certain value that is measured in a unit of measure for motion
    - name: Occupancy
      comment: A saref:Property related to some measurements that are characterized by a certain value (saref:hasValue property) that is measured in a unit of measure for occupancy
    - name: Power
      comment: A saref:Property related to some measurements that are characterized by a certain value that is measured in a power unit (such as watt or kilowatt).  Further specializations of the saref:Power class can be found in the SAREF4ENER extension, where classes such as PowerMax, PowerMin and PowerExpected are defined.
    - name: Pressure
      comment: A saref:Property related to some measurements that are characterized by a certain value that is measured in a pressure unit (bar or pascal)
    - name: Price
      comment: A saref:Property crelated to some measurements that are characterized by a certain value that is measured using saref:Currency
    - name: Smoke
      comment: A saref:Property related to some measurements that are characterized by a certain value that is measured in a unit of measure for smoke
    - name: Temperature
      comment: A saref:Property related to some measurements that are characterized by a certain value that is measured in a temperature unit (degree_Celsius, degree_Fahrenheit, or degree_kelvin)
Edited by Maxime Lefrançois
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information