ColourHS
November 2, 2023 · View on GitHub
ColourHS
Version: 0.0.1
Description
Smart Data Models Program adaptation of the original IoTData data Models. This Resource describes the colour using hue-saturation conventions. The Property 'hue' is the hue angle, it is a number value as defined by the CIECAM02 model definition (see reference [CIE CIE159:2004]). A Device that does not support fractional hue angles can provide integer values. If Property 'precision' is provided it applies to the hue angle. The Property 'saturation' is an integer value as defined by the CIECAM02 model definition (see reference [CIE CIE159:2004]). The Property 'saturation' can be converted to a percentage by saturation/maximumsaturation X 100; where maximumsaturation is 32767 if the Property itself is not present. The Property 'maximumsaturation' is the upper bound on the saturation supported by the Device. If not present the maximum value for saturation is 32767. The Resource provides the colour using hue and saturation conventions.
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
