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 mini-format y ejecuta mini. El asistente te pide un archivo con tus datos o te ayuda a definir los campos.Install mini-format and run mini. The wizard asks for a data file or helps you define fields.
mini build mis-datos.json --prefix app --out .mini
contract.json: reglas de tus datos.contract.json: rules for your data.prompt.es.md: instrucciones para tu IA.prompt.en.md: instructions for your AI.parser.py: convierte entre JSON y tu .mini.parser.py: converts between JSON and your .mini.validator.py y repair.py: comprueban y reparan los casos seguros.validator.py and repair.py: check and repair safe cases.GUIA.md: los pasos para integrarlo.GUIA.md: steps to integrate it.En Python puedes usar el toolkit generado. Si trabajas con JavaScript o TypeScript, consulta cómo definir y cargar tu contrato con la biblioteca del perfil base.In Python you can use the generated toolkit. For JavaScript or TypeScript, see how to define and load your contract with the base-profile library.
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.