diff --git a/schemas/minecraftservices/minecraft/profile/skins.js b/schemas/minecraftservices/minecraft/profile/skins.js deleted file mode 100644 index 29c99d7..0000000 --- a/schemas/minecraftservices/minecraft/profile/skins.js +++ /dev/null @@ -1,27 +0,0 @@ -const z = require("zod") - -module.exports = { - POST: { - headers: z.object({ - "content-type": z.string() - .regex(/application\/json|multipart\/form-data/i, { - message: "Content-Type must be application/json or multipart/form-data" - }), - "authorization": z.string().min(1, { message: "Authorization header is required." }) - }), - body: z.union([ - z.object({ - variant: z.enum(["classic", "slim"]), - url: z.string().url() - }), - z.object({ - variant: z.enum(["classic", "slim"]).optional(), - }).passthrough() - ]), - error: { - code: 400, - message: "Invalid skin data, URL or variant.", - error: "IllegalArgumentException" - } - } -} \ No newline at end of file