Skip to content

Commit

Permalink
FIX: Messages example
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudocubic committed Feb 27, 2025
1 parent c36b434 commit aee944f
Showing 1 changed file with 49 additions and 33 deletions.
82 changes: 49 additions & 33 deletions examples/schema/Messages.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,52 @@
[
{
"IdentifiedObject.mRID": "3334c3ff-ae98-4ee8-b27e-d1ca3990f47a",
"IdentifiedObject.name": "Example Error Message",
"Ravens.cimObjectType": "Error",
"Message.message": "I am broken",
"Message.code": 110,
"Message.Application": { "Application.applicationName": "SomeApplication" },
"Message.Algorithm": { "Algorithm.algorithmName": "SomeFunction" }
},
{
"Message": [
{
"IdentifiedObject.mRID": "3334c3ff-ae98-4ee8-b27e-d1ca3990f47a",
"IdentifiedObject.name": "Example Error Message",
"Ravens.cimObjectType": "Error",
"Message.message": "I am broken",
"Message.code": 110,
"Message.Application": "Application::'SomeApplication'",
"Message.Algorithm": "Algorithm::'SomeFunction'"
},

{
"IdentifiedObject.mRID": "1ad65f38-f144-4afc-a9e5-7265dfe5e268",
"IdentifiedObject.name": "Example Warning Message",
"Ravens.cimObjectType": "Warning",
"Message.message": "Be warned, there be monsters ahead",
"Message.Application": { "Application.applicationName": "SomeApplication" },
"Message.Algorithm": { "Algorithm.algorithmName": "SomeFunction" }
},
{
"IdentifiedObject.mRID": "e9502612-7fdf-4e9c-9b2e-85c484476583",
"IdentifiedObject.name": "Example Info Message",
"Ravens.cimObjectType": "Info",
"Message.message": "FYI, this is how we do it",
"Message.Application": { "Application.applicationName": "SomeApplication" },
"Message.Algorithm": { "Algorithm.algorithmName": "SomeFunction" }
{
"IdentifiedObject.mRID": "1ad65f38-f144-4afc-a9e5-7265dfe5e268",
"IdentifiedObject.name": "Example Warning Message",
"Ravens.cimObjectType": "Warning",
"Message.message": "Be warned, there be monsters ahead",
"Message.Application": "Application::'SomeApplication'",
"Message.Algorithm": "Algorithm::'SomeFunction'"
},
{
"IdentifiedObject.mRID": "e9502612-7fdf-4e9c-9b2e-85c484476583",
"IdentifiedObject.name": "Example Info Message",
"Ravens.cimObjectType": "Info",
"Message.message": "FYI, this is how we do it",
"Message.Application": "Application::'SomeApplication'",
"Message.Algorithm": "Algorithm::'SomeFunction'"
},
{
"IdentifiedObject.mRID": "9a61b730-105f-4292-b813-c6532ae65bb6",
"IdentifiedObject.name": "Example Debug Message",
"Ravens.cimObjectType": "Debug",
"Message.message": "1... 2... 3...",
"Message.Application": "Application::'SomeApplication'",
"Message.Algorithm": "Algorithm::'SomeFunction'"
}
],
"Application": {
"SomeApplication": {
"IdentifiedObject.name": "SomeApplication",
"IdentifiedObject.mRID": "adf7df12-46db-45aa-9ddd-69e6ac820807",
"Ravens.cimObjectType": "Application"
}
},
{
"IdentifiedObject.mRID": "9a61b730-105f-4292-b813-c6532ae65bb6",
"IdentifiedObject.name": "Example Debug Message",
"Ravens.cimObjectType": "Debug",
"Message.message": "1... 2... 3...",
"Message.Application": { "Application.applicationName": "SomeApplication" },
"Message.Algorithm": { "Algorithm.algorithmName": "SomeFunction" }
"Algorithm": {
"SomeFunction": {
"IdentifiedObject.name": "SomeFunction",
"IdentifiedObject.mRID": "0ef5f6d2-dcac-48ee-be40-ac7492d9d121",
"Ravens.cimObjectType": "Algorithm"
}
}
]
}

0 comments on commit aee944f

Please sign in to comment.