{
    "type": "collection",
    "name": "test",
    "idIndex": {
        "ns": "test.test",
        "name": "_id_",
        "key": {
            "_id": {
                "$numberInt": "1"
            }
        },
        "v": {
            "$numberInt": "2"
        }
    },
    "options": {
        "validator": {
            "$jsonSchema": {
                "properties": {
                    "ssn": {
                        "encrypt": {
                            "keyId": {
                                "$binary": {
                                    "base64": "YWFhYWFhYWFhYWFhYWFhYQ==",
                                    "subType": "04"
                                }
                            },
                            "type": "string",
                            "algorithm": "AEAD_AES_CBC_HMAC_SHA512-Deterministic"
                        }
                    }
                },
                "bsonType": "object"
            }
        }
    }
}