{ "properties": { "ssn": { "encrypt": { "keyId": { "$binary": "YWFhYWFhYWFhYWFhYWFhYQ==", "$type": "04" }, "type": "string", "algorithm": "AEAD_AES_CBC_HMAC_SHA512-Deterministic" } } }, "bsonType": "object" }