{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/main/json-schema/dynatrace-notification-list-dto-schema.json", "title": "NotificationListDto", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/dynatrace-notifications-api-openapi.yml#/components/schemas/NotificationListDto", "type": "object", "properties": { "records": { "description": "A list of notifications of the account.", "type": "array", "items": { "$ref": "#/$defs/NotificationDto" } }, "totalRecordCount": { "type": "number", "description": "The total number of notifications matching the filter." }, "hasNextPage": { "type": "boolean", "description": "If there are more notifications." } }, "required": [ "records", "totalRecordCount", "hasNextPage" ], "$defs": { "ByokEventDto": { "type": "object", "properties": { "environmentUuid": { "type": "string" }, "keyName": { "type": "string" } }, "required": [ "environmentUuid", "keyName" ] }, "NotificationDto": { "type": "object", "properties": { "key": { "type": "string" }, "accountUuid": { "type": "string" }, "message": { "type": "string" }, "severity": { "type": "string" }, "type": { "type": "string" }, "details": { "anyOf": [ { "$ref": "#/$defs/SubscriptionRelatedEventDataDto" }, { "$ref": "#/$defs/ByokEventDto" } ] }, "date": { "type": "string" } }, "required": [ "key", "accountUuid", "message", "severity", "type", "details", "date" ] }, "SubscriptionRelatedEventDataDto": { "type": "object", "properties": { "environments": { "type": "array", "items": { "type": "string" } }, "capabilities": { "type": "array", "items": { "type": "string" } }, "allEnvironments": { "type": "boolean" }, "allCapabilities": { "type": "boolean" } }, "required": [ "environments", "capabilities", "allEnvironments", "allCapabilities" ] } } }