{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/lynx/main/json-schema/lynx-patch-member-notification-status-request-schema.json", "title": "PatchMemberNotificationStatusRequest", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/lynx-external-notification-api-openapi.yml#/components/schemas/PatchMemberNotificationStatusRequest", "type": "object", "properties": { "data": { "$ref": "#/$defs/PatchMemberNotificationsData" }, "idempotency": { "$ref": "#/$defs/Idempotency", "description": "Unique identifier that represents the operation" } }, "required": [ "data", "idempotency" ], "$defs": { "BaseMember": { "type": "object", "properties": { "clientMemberId": { "type": "string", "description": "Unique client-side identifier for the member" } }, "required": [ "clientMemberId" ] }, "ClientOrgDto": { "type": "object", "properties": { "name": { "type": "string", "description": "The name of the client organization" } }, "required": [ "name" ] }, "Idempotency": { "type": "object", "properties": { "idempotencyKey": { "type": "string", "description": "Unique identifier that represents the operation" } } }, "NotificationData": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique id for the notification." }, "status": { "type": "string", "description": "If set to Unread the response will return only unread notifications, if set to read will return only read notifications, if left null will return all notifications" } }, "required": [ "id", "status" ] }, "PatchMemberNotificationsData": { "type": "object", "properties": { "clientOrg": { "$ref": "#/$defs/ClientOrgDto" }, "member": { "$ref": "#/$defs/BaseMember" }, "notification": { "$ref": "#/$defs/NotificationData" } }, "required": [ "clientOrg", "member", "notification" ] } } }