E20 Contrato inválido
- Constante
E_CONTRACT- Especificación
- §10
- Modo tolerante
- Se detecta al cargar el contrato
El contract.json no cumple la norma: falta el prefijo, hay nombres duplicados, un tipo desconocido, un separador de lista no permitido… Se detecta al cargar el contrato, no al leer documentos.
Cómo verlo
En el playground, pestaña «Editor y validador», el botón «Inyectar 3 errores» provoca E04, E05, E08 y E09 sobre el ejemplo cargado.
Desde la línea de comandos, mini diagnose archivo.mini imprime un informe JSON con todos los errores y las líneas a regenerar.
E20 Invalid contract
- Constant
E_CONTRACT- Specification
- §10
- Lenient mode
- Detected when loading the contract
The contract.json violates the norm: missing prefix, duplicate names, unknown type, disallowed list separator… It is detected when loading the contract, not when reading documents.
How to see it
In the playground, “Editor & validator” tab, the “Inject 3 errors” button triggers E04, E05, E08 and E09 on the loaded example.
From the command line, mini diagnose archivo.mini prints a JSON report with every error and the lines to regenerate.