"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.tagStoreSchema=exports.tagUpdateSchema=exports.baseTagSchema=exports.tagSchema=void 0;const schema_1=require("@b/utils/schema"),id=(0,schema_1.baseStringSchema)("ID of the tag"),name=(0,schema_1.baseStringSchema)("Name of the tag"),slug=(0,schema_1.baseStringSchema)("URL-friendly identifier (slug) for the tag",255),createdAt=(0,schema_1.baseDateTimeSchema)("Creation date of the tag",!0),updatedAt=(0,schema_1.baseDateTimeSchema)("Last update date of the tag",!0),deletedAt=(0,schema_1.baseDateTimeSchema)("Deletion date of the tag",!0);exports.tagSchema={id:id,name:name,slug:slug,createdAt:createdAt,updatedAt:updatedAt,deletedAt:deletedAt};exports.baseTagSchema={id:id,name:name,slug:slug};exports.tagUpdateSchema={type:"object",properties:{name:name,slug:slug},required:["name","slug"]};exports.tagStoreSchema={description:"Tag created or updated successfully",content:{"application/json":{schema:{type:"object",properties:exports.tagSchema}}}};