WaterInfo
November 2, 2023 · View on GitHub
WaterInfo
Version: 0.0.1
Description
Smart Data Models Program adaptation of the original IoTData data Models. This Resource describes the water information to indicate type of water currently provided by the device. The water type can be read or set. The Property 'supportedwatertypes' is an array of the possible water types are defined by the enumeration ['cold', 'hot', 'ambient', 'ice']. The Property 'supportedadditivetypes' is an array of the possible additive types for water. The additive types mean optional types that can be added to the specific water type according to Client's preference and are defined by the enumeration ['none', 'soda', 'mineral']. If absent, the default value is 'none'. The Property 'currentwatertype' is the currently desired water type. The Property 'currentadditivetypes' is the currently desired additive type(s). For example, if 'cold' is selected with the 'currentwatertype', 'soda' and 'mineral' or both can be selected as 'currentadditivetypes'. Note that if 'hot' is selected with the 'currentwatertype', 'soda' and 'mineral' may be restricted for the 'currentadditivetypes'.
This data model comes from the original Open Connectivity Foundation repository. It has been extended to comply with NGSI requirements.
Specification
Link to the interactive specification
Link to the specification
Enlace a la Especificación en español
Lien vers le spécification en français
Link zur deutschen Spezifikation
Link alla specifica
Examples
Link to the example (keyvalues) for NGSI v2
Link to the example (keyvalues) for NGSI-LD
Link to the example (normalized) for NGSI-V2
Link to the example (normalized) for NGSI-LD
Dynamic Examples generation
Link to the Generator of NGSI-LD normalized payloads compliant with this data model. Refresh for new values
Link to the Generator of NGSI-LD keyvalues payloads compliant with this data model. Refresh for new values
Link to the Generator of geojson feature format payloads compliant with this data model. Refresh for new values
PostgreSQL schema
Link to the PostgreSQL schema of this data model
Contribution
If you have any issue on this data model you can raise an issue or contribute with a PR
If you wish to develop your own data model you can start from contribution manual. Several services have been developed to help with:
- Test data model repository including the schema and example payloads, etc
- Generate PostgreSQL schema to help create a table, create type, etc
