const inputData = id: 1, username: "dev_guru", email: "guru@example.com", tags: ["code", "design"] ;

Sienna is a schema declaration and validation library. It allows you to define the shape of your data and validate JavaScript objects against that shape. It is similar to Zod or Joi but focuses on being lightweight and having zero dependencies.

If you are a Ruby developer, you might be looking for this.

import s, Infer from 'sienna';

$ bundle install