{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/logicmonitor/main/json-schema/logicmonitor-diagnostics-source-schema.json", "title": "DiagnosticsSource", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/logicmonitor-diagnosticsources-api-openapi.yml#/components/schemas/DiagnosticsSource", "type": "object", "properties": { "accessGroups": { "description": "Access group Details in response", "type": "array", "items": { "$ref": "#/$defs/AccessGroup" } }, "groovyScript": { "description": "groovy script", "type": "string" }, "dataType": { "format": "int32", "description": "The data type of diagnostics source, default is 0. The values can be\n\n0: diagnostics source\n\n1: raw ERI\n\n ", "readOnly": true, "type": "integer" }, "description": { "description": "The description for the LMModule", "type": "string" }, "appliesTo": { "description": "The Applies To for the LMModule", "type": "string" }, "technology": { "description": "The Technical Notes for the LMModule", "type": "string" }, "source": { "description": "The diagnostics source", "readOnly": true, "type": "string" }, "lineageId": { "description": "The lineageId the LMModule belongs to", "readOnly": true, "type": "string" }, "tags": { "description": "The Tags for the LMModule", "type": "string" }, "installationMetadata": { "description": "The local module's IntegrationMetadata, readable for troubleshooting purposes", "readOnly": true, "$ref": "#/$defs/IntegrationMetadata" }, "originRegistryId": { "description": "The Registry ID of the Exchange Integration this module is based from, including this field will set this as the module's import base and mark the ID's version as audited", "type": "string" }, "scriptType": { "description": "script type: groovy | powershell", "type": "string" }, "checksum": { "description": "The metadata checksum for the LMModule content", "readOnly": true, "type": "string" }, "name": { "description": "The diagnostics source name", "readOnly": true, "type": "string" }, "id": { "format": "int32", "description": "The ID of the LMModule", "readOnly": true, "type": "integer" }, "accessGroupIds": { "uniqueItems": true, "description": "The Access Groups Id's", "type": "array", "items": { "format": "int32", "description": "The Access Groups Id's", "type": "integer" } }, "isInUse": { "description": "Whether the LM module is currently in use", "readOnly": true, "type": "boolean" }, "installationStatuses": { "description": "The diagnostics Installation status", "readOnly": true, "type": "array", "items": { "description": "The diagnostics Installation status", "readOnly": true, "type": "string", "enum": [ "NEW", "UPGRADED", "AUDITED", "OUTDATED", "INSTALLED", "CUSTOMIZED", "CONFLICT", "PARTIALLY_INSTALLED", "IS_INSTALLED", "IS_CUSTOMIZED", "CAN_INSTALL", "CAN_UPGRADE", "CAN_SKIP", "CAN_DOWNGRADE" ] } }, "group": { "description": "The group the LMModule is in", "type": "string" } }, "$defs": { "AccessGroup": { "description": "Module's access groups", "type": "object", "required": [ "name" ], "properties": { "createdBy": { "description": "User who created access group", "readOnly": true, "type": "string" }, "name": { "description": "The name of the access group", "type": "string" }, "tenantId": { "description": "Tenancy details", "type": "string" }, "description": { "description": "Description about access group", "type": "string" }, "id": { "format": "int32", "description": "The id of the access group", "readOnly": true, "type": "integer" }, "updatedOn": { "format": "int64", "description": "Time when access group updated", "readOnly": true, "type": "integer" }, "createdOn": { "format": "int64", "description": "Time when access group created", "readOnly": true, "type": "integer" } } }, "IntegrationMetadata": { "description": "The local module's IntegrationMetadata, readable for troubleshooting purposes", "readOnly": true, "type": "object", "properties": { "targetLastPublishedId": { "description": "Specifies the target last published Id", "readOnly": true, "type": "string" }, "targetLastPublishedChecksum": { "description": "The metadata checksum for the target last published LMModule content", "readOnly": true, "type": "string" }, "targetLastPublishedVersion": { "description": "Specifies the target last published version", "readOnly": true, "type": "string" }, "originChecksum": { "description": "The metadata checksum for the LMModule content", "readOnly": true, "type": "string" }, "originAuthorNamespace": { "description": "Specifies the origin Author companies namespace", "readOnly": true, "type": "string" }, "originLocator": { "description": "Specifies the origin version locator", "readOnly": true, "type": "string" }, "isChangedFromOrigin": { "description": "Specifies if the Applies To function is changed from origin or not", "readOnly": true, "type": "boolean" }, "auditedRegistryId": { "description": "Specifies the audited registry Id", "readOnly": true, "type": "string" }, "targetLineageId": { "description": "Specifies the target lineage Id", "readOnly": true, "type": "string" }, "logicModuleType": { "description": "The values can be DataSources | EventSources | PropertySources | ConfigSources | LogSources | TopologySources | Jobmonitors | AppliesTo Functions | SNMP SysOID Maps\nThe type of LogicModule", "readOnly": true, "type": "string", "enum": [ "DATASOURCE", "EVENTSOURCE", "CONFIGSOURCE", "PROPERTYSOURCE", "DIAGNOSTICSOURCE", "REMEDIATIONSOURCE", "TOPOLOGYSOURCE", "JOBMONITOR", "APPLIESTO_FUNCTION", "SNMP_SYSOID_MAP", "LOGSOURCE" ] }, "isChangedFromTargetLastPublished": { "description": "Specifies if the Applies To function is changed from target last published or not", "readOnly": true, "type": "boolean" }, "originLineageId": { "description": "The origin lineage Id of the LMmodule", "readOnly": true, "type": "string" }, "originAuthorCompanyUUID": { "description": "Specifies the origin Author companies unique Id", "readOnly": true, "type": "string" }, "localModuleId": { "format": "int32", "description": "The LocalModule Id", "readOnly": true, "type": "integer" }, "originRegistryId": { "description": "The Registry ID of the Exchange Integration this module is based from", "readOnly": true, "type": "string" }, "originVersion": { "description": "Specifies the origin version", "readOnly": true, "type": "string" }, "auditedVersion": { "description": "Specifies the audited registry version", "readOnly": true, "type": "string" }, "originName": { "description": "Specifies the origin module name", "readOnly": true, "type": "string" } } } } }