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": {
" | statusvalue": false,
"type": "operational/safety/component",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715063Z },{value false,
type: "operational/safety/component"pomioutputpomtestimatedtimestamp2021-12-13T08:47:15.063Zcomputingtime2021-12-13T08:47:15.063Zforecasttime2021-12-13T08:47:15.063Zlevel""false,
"type": "operational/safety/component",
" | unitpercentagepomoutputpomtactual",2021-12-17T11:44:53.713Z"
},
| "timestamp":"2021-12-13T08:47:15.063Z"}, {valuetype": "operational/safety/component",
" | typeoperational/safety/componentunitconflicts/errors/points/collisionspomoutput2021-12-17T11:44:53.713Z",
" | pomtactual2021-12-17T11:44:53.713Z",
" | timestamp13T084715063Z,{"value {
"value": "",
"type": "operational/safety/component",
"unit": "percentage",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-17T11:44:53.713Z"
},
{
"value": "",
"type": "operational/safety/component",
"unit": "conflicts/errors/points/collisions",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-17T11:44:53.713Z"
},
{
"value": "",
"type": "operational/safety/component",
"unit": "percentage",
"pom": "ioutput",
"pomt": "estimated",
"timestamp": "2021-12-17T11:44:53.713Z",
"computingtime": "2021-12-17T11:44:53.713Z",
"forecasttime": "2021-12-17T11:44:53.713Z"
}
],
"duration": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": ""
}
],
"counter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": "",
"starttimestamp": "2021-12-17T11:44:53.713Z",
"endtimestamp": "2021-12-17T11:44:53.713Z"
}
],
"totalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": ""
}
],
"timer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": "",
"starttimestamp": "2021-12-17T11:44:53.713Z",
"endtimestamp": "2021-12-17T11:44:53.713Z"
}
],
"totaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"unit": "second",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": ""
}
]
},
"error": {
"errormessage": [
{
"timestamp": "2021-12-17T11:44:53.713Z",
"value": "",
"description": "",
"expectedvalue": "",
"actualvalue": "",
"tic40codeid": "",
"tic40codename": "",
"mcode": ""
}
]
},
"warning": {
"event": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": false,
"oldvalue": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"status": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12-17T11:44:53.713Z",
"value": false,
"mcode": "",
" | typeoperational/safety/componentunitpercentagepomioutputpomtestimatedtimestamp2021-12-13T08:47:15.063Z","computingtime":"2021-12-13T08:47:15.063Z",forecasttime"2021-12-13T08:47:15.063Z"}]},error{errormessage[ {nametimestamp": "2021-12-17T11:44:53.714Z",
" | timestamp2021-12-13T08:47:15.063Zvaluedescriptionexpectedvaluemcodetic40codeidtic40codename},"warning":status[ {tic40codeidtic40codenamepomoutput2021-12-17T11:44:53.714Z",
" | pomtactualtimestampstarttimestamp": "2021-12- | 13T084715063Zvaluefalse"2021-12-17T11:44:53.714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | durationtotalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715063Z714Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | countertimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom | ": "output": "output",
"pomt": "actual",
"timestamp": "2021-12-17T11:44:53.714Z",
" | pomtactualtimestampstarttimestamp": "2021-12- | 13T084715063Zvalueendtimestamp": "2021-12-17T11:44:53.714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | totalcountertotaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715063Z714Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
]
},
"fault": {
" | timerevent": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715063Z714Z",
"value": false,
"oldvalue": | ""false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | totaltimerstatus": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715063Z""false,
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
] |
}
"fault":{ statusduration": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715063Zfalse"",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | durationcounter": [
{
"tic40codeid": "",
| {tic40codeidtic40codenamepomoutput2021-12-17T11:44:53.714Z",
" | pomtactualtimestampstarttimestamp": "2021-12- | 13T084715063Zvalueendtimestamp": "2021-12-17T11:44:53.714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | countertotalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715063Z714Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
"timer": [
| }],totalcounter:[ {tic40codeidtic40codenamepomoutput2021-12-17T11:44:53.714Z",
" | pomtactualtimestampstarttimestamp": "2021-12- | 13T084715063Zvalueendtimestamp": "2021-12-17T11:44:53.714Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
"description": "",
"reaction": ""
}
],
" | timertotaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715063Z714Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"severity": "",
" | severitydescription,"reaction":""], totaltimerevent": [
{
"tic40codeid": "",
"tic40codename": "",
"pom": "output",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715064Z""mcode""spncodefmicodeseverityfmicode": "",
"description": "" | , "reaction": ""
}
]
,"interlock": { ],
"status": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe | /mechanical/logical",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715064Z715Z",
"value": false,
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"duration": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715064Z715Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"counter": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T08:47:15.064Z17T11:44:53.715Z",
"value": "",
"starttimestamp": "2021-12-17T11:44:53.715Z",
" | value": "endtimestamp": "2021-12-17T11:44:53.715Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"totalcounter": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715064Z715Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"timer": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715064Z715Z",
"value": "",
"starttimestamp": "2021-12-17T11:44:53.715Z",
"endtimestamp": "2021-12-17T11:44:53.715Z",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
],
"totaltimer": [
{
"tic40codeid": "",
"tic40codename": "",
"type": "safe/nonsafe",
"pom": "ioutput",
"pomt": "actual",
"timestamp": "2021-12- | 13T084715064Z715Z",
"value": "",
"mcode": "",
"spncode": "",
"fmicode": "",
"description": ""
}
]
}
}
]
}
]
} |
| |