"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.fiatCurrencyStoreSchema=exports.fiatCurrencyUpdateSchema=exports.baseFiatCurrencySchema=void 0;const schema_1=require("@b/utils/schema"),id=(0,schema_1.baseStringSchema)("ID of the created currency"),name=(0,schema_1.baseStringSchema)("Name of the created currency",100),symbol=(0,schema_1.baseStringSchema)("Symbol of the created currency",10),precision=(0,schema_1.baseNumberSchema)("Precision of the created currency values"),price=(0,schema_1.baseNumberSchema)("Current price of the created currency",!0),status=(0,schema_1.baseBooleanSchema)("Status of the created currency");exports.baseFiatCurrencySchema={id:id,name:name,symbol:symbol,precision:precision,price:price,status:status};exports.fiatCurrencyUpdateSchema={type:"object",properties:{price:{...price,minimum:0}},required:["price"]};exports.fiatCurrencyStoreSchema={description:"Currency created successfully",content:{"application/json":{schema:{type:"object",properties:exports.baseFiatCurrencySchema}}}};