{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/RetentionEvent", "title": "RetentionEvent", "type": "object", "description": "A retention event that triggers event-based retention", "properties": { "id": { "type": "string", "readOnly": true }, "displayName": { "type": "string" }, "description": { "type": "string" }, "eventTriggerDateTime": { "type": "string", "format": "date-time" }, "eventQueries": { "type": "array", "items": { "type": "object", "properties": { "queryType": { "type": "string" }, "query": { "type": "string" } } } }, "retentionEventType": { "$ref": "#/components/schemas/RetentionEventType" }, "eventStatus": { "type": "object", "properties": { "error": { "type": "object", "properties": { "code": { "type": "string" }, "message": { "type": "string" } } }, "status": { "type": "string", "enum": [ "pending", "error", "success", "unknownFutureValue" ] } } }, "createdDateTime": { "type": "string", "format": "date-time", "readOnly": true }, "lastModifiedDateTime": { "type": "string", "format": "date-time", "readOnly": true }, "createdBy": { "$ref": "#/components/schemas/IdentitySet" }, "lastModifiedBy": { "$ref": "#/components/schemas/IdentitySet" } } }