Example in the context of the grammar | M | Health data model in JSON format Bloque de código |
---|
| {
"che": [
{
"id": "",
"name": "",
"health": [
{
"id": "",
"name": "",
"number": 0,
"type": "",
"family": "",
"brand": "",
"model": "",
"source": "",
"softwareid": "",
"location": "",
"healthy": {
"status": [
{
"value": false,
"type": "operational/safety/component",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.108Z"
},
{
"value": false,
"type": "operational/safety/component",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-11-18T09:54:08.108Z",
"computingtime": "2021-11-18T09:54:08.108Z",
"forecasttime": "2021-11-18T09:54:08.108Z"
}
],
"level": [
{
"value": "",
"type": "operational/safety/component",
"unit": "percentage",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.108Z"
},
{
"value": "",
"type": "operational/safety/component",
"unit": "conflicts/errors/points/collisions",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.108Z"
},
{
"value": "",
"type": "operational/safety/component",
"unit": "percentage",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-11-18T09:54:08.108Z",
"computingtime": "2021-11-18T09:54:08.108Z",
"forecasttime": "2021-11-18T09:54:08.108Z"
}
]
},
"error": {
"errormessage \"events; metadata;\"": [
{
"timestamp": "2021-11-18T09:54:08.108Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"description": ""
}
]
},
"fault": {
"status": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "fault/warning/recomendation?????",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.108Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"duration": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-18T09:54:08.109Z",
"value": 0,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"counter": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.109Z",
"value": 0,
"starttimestamp": "2021-11-18T09:54:08.109Z",
"endtimestamp": "2021-11-18T09:54:08.109Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"totalcounter": [
{
"code": "",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.109Z",
"value": 0,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"timer": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-18T09:54:08.109Z",
"value": 0,
"starttimestamp": "2021-11-18T09:54:08.109Z",
"endtimestamp": "2021-11-18T09:54:08.109Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"totaltimer": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"unit": "hour",
"timestamp": "2021-11-18T09:54:08.109Z",
"value": 0,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
]
},
"warning": {
"status": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.109Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"duration": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-18T09:54:08.110Z",
"value": 0,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"counter": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.110Z",
"value": 0,
"starttimestamp": "2021-11-18T09:54:08.110Z",
"endtimestamp": "2021-11-18T09:54:08.110Z",
"mcode": "",
"name": "",
"severity": ""
}
],
"totalcounter": [
{
"code": "",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.110Z",
"value": 0,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"timer": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-18T09:54:08.110Z",
"value": 0,
"starttimestamp": "2021-11-18T09:54:08.110Z",
"endtimestamp": "2021-11-18T09:54:08.110Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"totaltimer": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"unit": "hour",
"timestamp": "2021-11-18T09:54:08.110Z",
"value": 0,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
]
},
"fault_or_error_or_warning": {
"status": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.110Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"duration": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-18T09:54:08.110Z",
"value": 0,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"counter": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.111Z",
"value": 0,
"starttimestamp": "2021-11-18T09:54:08.114Z",
"endtimestamp": "2021-11-18T09:54:08.114Z",
"mcode": "",
"name": "",
"severity": ""
}
],
"totalcounter": [
{
"code": "",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-18T09:54:08.114Z",
"value": 0,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"timer": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-18T09:54:08.114Z",
"value": 0,
"starttimestamp": "2021-11-18T09:54:08.114Z",
"endtimestamp": "2021-11-18T09:54:08.114Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
],
"totaltimer": [
{
"code": "",
"pom": "output",
"pomt": "actual",
"unit": "hour",
"timestamp": "2021-11-18T09:54:08.114Z",
"value": 0,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"severity": ""
}
]
}
}
]
}
]
} |
Healty example with a che powersource coolant control sensor problem in Json format. Bloque de código |
---|
| {
"che": [
{
"id": "",
"name": "",
"health": [
{
"id": "",
"name": "",
"number": 0,
"type": "",
"family": "",
"brand": "",
"model": "",
"source": "",
"softwareid": "",
"location": "",
"healthy": {
"status": [
{
"value": false,
"type": "operational",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.891Z"
},
{
"value": false,
"type": "component",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-11-19T16:06:54.891Z",
"computingtime": "2021-11-19T16:06:54.891Z",
"forecasttime": "324",
"forecasttimeunit": "second"
}
],
"level": [
{
"value": "20",
"type": "component",
"unit": "percentage",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.891Z"
},
{
"value": "3654",
"type": "operational",
"unit": "errors",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.891Z"
},
{
"value": "5",
"type": "component",
"unit": "percentage",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-11-19T16:06:54.891Z",
"computingtime": "2021-11-19T16:06:54.891Z",
"forecasttime": "324",
"forecasttimeunit": "second"
}
]
},
"fault": {
"event": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.892Z",
"unit": "boolean",
"oldvalue": false,
"newvalue": true,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"status": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": true,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"duration": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.sensor",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 1,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"counter": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 32,
"starttimestamp": "2021-11-19T16:05:54.892Z",
"endtimestamp": "2021-11-19T16:06:54.892Z",
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"totalcounter": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 347,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"timer": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 63,
"starttimestamp": "2021-11-19T16:05:54.892Z",
"endtimestamp": "2021-11-19T16:06:54.892Z",
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
],
"totaltimer": [
{
"tic40codeid": "1.1.2.4.3",
"tic40codename": "che.powersource.coolant.control.sensor",
"pom": "output",
"pomt": "actual",
"unit": "hour",
"timestamp": "2021-11-19T16:06:54.892Z",
"value": 4.32,
"mcode": "E",
"spncode": 110,
"fmicode": 3,
"severity": {},
"description": {},
"reaction": {}
}
]
}
}
]
}
]
} |
| |