import Joi from 'joi';

/** Configuration for a given rate card */
export interface RateCard {
  /** Externally facing id of the rate card. */
  Id: string;
  /** Currency of the rate card. This uses the three-digit currency code format. */
  Currency: string;
}

export const RateCardSchema = Joi.object({
  Id: Joi.string().required(),
  Currency: Joi.string().required().length(3),
});
