"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.exchangeUpdateSchema=exports.baseExchangeSchema=exports.exchangeSchema=void 0;const schema_1=require("@b/utils/schema"),id=(0,schema_1.baseStringSchema)("ID of the exchange"),name=(0,schema_1.baseStringSchema)("Name of the exchange"),title=(0,schema_1.baseStringSchema)("Title of the exchange"),status=(0,schema_1.baseBooleanSchema)("Operational status of the exchange"),username=(0,schema_1.baseStringSchema)("Associated username",191,0,!0),licenseStatus=(0,schema_1.baseBooleanSchema)("License status of the exchange"),version=(0,schema_1.baseStringSchema)("Version of the exchange software",191,0,!0),productId=(0,schema_1.baseStringSchema)("Product ID associated with the exchange",191,0,!0),type=(0,schema_1.baseStringSchema)("Type of exchange (e.g., spot, futures)",191,0,!0),icon=(0,schema_1.baseStringSchema)("URL to the exchange's icon",1e3,0,!0),proxyUrl=(0,schema_1.baseStringSchema)("Proxy URL for exchange API requests (e.g., http://user:pass@host:port or socks5://host:port)",500,0,!0);exports.exchangeSchema={id:id,name:name,title:title,status:status,username:username,licenseStatus:licenseStatus,version:version,productId:productId,type:type,icon:icon,proxyUrl:proxyUrl};exports.baseExchangeSchema={id:id,name:name,title:title,status:status,username:username,licenseStatus:licenseStatus,version:version,productId:productId,type:type,proxyUrl:proxyUrl};exports.exchangeUpdateSchema={type:"object",properties:{name:name,title:title,status:status,username:username,licenseStatus:licenseStatus,version:version,productId:productId,type:type,proxyUrl:proxyUrl},required:["name","title"]};