{ "$ref": "#/definitions/Credential", "definitions": { "Credential": { "type": "object", "properties": { "crypto": { "type": "object", "properties": { "cipher": { "type": "string" }, "cipherparams": { "type": "object" }, "ciphertext": { "type": "string" }, "kdf": { "type": "string" }, "kdfparams": { "type": "object" }, "mac": { "type": "string" } }, "required": [ "cipher", "cipherparams", "ciphertext", "kdf", "kdfparams", "mac" ] } }, "required": ["crypto"] } } }