{
  "id": "http://openinterconnect.org/iotdatamodels/schemas/oic.r.colour.colourtemperature.json#",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description" : "Copyright (c) 2017 Open Connectivity Foundation, Inc. All rights reserved.",
  "title": "Colour Temperature",
  "definitions": {
    "oic.r.colour.colourtemperature": {
      "type": "object",
      "properties": {
        "ct": {
          "type": "integer",
          "description": "Mired colour temperature",
          "minimum": 0
        }
      }
    }
  },
  "type": "object",
  "allOf": [
    {"$ref": "oic.baseResource.json#/definitions/oic.r.baseresource"},
    {"$ref": "#/definitions/oic.r.colour.colourtemperature"}
  ],
  "required": [ "ct" ]
}
