@itentialopensource/adapter-sevone_v2
Version:
This adapter integrates with system described as: SevOne v2 api.
858 lines • 15.7 kB
JSON
{
"name": "string",
"resources": [
{
"group": {
"id": 4,
"indicatorTypes": {
"ids": {},
"objectTypeId": {},
"pluginId": {}
},
"type": "ObjectGroup"
},
"indicators": [
{
"deviceId": 6,
"ids": [
4,
3,
8,
6
],
"objectId": 3,
"pluginId": 1
},
{
"deviceId": 8,
"ids": [
9,
8,
8
],
"objectId": 5,
"pluginId": 3
},
{
"deviceId": 1,
"ids": [
8,
10,
10,
1
],
"objectId": 6,
"pluginId": 9
},
{
"deviceId": 9,
"ids": [
5,
1,
1,
1,
7,
3,
2
],
"objectId": 5,
"pluginId": 5
},
{
"deviceId": 5,
"ids": [
9,
5,
4
],
"objectId": 9,
"pluginId": 9
},
{
"deviceId": 3,
"ids": [
7,
10
],
"objectId": 8,
"pluginId": 10
},
{
"deviceId": 1,
"ids": [
5,
10
],
"objectId": 3,
"pluginId": 1
},
{
"deviceId": 9,
"ids": [
8
],
"objectId": 7,
"pluginId": 2
},
{
"deviceId": 2,
"ids": [
10,
8,
7,
6,
2,
4,
4,
8,
6,
7
],
"objectId": 10,
"pluginId": 3
},
{
"deviceId": 1,
"ids": [
3,
8,
4,
2,
9,
3,
8,
5
],
"objectId": 1,
"pluginId": 10
}
]
},
{
"group": {
"id": 2,
"indicatorTypes": {
"ids": {},
"objectTypeId": {},
"pluginId": {}
},
"type": "ObjectGroup"
},
"indicators": [
{
"deviceId": 3,
"ids": [
2,
3,
2,
2,
10,
6
],
"objectId": 5,
"pluginId": 1
},
{
"deviceId": 9,
"ids": [
1,
3,
3,
1,
3,
4,
7,
4,
3
],
"objectId": 9,
"pluginId": 10
},
{
"deviceId": 5,
"ids": [
7,
2,
2,
9,
8
],
"objectId": 10,
"pluginId": 7
},
{
"deviceId": 9,
"ids": [
4,
9,
1,
6,
4,
4
],
"objectId": 4,
"pluginId": 9
}
]
},
{
"group": {
"id": 9,
"indicatorTypes": {
"ids": {},
"objectTypeId": {},
"pluginId": {}
},
"type": "DeviceGroup"
},
"indicators": [
{
"deviceId": 4,
"ids": [
2,
9,
4,
3,
3
],
"objectId": 1,
"pluginId": 9
},
{
"deviceId": 2,
"ids": [
2,
10,
10,
10
],
"objectId": 10,
"pluginId": 3
},
{
"deviceId": 6,
"ids": [
6,
5,
6,
3,
9,
5,
10,
4
],
"objectId": 3,
"pluginId": 8
}
]
},
{
"group": {
"id": 9,
"indicatorTypes": {
"ids": {},
"objectTypeId": {},
"pluginId": {}
},
"type": "ObjectGroup"
},
"indicators": [
{
"deviceId": 3,
"ids": [
7
],
"objectId": 5,
"pluginId": 6
},
{
"deviceId": 4,
"ids": [
10,
8,
2,
8
],
"objectId": 3,
"pluginId": 8
},
{
"deviceId": 4,
"ids": [
4,
10,
1,
3,
3,
5,
5,
4,
3
],
"objectId": 5,
"pluginId": 3
},
{
"deviceId": 4,
"ids": [
7,
1,
3,
10,
4
],
"objectId": 4,
"pluginId": 1
}
]
},
{
"group": {
"id": 1,
"indicatorTypes": {
"ids": {},
"objectTypeId": {},
"pluginId": {}
},
"type": "ObjectGroup"
},
"indicators": [
{
"deviceId": 5,
"ids": [
10,
5,
5
],
"objectId": 3,
"pluginId": 2
},
{
"deviceId": 3,
"ids": [
5,
9,
2,
9,
9,
2,
3,
10,
7
],
"objectId": 10,
"pluginId": 2
},
{
"deviceId": 1,
"ids": [
10
],
"objectId": 1,
"pluginId": 6
}
]
},
{
"group": {
"id": 7,
"indicatorTypes": {
"ids": {},
"objectTypeId": {},
"pluginId": {}
},
"type": "DeviceGroup"
},
"indicators": [
{
"deviceId": 3,
"ids": [
5,
6,
2,
9,
7,
4
],
"objectId": 3,
"pluginId": 1
},
{
"deviceId": 2,
"ids": [
2,
3,
2,
10,
3,
6,
8,
9,
2
],
"objectId": 7,
"pluginId": 2
},
{
"deviceId": 2,
"ids": [
7,
7,
10,
9,
3,
3,
6,
8,
7,
5
],
"objectId": 4,
"pluginId": 5
},
{
"deviceId": 3,
"ids": [
1
],
"objectId": 10,
"pluginId": 9
}
]
},
{
"group": {
"id": 3,
"indicatorTypes": {
"ids": {},
"objectTypeId": {},
"pluginId": {}
},
"type": "ObjectGroup"
},
"indicators": [
{
"deviceId": 5,
"ids": [
3,
4,
7,
10
],
"objectId": 7,
"pluginId": 1
},
{
"deviceId": 3,
"ids": [
5,
3,
10,
4,
3,
3,
2,
4
],
"objectId": 1,
"pluginId": 2
},
{
"deviceId": 9,
"ids": [
4
],
"objectId": 8,
"pluginId": 7
},
{
"deviceId": 5,
"ids": [
9,
2
],
"objectId": 7,
"pluginId": 1
},
{
"deviceId": 2,
"ids": [
7,
1,
3
],
"objectId": 4,
"pluginId": 1
},
{
"deviceId": 10,
"ids": [
6,
5,
5,
5,
1,
10,
6,
6,
10
],
"objectId": 10,
"pluginId": 1
},
{
"deviceId": 1,
"ids": [
10,
10
],
"objectId": 8,
"pluginId": 5
},
{
"deviceId": 5,
"ids": [
2,
4
],
"objectId": 1,
"pluginId": 3
},
{
"deviceId": 7,
"ids": [
7,
9,
5,
3,
5,
6,
5,
8,
4,
7
],
"objectId": 4,
"pluginId": 4
},
{
"deviceId": 1,
"ids": [
4,
3,
4,
7,
10
],
"objectId": 4,
"pluginId": 3
}
]
},
{
"group": {
"id": 2,
"indicatorTypes": {
"ids": {},
"objectTypeId": {},
"pluginId": {}
},
"type": "DeviceGroup"
},
"indicators": [
{
"deviceId": 2,
"ids": [
10,
8
],
"objectId": 2,
"pluginId": 10
},
{
"deviceId": 5,
"ids": [
4
],
"objectId": 4,
"pluginId": 8
}
]
}
],
"settings": {
"rawData": {
"csv": {
"expandTimeseries": true,
"formatTimestamp": true
},
"dataAggregation": {
"aggregationType": {},
"aggregationUnits": {},
"aggregationValue": 10,
"useAggregation": false
},
"rawData": {
"fitTimeSpanTo": {},
"percentiles": 5,
"projectionTime": 10,
"reduceData": true,
"standardDeviation": 5,
"timeOverTimeOnly": false,
"timeOverTimeType": {},
"timeOverTimeUnits": {},
"timeOverTimeValue": 2,
"trend": {},
"trendType": {},
"useBaseline": false,
"usePercentiles": false,
"useTimeOverTime": true
},
"units": {
"percentage": false,
"preferredUnits": "bits"
},
"workHours": {
"customWorkhours": [
{},
{},
{},
{},
{},
{},
{},
{}
],
"type": {},
"workHoursGroupId": 6
}
},
"sourceFields": {
"fields": [
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string"
],
"sort": [
[
"string",
"string",
"string",
"string",
"string",
"string"
],
[
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string"
],
[
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string"
],
[
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string"
],
[
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string"
],
[
"string",
"string",
"string",
"string",
"string"
],
[
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string"
]
]
}
},
"time": {
"ranges": {
"end": "string",
"options": {},
"start": "string",
"type": "SpecificInterval"
},
"timezone": "string"
},
"visualization": {
"bar": {
"drawGraphOutline": true,
"prettyXAxis": false,
"prettyYAxis": true,
"scaleToMinimumValue": false,
"scaled": true,
"showAggregation": false,
"showAverage": true,
"showFrequency": true,
"showLast": true,
"showLegend": true,
"showPeak": false,
"showTimespan": false,
"showTitle": true,
"showValley": false
},
"csv": {
"csvSetting": {
"expandTimeseries": true,
"formatTimestamp": true
}
},
"line": {
"drawGraphOutline": false,
"dualYAxes": true,
"logScale": false,
"prettyXAxis": false,
"prettyYAxis": false,
"scaleToMinimumValue": false,
"scaled": false,
"showAggregation": true,
"showAverage": true,
"showFrequency": true,
"showLast": false,
"showLegend": true,
"showPeak": true,
"showTimespan": false,
"showTitle": false,
"showValley": true
},
"pie": {
"showAggregation": true,
"showAverage": true,
"showFrequency": true,
"showLast": true,
"showLegend": false,
"showPeak": false,
"showTimespan": false,
"showTitle": true,
"showValley": true
},
"radial": {
"drawGraphOutline": false,
"scaled": true,
"showAggregation": false,
"showAverage": false,
"showFrequency": true,
"showLast": false,
"showLegend": false,
"showPeak": true,
"showTimespan": true,
"showTitle": true,
"showValley": true
},
"stackedBar": {
"drawGraphOutline": false,
"prettyXAxis": false,
"prettyYAxis": true,
"scaled": false,
"showAggregation": false,
"showAverage": true,
"showFrequency": false,
"showLast": false,
"showLegend": true,
"showPeak": true,
"showTimespan": false,
"showTitle": true,
"showValley": false
},
"stackedLine": {
"drawGraphOutline": true,
"prettyXAxis": false,
"prettyYAxis": false,
"scaleToMinimumValue": false,
"scaled": false,
"sendGraphCSV": true,
"showAggregation": false,
"showAverage": true,
"showFrequency": false,
"showLast": true,
"showLegend": true,
"showPeak": false,
"showTimespan": true,
"showTitle": true,
"showValley": false
},
"table": {
"column": {
"exclude": [
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string"
],
"include": [
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string",
"string"
]
},
"dataPresentation": {
"formatNumbers": true,
"precision": 10
},
"table": {
"blockVis": false,
"hideHeaders": true,
"wrapCells": true
}
}
}
}