{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "OCF", "$id": "https://smart-data-models.github.io/dataModel.IoTDataModels/Saturation/schema.json", "title": "Colour Saturation", "description": "Smart Data Models Program adaptation of the original IoTData data Models. This Resource describes a Colour saturation value. The Property 'colourSaturation' is an integer. A 'colourSaturation' has a range of [0,100]. A 'colourSaturation' value of 0 means producing black and white images. A 'colourSaturation' value of 50 means producing device specific normal colour images. A 'colourSaturation' value of 100 means producing device very full colour images. ", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "rt": { "description": "Property. The Resource Type.", "items": { "enum": [ "oic.r.colour.saturation" ], "maxLength": 64, "type": "string" }, "minItems": 1, "uniqueItems": true, "readOnly": true, "type": "array" }, "colourSaturation": { "description": "Property. The colour saturation value.", "maximum": 100, "minimum": 0, "type": "integer" }, "n": { "type": "string", "maxLength": 64, "readOnly": true, "description": "Property. Friendly name of the Resource" }, "if": { "description": "Property. The OCF Interface set supported by this Resource.", "items": { "enum": [ "oic.if.a", "oic.if.baseline" ], "type": "string" }, "minItems": 2, "uniqueItems": true, "readOnly": true, "type": "array" }, "type": { "type": "string", "enum": [ "Saturation" ], "description": "Property. NGSI entity type. It has to be Saturation" } } } ], "derivedFrom": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/SaturationResURI.swagger.json", "license": "https://github.com/OpenInterConnect/IoTDataModels/blob/master/README.md", "required": [ "id", "type" ] }