{"type":"model","meta":{"id":"/apps/pubhub/media/cisco-iot-suite/64f8fe4b343793ff572741607351ff520b6a158d/5c66b3aa-a761-3029-b823-c160b9ed90db","swagger":"2.0","info":{"contact":{"email":"asset-tracking-team@cisco.com"},"description":"This service exposes APIs for managing AssetTypes, Assets, Sensors, Gateways deployed in the network.","license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"http://swagger.io/terms/","title":"Industrial Asset Vision","version":"1.0.0"},"host":"us.ciscoiot.com","basePath":"/at/nbapi/v1","schemes":["https"],"externalDocs":{"description":"Find out more about Industrial Asset Vision","url":"https://www.cisco.com/c/en/us/products/cloud-systems-management/industrial-asset-vision/index.html"},"securityDefinitions":{"BearerToken":{"in":"header","name":"Authorization","type":"apiKey"}},"x-parser-conf":{"apiKeyGenerator":{"$remoteModule":"./config/apikey.js"},"serverConfig":true,"meta":{"useProxy":true}}},"spec":{"properties":{"data":{"description":"List of Sensors","items":{"example":{"assetId":"e4a91518-34bc-4a18-847f-8a24d3762d12","assetName":"ColdRoom101","batteryPercentage":100,"batteryVoltage":3.6,"createdBy":"tennantname->nbikey","createdTime":1621742677786,"description":"0C75BDABCDEF1833","devEUI":"0C75BDABCDEF1833","highestAlarmSeverity":"MAJOR","id":"0ebf937f-bbed-4691-992a-702b02df7831","lastSeenAt":"1621742999977,","liveData":{"Humidity":{"unitSymbol":"%","value":80},"Temperature":{"unitSymbol":"°C","value":70}},"location":{"address":"Cessna Business Park, Bengaluru","latitude":78.12345678,"longitude":12.12345678},"loraVersion":"1.0.2","model":"AV201","modifiedBy":"tennantname->nbikey","modifiedTime":1622124238468,"name":"AV201_F1833","region":"IN865","rssi":-95,"signalLevel":0,"snr":-8,"spreadingFactor":7,"status":"Offline","type":"Indoor Environment","vendor":"Cisco"},"properties":{"additionalAttributesMap":{"additionalProperties":{"type":"string"},"description":"Map of <String, String> with the key value pairs of additional attributes","type":"object","$$ref":"#/definitions/AdditionalAttributesMap"},"alarmCounts":{"additionalProperties":{"type":"integer"},"description":"Map of <AlarmSeverity, alarmCount>","type":"object"},"assetId":{"description":"Asset Id","format":"uuid","type":"string"},"assetName":{"description":"Asset Name","type":"string"},"batteryPercentage":{"description":"Battery Percentage","maximum":100,"minimum":0,"type":"integer"},"batteryVoltage":{"description":"Battery Voltage","format":"double","type":"number"},"configInfo":{"description":"The config status info of the applied template","example":"Queued config message","type":"string"},"configStatus":{"description":"The config status of the applied template","enum":["Success","Queued","Failed","Waiting for confirmation"],"type":"string"},"configStatusLastUpdated":{"description":"The device config status last updated time in unix epoch time. ex-1573483982768","format":"int64","type":"integer"},"createdBy":{"description":"Created By","type":"string"},"createdTime":{"description":"Created Time (Epoch Time)","format":"int64","type":"integer"},"description":{"description":"Sensor Description","type":"string"},"devEUI":{"description":"Sensor DevEUI","type":"string"},"displayModel":{"description":"LoRa Third Party Model Name","type":"string"},"firmwareVersion":{"description":"Sensor Firmware Version","type":"string"},"highestAlarmSeverity":{"description":"Highest Alarm Severity","enum":["NONE","CRITICAL","MAJOR","MINOR"],"type":"string"},"id":{"format":"uuid","type":"string"},"lastSeenAt":{"description":"Last Seen Time","format":"int64","type":"integer"},"lastSeenGateway":{"description":"Name of the Gateway through which last message from the Sensor was received","type":"string"},"liveData":{"additionalProperties":{"properties":{"name":{"description":"Attribute Name","type":"string"},"timestamp":{"description":"Timestamp in epoch time","type":"string"},"unitSymbol":{"description":"Attribute Unit Symbol","type":"string"},"value":{"description":"Attribute Value","type":"string"}},"type":"object","$$ref":"#/definitions/LiveDataItem"},"type":"object"},"location":{"description":"Location details","properties":{"address":{"description":"Address","type":"string"},"latitude":{"description":"Latitude","format":"double","type":"number"},"longitude":{"description":"Longitude","format":"double","type":"number"}},"type":"object","$$ref":"#/definitions/Location"},"loraTpModelId":{"description":"LoRa Third Party Model Id","format":"uuid","type":"string"},"loraVersion":{"description":"LoraWAN Version (e.g., 1.0.3)","type":"string"},"model":{"description":"Sensor Model","type":"string"},"modifiedBy":{"description":"Modified By","type":"string"},"modifiedTime":{"description":"Modified Time (Epoch Time)","format":"int64","type":"integer"},"name":{"description":"Sensor Name","type":"string"},"region":{"description":"Sensor Lora Region","type":"string"},"rssi":{"description":"RSSI (e.g., -9dB)","type":"integer"},"signalLevel":{"description":"Signal Level (0,1,2,3,4)","type":"integer"},"snr":{"description":"SNR","format":"double","type":"number"},"spreadingFactor":{"description":"Spreading Factor","type":"integer"},"status":{"enum":["Inventory","Unheard","Heard","Healthy","Unhealthy","Offline"],"type":"string"},"type":{"description":"Sensor Type","type":"string"},"vendor":{"description":"Vendor Name","type":"string"}},"type":"object","$$ref":"#/definitions/Sensor"},"type":"array"},"pageInfo":{"example":{"count":1,"page":0,"size":10,"totalCount":10},"properties":{"count":{"description":"Count of items returned in the current page","type":"integer"},"page":{"description":"Page Number","type":"integer"},"size":{"description":"Page Size","type":"integer"},"totalCount":{"description":"Total count of objects matching the filter criteria","type":"integer"}},"type":"object","$$ref":"#/definitions/PageInfo"}},"type":"object","title":"SensorListResponse"}}