{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/logicmonitor/main/json-schema/logicmonitor-ops-note-schema.json", "title": "OpsNote", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/logicmonitor-ops-notes-api-openapi.yml#/components/schemas/OpsNote", "type": "object", "required": [ "note" ], "properties": { "note": { "description": "The note message", "type": "string" }, "createdBy": { "description": "The user that created the Ops Note", "readOnly": true, "type": "string" }, "scopes": { "description": "The scopes associated with the note. Each scope has a type of device, service, deviceGroup or serviceGroup. A note with no scope will show up for everything in the account", "type": "array", "items": { "$ref": "#/$defs/OpsNoteScope" } }, "id": { "description": "The id associated with the Ops Note", "readOnly": true, "type": "string" }, "happenOnInSec": { "format": "int64", "description": "The date and time associated with the note, in epoch seconds format", "type": "integer" }, "tags": { "description": "The tags that should be associated with the note. Each tag has a unique id and a name - you can either include the name of a new or existing tag, or the id of an existing tag", "type": "array", "items": { "$ref": "#/$defs/OpsNoteTagBase" } } }, "$defs": { "OpsNoteScope": { "type": "object", "required": [ "type" ], "properties": { "type": { "type": "string" } } }, "OpsNoteTagBase": { "type": "object", "required": [ "name" ], "properties": { "updateOnInSec": { "format": "int64", "readOnly": true, "type": "integer" }, "createdOnInSec": { "format": "int64", "readOnly": true, "type": "integer" }, "name": { "description": "release", "type": "string" }, "id": { "readOnly": true, "type": "string" } } } } }