04 · Ahora, tus datos04 · Now, your data
Reúne muestras representativas de lo que necesitas: campos opcionales, listas, objetos y casos habituales. El toolkit se genera para esa estructura. Cuando tus datos cambien, lo vuelves a construir.Gather representative samples of what you need: optional fields, lists, objects and typical cases. The toolkit is generated for that structure. When your data changes, build it again.
Instala el paquete Python y abre una terminal en tu proyecto. Ejecuta:Install the Python package and open a terminal in your project. Run:
mini setupcontract.json → las reglas de tus datos.contract.json → the rules for your data.prompt.es.md → instrucciones para que tu IA responda en .mini.prompt.en.md → instructions for your AI to reply in .mini.parser.py → convierte entre tus datos JSON y .mini.parser.py → converts between your JSON data and .mini.validator.py → comprueba los valores y avisa de los errores.validator.py → checks values and reports errors.repair.py → corrige los casos seguros sin inventar datos.repair.py → fixes safe cases without inventing data.GUIA.md → te indica qué hacer después.GUIA.md → tells you what to do next.El asistente usa el mismo generador que mini build. El toolkit que genera es Python. Si trabajas con JavaScript o TypeScript, consulta la biblioteca del perfil base en la documentación.The wizard uses the same generator as mini build. Its generated toolkit is Python. For JavaScript or TypeScript, see the base-profile library in the documentation.
Pulsa cada parte para saber qué hace.Select each part to see what it does.
mini build --prefix --out mis-datos.json es tu archivo de muestra. mini aprende los campos y tipos de tus datos.mis-datos.json is your sample file. mini infers the fields and types of your data.
Son ejemplos de dominios concretos para estudiar reglas, campos y extensiones. Puedes crear y usar tu propio .mini sin descargarlos. Los paquetes Python y Node incluyen la biblioteca; las familias se descargan por separado.They are examples of specific domains for studying rules, fields and extensions. You can create and use your own .mini without downloading them. Python and Node packages include the library; sample families are downloaded separately.