"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.categoryStoreSchema=exports.categoryUpdateSchema=exports.baseCategorySchema=exports.categorySchema=void 0;const schema_1=require("@b/utils/schema"),id=(0,schema_1.baseStringSchema)("ID of the category"),name=(0,schema_1.baseStringSchema)("Name of the category"),slug=(0,schema_1.baseStringSchema)("URL-friendly identifier (slug) for the category",255),image=(0,schema_1.baseStringSchema)("Image URL of the category",1e3,0,!0),description=(0,schema_1.baseStringSchema)("Description of the category",1e3,0,!0),createdAt=(0,schema_1.baseDateTimeSchema)("Creation date of the category",!0),updatedAt=(0,schema_1.baseDateTimeSchema)("Last update date of the category",!0),deletedAt=(0,schema_1.baseDateTimeSchema)("Deletion date of the category",!0);exports.categorySchema={id:id,name:name,slug:slug,image:image,description:description,createdAt:createdAt,updatedAt:updatedAt,deletedAt:deletedAt};exports.baseCategorySchema={id:id,name:name,slug:slug,image:image,description:description};exports.categoryUpdateSchema={type:"object",properties:{name:name,slug:slug,image:image,description:description},required:["name","slug"]};exports.categoryStoreSchema={description:"Category created or updated successfully",content:{"application/json":{schema:{type:"object",properties:exports.categorySchema}}}};