consumable
November 2, 2023 · View on GitHub
consumable
Version: 0.0.1
Description
Smart Data Models Program adaptation of the original IoTData data Models. This Resource specifies a thing that can be consumed such as filter material, printer toner etc The Propert 'typeofconsumable' is an enumeration defining the thing being consumed as defined by the Smart Home Device Specification The Property 'remaining' is an integer capturing the percentatge remaining life The Property 'orderpercentage' is an integer capturing the percentage life at which replacement or replenishment is recommended by the manufacturer The Property 'url' is a string containing a URL at which further information may be obtained with respect to the consumable.
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
Link to the example (keyvalues) for NGSI v2 in CSV format
Link to the example (keyvalues) for NGSI-LD in CSV format
Link to the example (normalized) for NGSI-V2 in CSV format
Link to the example (normalized) for NGSI-LD in CSV format
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
