{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/EventGatewayEncryptConfig", "title": "EventGatewayEncryptConfig", "description": "The configuration of the encrypt policy.", "type": "object", "properties": { "failure_mode": { "$ref": "#/components/schemas/EncryptionFailureMode" }, "part_of_record": { "description": "Describes the parts of a record to encrypt.", "type": "array", "items": { "$ref": "#/components/schemas/EncryptionRecordPart" }, "minItems": 1 }, "encryption_key": { "$ref": "#/components/schemas/EncryptionKey" } }, "required": [ "failure_mode", "part_of_record", "encryption_key" ] }