{
  "meta": {
    "restrictions": [
      {
        "resUri": "/capability/temperatureMeasurement/cooler/0",
        "property": "units",
        "type": 1,
        "value": "C,F,K"
      },
      {
        "resUri": "/capability/temperatureMeasurement/freezer/0",
        "property": "units",
        "type": 1,
        "value": "C,F,K"
      },
      {
        "resUri": "/capability/temperatureMeasurement/cvroom/0",
        "property": "units",
        "type": 1,
        "value": "C,F,K"
      },
      {
        "resUri": "/capability/rapidCooling/cooler/0",
        "property": "mode",
        "type": 1,
        "value": "on,off"
      },
      {
        "resUri": "/capability/filterStatus/main/0",
        "property": "currentMachineState",
        "type": 1,
        "value": "normal,replace"
      },
      {
        "resUri": "/capability/energyMeter/main/0",
        "property": "unit",
        "type": 1,
        "value": "Wh,kWh,mWh"
      }
    ],
    "resDesc": [
      {
        "resUri": "/capability/temperatureMeasurement/cooler/0",
        "name": "WWST Measured Temperature",
        "desc": "Indoor measured temperature. Used by thermostat, air conditioners, thermometer, etc\n"
      },
      {
        "resUri": "/capability/temperatureMeasurement/freezer/0",
        "name": "WWST Measured Temperature",
        "desc": "Indoor measured temperature. Used by thermostat, air conditioners, thermometer, etc\n"
      },
      {
        "resUri": "/capability/temperatureMeasurement/cvroom/0",
        "name": "WWST Measured Temperature",
        "desc": "Indoor measured temperature. Used by thermostat, air conditioners, thermometer, etc\n"
      },
      {
        "resUri": "/capability/contactSensor/cooler/0",
        "name": "Contact Sensor",
        "desc": "This resource describes whether a contact sensor has been tripped or not.\nTypical use case is in Security Systems detecting window or door open.\nThe value is a boolean.\nA value of \u0027true\u0027 means that contact has been broken (open).\nA value of \u0027false\u0027 means that contact is in place (closed).\n"
      },
      {
        "resUri": "/capability/contactSensor/freezer/0",
        "name": "Contact Sensor",
        "desc": "This resource describes whether a contact sensor has been tripped or not.\nTypical use case is in Security Systems detecting window or door open.\nThe value is a boolean.\nA value of \u0027true\u0027 means that contact has been broken (open).\nA value of \u0027false\u0027 means that contact is in place (closed).\n"
      },
      {
        "resUri": "/capability/contactSensor/cvroom/0",
        "name": "Contact Sensor",
        "desc": "This resource describes whether a contact sensor has been tripped or not.\nTypical use case is in Security Systems detecting window or door open.\nThe value is a boolean.\nA value of \u0027true\u0027 means that contact has been broken (open).\nA value of \u0027false\u0027 means that contact is in place (closed).\n"
      },
      {
        "resUri": "/capability/rapidCooling/cooler/0",
        "name": "WWST Rapid cooling mode",
        "desc": "Rapid cooling mode\n"
      },
      {
        "resUri": "/capability/filterStatus/main/0",
        "name": "WWST Filter State",
        "desc": "Filter State\n"
      },
      {
        "resUri": "/capability/energyMeter/main/0",
        "name": "Energy Meter",
        "desc": "This resource describes the energy consumed by the device as reported by the Energy meter."
      }
    ],
    "propDesc": [
      {
        "resUri": "/capability/temperatureMeasurement/cooler/0",
        "property": "temperature",
        "desc": "Current temperature setting or measurement"
      },
      {
        "resUri": "/capability/temperatureMeasurement/cooler/0",
        "property": "range",
        "desc": "Array defining min,max values for this temperature on this device"
      },
      {
        "resUri": "/capability/temperatureMeasurement/cooler/0",
        "property": "units",
        "desc": "Units for the temperature value"
      },
      {
        "resUri": "/capability/temperatureMeasurement/freezer/0",
        "property": "temperature",
        "desc": "Current temperature setting or measurement"
      },
      {
        "resUri": "/capability/temperatureMeasurement/freezer/0",
        "property": "range",
        "desc": "Array defining min,max values for this temperature on this device"
      },
      {
        "resUri": "/capability/temperatureMeasurement/freezer/0",
        "property": "units",
        "desc": "Units for the temperature value"
      },
      {
        "resUri": "/capability/temperatureMeasurement/cvroom/0",
        "property": "temperature",
        "desc": "Current temperature setting or measurement"
      },
      {
        "resUri": "/capability/temperatureMeasurement/cvroom/0",
        "property": "range",
        "desc": "Array defining min,max values for this temperature on this device"
      },
      {
        "resUri": "/capability/temperatureMeasurement/cvroom/0",
        "property": "units",
        "desc": "Units for the temperature value"
      },
      {
        "resUri": "/capability/contactSensor/cooler/0",
        "property": "value",
        "desc": "true \u003d sensed, false \u003d not sensed."
      },
      {
        "resUri": "/capability/contactSensor/freezer/0",
        "property": "value",
        "desc": "true \u003d sensed, false \u003d not sensed."
      },
      {
        "resUri": "/capability/contactSensor/cvroom/0",
        "property": "value",
        "desc": "true \u003d sensed, false \u003d not sensed."
      },
      {
        "resUri": "/capability/rapidCooling/cooler/0",
        "property": "mode",
        "desc": "State of the rapidColling."
      },
      {
        "resUri": "/capability/filterStatus/main/0",
        "property": "machineStates",
        "desc": "array of the possible operational states."
      },
      {
        "resUri": "/capability/filterStatus/main/0",
        "property": "currentMachineState",
        "desc": "Current state of operation of the device."
      },
      {
        "resUri": "/capability/energyMeter/main/0",
        "property": "unit",
        "desc": "The current state of unit"
      },
      {
        "resUri": "/capability/energyMeter/main/0",
        "property": "energy",
        "desc": "ReadOnly, Energy consumed"
      }
    ]
  },
  "device": [
    {
      "specification": {
        "device": {
          "deviceType": "x.wwst.d.refrigerator",
          "deviceName": "[refrigerator]",
          "specVersion": "core.1.1.0",
          "dataModelVersion": "res.1.1.0"
        },
        "platform": {
          "manufacturerName": "",
          "manufacturerUrl": "http://www.samsung.com",
          "manufacturingDate": "",
          "modelNumber": "0x0300",
          "platformVersion": "",
          "osVersion": "",
          "hardwareVersion": "FAMILY_HUB_VER_1",
          "firmwareVersion": "Virtual Device_0824",
          "vendorId": ""
        }
      },
      "resources": {
        "single": [
          {
            "uri": "/capability/temperatureMeasurement/cooler/0",
            "types": [
              "x.com.st.temperature.measured"
            ],
            "interfaces": [
              "C",
              "F",
              "K",
              "oic.if.s",
              "oic.if.baseline"
            ],
            "policy": 3
          },
          {
            "uri": "/capability/temperatureMeasurement/freezer/0",
            "types": [
              "x.com.st.temperature.measured"
            ],
            "interfaces": [
              "C",
              "F",
              "K",
              "oic.if.s",
              "oic.if.baseline"
            ],
            "policy": 3
          },
          {
            "uri": "/capability/temperatureMeasurement/cvroom/0",
            "types": [
              "x.com.st.temperature.measured"
            ],
            "interfaces": [
              "C",
              "F",
              "K",
              "oic.if.s",
              "oic.if.baseline"
            ],
            "policy": 3
          },
          {
            "uri": "/capability/contactSensor/cooler/0",
            "types": [
              "oic.r.sensor.contact"
            ],
            "interfaces": [
              "oic.if.s",
              "oic.if.baseline"
            ],
            "policy": 3
          },
          {
            "uri": "/capability/contactSensor/freezer/0",
            "types": [
              "oic.r.sensor.contact"
            ],
            "interfaces": [
              "oic.if.s",
              "oic.if.baseline"
            ],
            "policy": 3
          },
          {
            "uri": "/capability/contactSensor/cvroom/0",
            "types": [
              "oic.r.sensor.contact"
            ],
            "interfaces": [
              "oic.if.s",
              "oic.if.baseline"
            ],
            "policy": 3
          },
          {
            "uri": "/capability/rapidCooling/cooler/0",
            "types": [
              "x.com.st.rapidcooling"
            ],
            "interfaces": [
              "oic.if.a",
              "oic.if.s",
              "oic.if.baseline"
            ],
            "policy": 3
          },
          {
            "uri": "/capability/filterStatus/main/0",
            "types": [
              "x.com.st.filter"
            ],
            "interfaces": [
              "oic.if.s",
              "oic.if.baseline"
            ],
            "policy": 3
          },
          {
            "uri": "/capability/energyMeter/main/0",
            "types": [
              "x.com.st.energymeter"
            ],
            "interfaces": [
              "oic.if.baseline",
              "oic.if.s"
            ],
            "policy": 3
          }
        ]
      }
    }
  ],
  "resourceTypes": [
    {
      "type": "x.com.st.temperature.measured",
      "properties": [
        {
          "key": "temperature",
          "type": 2,
          "mandatory": true,
          "rw": 1
        },
        {
          "key": "range",
          "type": 9,
          "mandatory": false,
          "rw": 1
        },
        {
          "key": "units",
          "type": 3,
          "mandatory": false,
          "rw": 1
        }
      ]
    },
    {
      "type": "x.com.st.temperature.measured",
      "properties": [
        {
          "key": "temperature",
          "type": 2,
          "mandatory": true,
          "rw": 1
        },
        {
          "key": "range",
          "type": 9,
          "mandatory": false,
          "rw": 1
        },
        {
          "key": "units",
          "type": 3,
          "mandatory": false,
          "rw": 1
        }
      ]
    },
    {
      "type": "x.com.st.temperature.measured",
      "properties": [
        {
          "key": "temperature",
          "type": 2,
          "mandatory": true,
          "rw": 1
        },
        {
          "key": "range",
          "type": 9,
          "mandatory": false,
          "rw": 1
        },
        {
          "key": "units",
          "type": 3,
          "mandatory": false,
          "rw": 1
        }
      ]
    },
    {
      "type": "oic.r.sensor.contact",
      "properties": [
        {
          "key": "value",
          "type": 0,
          "mandatory": false,
          "rw": 1
        }
      ]
    },
    {
      "type": "x.com.st.rapidcooling",
      "properties": [
        {
          "key": "mode",
          "type": 3,
          "mandatory": true,
          "rw": 3
        }
      ]
    },
    {
      "type": "x.com.st.filter",
      "properties": [
        {
          "key": "machineStates",
          "type": 9,
          "mandatory": true,
          "rw": 1
        },
        {
          "key": "currentMachineState",
          "type": 3,
          "mandatory": true,
          "rw": 1
        }
      ]
    },
    {
      "type": "x.com.st.energymeter",
      "properties": [
        {
          "key": "unit",
          "type": 3,
          "mandatory": true,
          "rw": 1
        },
        {
          "key": "energy",
          "type": 2,
          "mandatory": true,
          "rw": 1
        }
      ]
    }
  ],
  "configuration": {
    "easySetup": {
      "connectivity": {
        "type": 1,
        "softAP": {
          "setupId": "001",
          "artik": false
        }
      },
      "ownershipTransferMethod": 2
    },
    "wifi": {
      "interfaces": 15,
      "frequency": 1
    },
    "filePath": {
      "svrdb": "artikserversecured.dat",
      "provisioning": "provisioning.dat",
      "certificate": "certificate.pem",
      "privateKey": "privatekey.der"
    }
  }
}
