Example in the context of the grammar | M | Health data model in JSON format Image Added 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-30T09:21:29.488Z"
},
{
"value": false,
"type": "operational/safety/component",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-11-30T09:21:29.488Z",
"computingtime": "2021-11-30T09:21:29.488Z",
"forecasttime": "2021-11-30T09:21:29.488Z"
}
],
"level": [
{
"value": "",
"type": "operational/safety/component",
"unit": "percentage",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-30T09:21:29.488Z"
},
{
"value": "",
"type": "operational/safety/component",
"unit": "conflicts/errors/points/collisions",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-11-30T09:21:29.488Z"
},
{
"value": "",
"type": "operational/safety/component",
"unit": "percentage",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-11-30T09:21:29.488Z",
"computingtime": "2021-11-30T09:21:29.488Z",
"forecasttime": "2021-11-30T09:21:29.488Z"
}
]
},
"error": {
"errormessage \"events; metadata;\"": [
{
"timestamp": "2021-11-30T09:21:29.488Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"name": "",
"description": ""
}
]
},
"interlock": {
"status": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-30T09:21:29.488Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"duration": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-30T09:21:29.488Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"counter": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-30T09:21:29.488Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"totalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-30T09:21:29.488Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"timer": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-30T09:21:29.488Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": "",
"reaction": ""
}
],
"totaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-11-30T09:21:29.488Z",
"value":false,mcode
spncode
fmicode"" "description
reactionfamily": "",
"brand": "",
| } ] }fault{ status[ tic40codeid"", "tic40codename": "",faultwarning/recomendation?????safety/component",
"pom": "output",
"pomt": "actual",
"timestamp": "2021- | 1130T092129488Z713Z",
"value": false,
"oldvalue": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | durationtic40codeid""tic40codenametype": "operational/safety/component",
" | typefault/warning/recomendation?????pomoutputpomtactual",2021-12-17T11:44:53.713Z"
},
| "timestamp": "2021-11-30T09:21:29.488Z",mcode""operational/safety/component",
" | spncodefmicodeseveritytimestamp": "2021-12-17T11:44:53.713Z",
" | descriptioncomputingtime": "2021-12-17T11:44:53.713Z",
" | reactionforecasttime": "2021-12-17T11:44:53.713Z"
}
],
" | countertic40codeidtic40codenametype": "operational/safety/component",
" | typefault/warning/recomendation?????percentage",
"pom": "output",
"pomt": "actual",
"timestamp": "2021- | 1130T092129488Z","value": false,mcodespncodetype": "operational/safety/component",
" | fmicode " "conflicts/errors/points/collisions",
" | severitydescriptionreactiontimestamp": "2021-12-17T11:44:53.713Z"
},
| ],"totalcounter":[ {tic40codeidtype": "operational/safety/component",
" | tic40codenametypefault/warning/recomendation?????pomoutputpomtactual2021-12-17T11:44:53.713Z",
" | timestamp1130T092129489Z"value": false,"forecasttime": "2021-12-17T11:44:53.713Z"
}
| "mcode":"",spncode"","fmicode":"", severitydescriptionreaction} ], timer[
{ tic40codeidtimestamp": "2021-12-17T11:44:53.713Z",
" | tic40codename,"type":"fault/warning/recomendation?????", pom"output","pomt":"actual",
timestamp2021-11-30T09:21:29.489Zvaluefalsemcodespncodefmicodetimestamp": "2021-12-17T11:44:53.713Z",
" | severitydescriptionstarttimestamp": "2021-12-17T11:44:53.713Z",
" | reactionendtimestamp": "2021-12-17T11:44:53.713Z"
}
],
" | totaltimertotalcounter": [
{
"tic40codeid": "",
"tic40codename": | ",
"type": "fault/warning/recomendation?????",
"pom": "output",
"pomt": "actual",
"timestamp": "2021- | 1130T092129489Z false,"mcode":"",spncode"", "fmicode": "",severitydescriptionreaction}] }"warning": {
status[
{"2021-12-17T11:44:53.713Z",
" | tic40codeidtic40codenamestarttimestamp": "2021-12-17T11:44:53.713Z",
" | typefault/warning/recomendation?????",2021-12-17T11:44:53.713Z"
| "pom": "output", "pomt": "actual",
timestamp"2021-11-30T09:21:29.489Z","value":false, mcodespncodefmicodeseveritydescriptionreaction "" "2021-12-17T11:44:53.713Z",
| }],"duration":[{ "tic40codeid"",
tic40codename"", "type": "fault/warning/recomendation?????",pomoutput2021-12-17T11:44:53.713Z",
" | pomtactualtimestamp2021-11-30T09:21:29.489Zvaluefalsemcodespncodefmicodeseverity,
"description":"","reaction":"" ],counterevent": [
{
"tic40codeid": "",
"tic40codename": "",
" | typefault/warning/recomendation?????pomoutputpomtactual2021-12-17T11:44:53.713Z",
" | timestamp"2021-11-30T09:21:29.489Z"valueoldvalue": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | totalcounterstatus": [
{
"tic40codeid": "",
"tic40codename": "",
" | type": "fault/warning/recomendation?????",
"pom": "output",
"pomt": "actual",
"timestamp": "2021- | 1130T092129489Z713Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | timerduration": [
{
"tic40codeid": "",
"tic40codename": "", |
"type":fault/warning/recomendation?????",
"pom": "output",
"pomt": "actual",
"timestamp": "2021- | 1130T092129489Zfalse"",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | totaltimercounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
" | typefault/warning/recomendation?????pomoutput2021-12-17T11:44:53.714Z",
" | pomtactualtimestamp1130T092129489Zvaluefalse"2021-12-17T11:44:53.714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
] |
}"fault_or_error_or_warning": {
statustotalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
" | typefault/warning/recomendation?????pomoutputpomtactual2021-12-17T11:44:53.714Z",
" | timestamp2021-11-30T09:21:29.489Zvaluefalsemcodespncodefmicodeseveritydescription,"reaction":""}],"duration":[ {tic40codeidtic40codenametypefault/warning/recomendation?????pomoutput2021-12-17T11:44:53.714Z",
" | pomtactualtimestamp1130T092129489Zvaluefalse"2021-12-17T11:44:53.714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | countertotaltimer": [
{
"tic40codeid": "",
"tic40codename" | : "",
"type": "fault/warning/recomendation?????: "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021- | 1130T092129489Zfalse"",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
] | ,"totalcounter":[{"tic40codeid": "",tic40codenametypefault/warning/recomendation?????",
"pom": "output",
"pomt": "actual",
"timestamp": "2021- | 1130T092129489Zmcode""spncodefmicodeseveritydescriptionreaction}],"timer":[{"tic40codeid": "",tic40codenametypefault/warning/recomendation?????",
"pom": "output",
"pomt": "actual",
"timestamp": "2021- | 1130T092129489Z714Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | totaltimerduration": [
{
"tic40codeid": "",
"tic40codename": "",
" | typefault/warning/recomendation?????pomoutputpomtactual2021-12-17T11:44:53.714Z",
" | timestamp"2021-11-30T09:21:29.489Z "mcode": "",
"spncode": "",
" | valuefalsemcodespncodefmicode,"severity":"",description"","reaction":"" }]}}]}]}Healty example with a che powersource coolant control sensor problem in Json format. Bloque de código |
---|
|