ГОСТ Р ИСО/МЭК 19831—2017
’resName’:string ?
’resource’ : { "href1: string}, ?
’resType": string ?
’code’: string.
’detail” : string ?
}
}
Сериализация XML:
<Event xmlns="
http://schemas.dmtf.org/cimi/1"
>
<type>
http://schemas.dmtf.Org/dmi/1/event/alarm
</type>
<content>
«resname»xs:sfmg«/resname> ?
«resource href="xs:anyl//?/7> ?
<restypo»xs.anyL//?/«/restype» ?
«code»xs:s/rmg«/code»
«detail»xs:sfring«/detail> ?
</content> ?
</Event>
Событие "model":
Сериализация JSON:
{ "id": string.
’type’: ’
http://schemas.dmtf.Org/dmi/1
/event/model”.
’content": {
’resName’: string. ?
’resource’: { ’href : string}. ?
’resType": string. ?
’change’ ; string.
’detail". string ?
}
)
Сериализация XML:
«Event xmlns="http://schemas.dmtf.org/cimi/1 ">
<type>
http://schemas.dmtf.Org/dmi/1/event/model
</type>
«content»
«resname>xs:s/r/ng«/resname> ?
«resource href="xs:anyt/R/7> ?
<restype> xs:anyURI «/restype» ?
«change» xs:string «/change»
«detail» xs:string «/detail» ?
«/content» ?
«/Event»
Событие "access":
Сериализация JSON:
{ "id": string.
’type*:
’http://schemas.dmtf.org/dmi/1/event/access’
,
’content": {
’operation’: string.
’resource’ : { "href : string}.
164