You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import * as Joi from 'joi';
|
|
|
|
const transactionBodySchema = Joi.object({
|
|
date: Joi.date().required(),
|
|
amount: Joi.number().required(),
|
|
currency: Joi.string().length(3).required(),
|
|
client_id: Joi.number().required(),
|
|
});
|
|
|
|
export { transactionBodySchema };
|
|
|