Adds a uuid format to Ajv.
npm i --save @socketkit/ajv-base64importAjvfrom'ajv'importbase64from'@socketkit/ajv-base64'constajv=newAjv()base64(ajv)When defining your JSON schema, use the format keyword with ther value set to base64. For example
{
"type": "object",
"properties": {
"field_name": {
"type": "string",
"format": "base64"
}
}
}