{
  "id": "http://openinterconnect.org/iotdatamodels/schemas/oic.r.sensor.presence.json#",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description" : "Copyright (c) 2016, 2017 Open Connectivity Foundation, Inc. All rights reserved.",
  "title": "Presence Sensor",
  "definitions": {
    "oic.r.sensor.presence": {
      "allOf": [
        {"$ref": "oic.r.sensor.json#/definitions/oic.r.sensor"}
      ]
    }
  },
  "type": "object",
  "allOf": [
    {"$ref": "oic.baseResource.json#/definitions/oic.r.baseresource"},
    {"$ref": "#/definitions/oic.r.sensor.presence"}
  ],
  "required": ["value"]
}
